snorton

Forum Replies Created

Viewing 15 posts - 46 through 60 (of 96 total)
  • Author
    Posts
  • in reply to: htaccess redirect homepage to /events #77291
    snorton
    Participant

    RewriteEngine On
    RewriteRule ^$ /events [L]

    in reply to: Content is appearing in white on event details #76968
    snorton
    Participant

    Bethanyon36th, your body font is styled with the #fff color

    If you go edit your base.css file where the body font color is defined, add !important. You’ll see that the custom styles you’re applying (I’d assume from your theme’s admin page) are overriding the body font color defined in base.css

    Not an ECP problem, by the way, as it appears the only reason your font is not white on other pages is because of the add’l classes you have assigned to the targeted objects.

    in reply to: Out of Installs? #76964
    snorton
    Participant

    If you’re logged in, go to https://theeventscalendar.com/my-account/license-keys/ and disconnect the site URL listed there. Then go back to your ECP Settings on your website, remove the existing key, save, then add teh key again.

    I’m going out on a limb, but I bet this will resolve your problem.

    in reply to: Only a certain category shown on certain pages? #76948
    snorton
    Participant

    milauskas,
    I had a similar task and wanted to use the mini calendar for the function. Even though I was able to create a filter for the minicalendar to display only events that were in a specific category (as your example, “Parents” category on a Parents page (matching slugs)), I still had an issue with the list below the calendar displaying events from all categories and since I am on time constraints I decided to go the route of simply listing the events in a list.
    Here’s what I did:
    http://pastebin.com/Zg1BBLNT

    You’ll see this isn’t completely optimized and doesn’t address using the minicalendar, but it’s definitely a step in the right direction and provides a solution for you to build from.
    I’ve stripped it down to basics — I have more details to display but wanted to share for the sake of example.

    Another option is to register a sidebar for each individual page and place a new instance of the calendar widget with manually-set category filters.

    snorton
    Participant

    In your theme folder, create a directory named ‘tribe-events’ and within that an additional directory named ‘widgets.’ This is where you will want to place a copy of the file ‘list-widget.php’ (which can be found here: \wp-content\plugins\the-events-calendar\views\widgets\list-widget.php)

    The kind folks at Modern Tribe have made it super easy to customize the template files for all different views by following very similar steps as I’ve just outlined.

    From here, simply modify the list-widget.php file to display exactly what you want, how you want it.

    Here’s a very simply implementation of this:
    http://pastebin.com/kH48FUBf

    This will output the title and start date & time of the event in the list widget. You can format the tribe_get_start_date() to display without the time by simply changing that part to this:

    tribe_get_start_date(null,false)

    or, if you want to specify the date format completely:

    tribe_get_start_date(null, false, $format = ‘M d,y’) <– modify the format using standard php syntax

    You could also essentially filter the output of the entire string via your functions.php file with the tribe_event_format_date template tag (http://docs.tri.be/Events-Calendar/function-tribe_event_format_date.html).

    in reply to: Pass Page Title to ECP mini calendar widget as filter #76692
    snorton
    Participant

    I know what you’re saying – I apologize if what I said sounded pretentious even in the slightest. I will take your suggestion and continue this route as I’m fairly certain that I can take it from here.

    Thanks again, Barry.

    in reply to: Pass Page Title to ECP mini calendar widget as filter #76588
    snorton
    Participant

    I understand, and I frequent your tech docs for reference (very comprehensive) from time to time. I also understand you guys stay very busy with the many posts for support: you may see that I’ve provided several replies marked as answers for others when I’m awaiting a response. So I presume I should write a filter in my themes functions.php; maybe I can just get a nod of affirmation that I’m working in the right direction?

    function replace_mini_calendar_args() {
    $newargs = array([wp_query ]);
    return $newargs;
    }
    add_filter(‘tribe_events_get_mini_calendar_args’,’replace_mini_calendar_args’);

    in reply to: Is it possible to intermix event posts with regular posts? #76325
    snorton
    Participant

    Navigate to your ECP settings >> checkbox to “Include events in main blog loop”

    I’m not sure if you knew of this setting or if you are looking for a different solution, but as it stands this is an OTB feature 😉

    in reply to: Are there shortcodes in events calendar pro? #60702
    snorton
    Participant

    Can you go to edit the global content block and share a screenshot of how you have it configured?

    in reply to: Are there shortcodes in events calendar pro? #60600
    snorton
    Participant

    In the following example, I’ve utilized the WordPress the_widget function to call the mini calendar from the pro version. I also am changing the title tag of this calendar to an h5 tag, so thus the before_title and after_title values. All you have to do is add this to the editor in a new Global Content Block. Don’t forget to change the TYPE to PHP as that may be the root of your problem since it’s not working for you. If you’re wanting something more specific I might be able to help you with that.
    the_widget(‘TribeEventsMiniCalendarWidget’,null,’before_title=<h5>&after_title=</h5>’);

    in reply to: Events not showing unless I refresh the screen #59480
    snorton
    Participant

    My two cents:
    Greg – I use a theme from MySiteMyWay and I cannot reproduce that – but I did notice there are several quirks about how those themes work with this plugin. Elliot over there in their forum is very helpful with ‘fixing’ theme-related issues and even quite a bit of minor customization requests.

    in reply to: Rearrange different elements in single event page #59479
    snorton
    Participant

    1. Make a copy of single-event.php (found here: wp-content/plugins/the-events-calendar/views/)to wp-content/themes/[your theme]/tribe-events/ and you can completely override the default single event template.
    2. A few options here: You should be able to use the excerpt field from the event post to control the text in the Event List page. If you want to further limit the amount using a custom excerpt_length filter, you’ll want to add a function to your functions.php for that (see below):
    function custom_excerpt_length( $length ) {
    return 20; //or whatever number you want here
    }
    add_filter( ‘excerpt_length’, ‘custom_excerpt_length’, 999 );

    -or- you can add the <!–more–> quick tag in the content itself at the exact location you want to truncate the text.

    in reply to: Customize the display of the event meta #59477
    snorton
    Participant

    I’m not sure if there’s any one central location to determine all of the meta, but it’s all based on what you add into the post, so if you refer to docs.tri.be for each meta item you may want to display and then use conditional statements to display certain ways only if certain items need to be included then you should be able to cover all of your bases.
    I bet there’s a way to utilize the tribe_get_meta tag and specify an array of meta items you want to display instead of doing one at a time, I wonder if @rob or @leah can find this out for us?

    in reply to: Hover Balloons Show TOO Much Information #59359
    snorton
    Participant

    Use the Excerpt field to ‘hand-craft’ summaries of your event. The Excerpt will override the body content of the tooltip. Cheers.

    in reply to: Adding image to excerpt in Events List view #59038
    snorton
    Participant

    tmbond: have you tried setting a featured image for your event post? The list view will display the image, but only if you specify it as the featured image.

Viewing 15 posts - 46 through 60 (of 96 total)