Forum Replies Created
-
AuthorPosts
-
January 21, 2015 at 8:42 am in reply to: Adding css or shortcode to change list view of events calendar pro #935732
Barry
MemberNo worries – though it’s often best to share code using a service like Gist or Pastebin and simply link to it from posts here in the forum π
To answer your question, it’s totally up to you if you want to use shortcodes or not – but you may find you need to pass them through do_shortcode() or they might simply be printed directly.
Does that help?
Barry
MemberYes – you could add it to your theme’s functions.php file π
Barry
MemberMy pleasure.
I’ll go ahead and close this topicin that case but of course please do feel free to create new topics for any other issues that crop up as you use the plugin more π
Thanks again!
January 21, 2015 at 7:58 am in reply to: You tried going to / but the page no longer exists…. Why do I see this on my h #935665Barry
MemberDon’t give up!
Thanks also for posting the information that you did.
After looking through that it appears that, somehow, week view is set as your default view but only list view is enabled. If that is so, I’m not surprised it is unable to display anything!
Regardless of how that came about, can you now login and visit Events → Settings → Display – scroll down to the section marked enable event views and ensure you have selected all the views that you wish to use (at least one must be selected).
Then, scroll down a little further to the default view setting and ensure it is set to one of the enabled views. Remember to save your changes!
Does that rectify things?
Barry
MemberOur pleasure.
I also reported this as a bug on our internal issue tracker – although it seems to clear up as soon as events are added I can imagine it causing confusion for others when getting started, too.
Thanks again for reporting this and I’ll go ahead and close out this topic – of course if anything else crops up please don’t hesitate to create new topics as needed and one of the team will be only too happy to help π
January 20, 2015 at 7:46 pm in reply to: You tried going to / but the page no longer exists…. Why do I see this on my h #935472Barry
MemberI’m sorry you are experiencing difficulties.
If Event Rocket has been deactivated (or even if it hasn’t) I’d recommend going through the following steps:
- Please login to your site and visit the SettingsΒ β Reading admin screen
- The first section of this screen contains the Front Page Display settings
- If you wish to restore a normal front page, please either:
- Choose to show your latest posts
- Or, ensure the front page and posts page settings are accurate
- Ensure you save your changes after reviewing the above!
Does that help? If not, can you let me know how the above settings are configured?
Please also note that while you are more than welcome to use any plugin you choose, including Event Rocket, we cannot support third party plugins here on the Events Calendar PRO forums.
Barry
MemberAwesome, glad to hear it π
I’ll go ahead and close out this topic but if we can help with anything else please don’t hesitate to post new topics as needed and one of the team will be only too happy to assist.
Last but not least, if you have a moment to spare we’d love to hear your thoughts on The Events Calendar across on our plugin review page.
Thanks again!
January 20, 2015 at 3:31 pm in reply to: Adding css or shortcode to change list view of events calendar pro #935416Barry
MemberThe add HTML before/after event content fields do indeed add whatever you provide to every single event view π
However, what you want is definitely possible. There are a at least a couple of ways you might go about it – check out these related forum posts to explore this futher:
- theeventscalendar.com/support/forums/topic/add-html-before-event-content-on-photo-view-page-only
- theeventscalendar.com/support/forums/topic/featureheader-image-in-month-view-and-hidingcustomising-meta-area
Let me know how you get on/if you have further questions about this π
I added this css to change the Month size on list view but canβt find the class to change the body text color on that same link viewβ¦how do I search for classes in order to make changes through css?
The best way to search for CSS classes is to use your browser’s built-in developer tools (which most modern browsers provide). Often they will let you test out CSS changes, too. To learn more about this, please refer to your browser documentation.
Barry
MemberHi!
Have you added any events yet? If not, please try adding a few and see if things correct themselves.
There could definitely be a quirk here but I suspect it might be one that’s easily resolved once real content is added π
Let me know how you get on!
Barry
MemberHi screenrage,
To only remove that link from list view, you could use a snippet like this one (you might add it to your theme’s functions.php file, for instance):
add_filter( 'tribe_events_list_show_ical_link', 'list_view_remove_ical_link' ); function list_view_remove_ical_link( $show_remove ) { if ( tribe_is_list_view() ) return false; return $show_remove; }To remove it from all views you could do this instead:
add_filter( 'tribe_events_list_show_ical_link', '__return_false' );I would like to completely disable that functionality not just simply remove the button.
To actually prevent an iCal feed from being supplied even if a user somehow crafts the correct URL manually, you could also add a snippet like this one:
if ( did_action( 'plugins_loaded' ) ) remove_ical_functionality(); else add_action( 'plugins_loaded', 'remove_ical_functionality', 200 ); function remove_ical_functionality() { remove_action( 'tribe_tec_template_chooser', array( 'TribeiCal', 'do_ical_template' ) ); }Does that help?
Barry
MemberHi Rolf,
It’s difficult to say since your site is in maintenace mode and so I can’t see what’s happening – plus, I don’t know what you actually added to your custom stylesheet.
The first thing is to ensure you are targetting the element correctly. This won’t work, for example:
tribe-events-single-event-title summary entry-title { color: #fff }It would need to be:
.tribe-events-single-event-title.summary.entry-title { color: #fff }If that is pretty much what you have and it still isn’t working my guess would be that another more specific rule is taking precedence, so try tightening it up to something like this:
#tribe-events-content h2.tribe-events-single-event-title.summary.entry-title { color: #fff }If even that fails, I’d really need to see a live example to help further π
January 20, 2015 at 1:59 pm in reply to: How to add an excerpt of the event description in the event list widget. #935384Barry
MemberHi!
Essentially that’s still the same process, however the correct template path is now:
pro/widgets/modules/single-event.php
(And that is true whether you customize the events listed by the Advanced Events List widget or by the calendar widget π )
…Does that help?
January 20, 2015 at 1:54 pm in reply to: Permalink with Starting Date injected automatically #935376Barry
MemberThanks for sharing, Jacques and no problem about posting it in the EDD Tickets forum – I went ahead and moved it across to our PRO forum (since we keep general events stuff in there).
Cheers!
Barry
MemberHi Brandon,
That definitely makes sense but is not presently part of the Eventbrite Tickets feature set.
You are more than welcome to post this on our UserVoice channel, though, which will ensure it is evaluated for possible inclusion in a future release (you might even find a suitable existing request which you can up-vote to add your support).
This sort of functionality could potentially also be implemented with some custom development work and something like this – whether added as a custom plugin or to your theme’s functions.php file – might sit at the heart of such a customization:
add_action( 'plugins_loaded', 'inhibit_communication_with_eventbrite', 100 ); function inhibit_communication_with_eventbrite() { // Do nothing if Eventbrite Tickets is not activated if ( ! class_exists( 'Event_Tickets_PRO' ) ) return; // Remove update callback $callback = array( Event_Tickets_PRO::instance(), 'eventbrite_details' ); remove_action( 'tribe_events_update_meta', $callback, 20 ); }However, that’s only a starting point. To apply this on an event-by-event basis and make it easy to turn on and off would require additional work.
Thanks for getting in touch and please do consider posting a feature request π
Barry
MemberHi mkrasmussen,
I tried paying the code below in each event as well as in the HTML before/after in event settings display. And it does not work. This is the code my theme support told me I needed.
So PHP code in particular cannot simply be added to the HTML fields or to the event description (or, rather, you can – but it won’t do anything).
In this case you would need to either override and customize our templates (see our Themer’s Guide for more on this topic!) or else you could make use of an appropriate action hook such as tribe_events_before_html and so avoid the need for overriding and customizing a template.
Often people find template overrides the easiest approach here, so that could be worth a try first of all π
-
AuthorPosts
