tribe_events_list shortcode customizations

Home Forums Calendar Products Events Calendar PRO tribe_events_list shortcode customizations

Viewing 11 posts - 16 through 26 (of 26 total)
  • Author
    Posts
  • #988752
    Ian
    Participant

    Not to worry Geoff! Following some baffled wandering like a scout with the wrong orienteering map, I am now getting back on track. With the correct function for Pro to show event categories these are now being displayed.

    Now for dividers and some formatting:
    annotated event

    Any pointers from the appropriate map for the terrain?

    #988876
    Geoff
    Member

    Hey Ian,

    Let’s try this…

    Category

    Add this to your single-event.php file in place of the current category function:

    [php]
    <div class="list-widget-category">
    <?php echo tribe_get_event_categories() ?>
    </div>
    [/php]

    …then, add this to your stylesheet:

    .list-widget-category div {
    display: none;
    }

    You can style the text and list of categories in the CSS from there to get the format you’re looking for. 🙂

    Remove Date

    Delete this from the single-event.php template:

    [php]
    <div class="duration">
    <?php echo tribe_events_event_schedule_details(); ?>
    </div>
    [/php]

    Dividers

    Use the same snippet you found in the other forum thread and place it in your functions.php file. Then override the /pro/widgets/list-widget.php template (like you did with single-event.php) and drop this in before the single-event.php template is called:

    <?php club_tribe_events_list_the_date_headers() ?>

    I hope this helps! I’m afraid we’re fairly limited in how much we can directly support customizations, but I do think this will get you a very good running head start. 🙂

    Cheers!
    Geoff

    #989122
    Ian
    Participant

    Excellent Geoff – I have upgraded to the 3.11 and applied all changes to that base and it works a treat!
    formatted

    In combination with a conditional test I have written which only displays the category when on the page listing all event categories I think I pretty much have what I need in terms of the list display now (though it would be nice to keep just the event times in view).

    What would also be nice is to make the ‘View More…’ link know if it is being displayed on a list which is filtered to a category and carry that through to the full events page. E.g if the event list being displayed is ‘highgategallery’ make the link go to /events/category/highgategallery/ instead of just /events/.

    • This reply was modified 10 years, 8 months ago by Ian. Reason: event times reference added
    #989750
    Nico
    Member

    Hi Ian,

    Just wanted to let you know that Geoff was out today, that’s why the reply for this is a bit delayed. He will surely be back to you tomorrow 🙂

    Best,
    Nico

    #989918
    Geoff
    Member

    Hey Ian, sorry for being out yesterday.

    That would be a nice feature for sure! I’m afraid that level of customization is outside what we can support here in a thread like this, but our documentation offers a ton of information on available functions that would help you be able to pull that off.

    Sorry I don’t have a concrete answer for you on this one but please let me know if you have any other questions about how configuration of the calendar’s widgets and I’d be happy to answer as best I can. 🙂

    Cheers,
    Geoff

    #989997
    Ian
    Participant

    Hi Geoff

    Thanks for getting back to me. I have probably done all the custom coding I need with the conditional test in all honesty.

    I thought I saw the ‘View More…’ link going to ‘all’ categories even when a category is set listed as a bug elsewhere in the forum and due to be fixed in a forthcoming release?

    #990152
    Geoff
    Member

    Good question! I tried digging around a bit and couldn’t find that exact issue on the forums or in our system. If you point me to what you saw, I might be able to confirm that for you.

    Thanks!
    Geoff

    #990209
    Ian
    Participant

    This is the thread I noticed re [tribe_events_list]

    #990563
    Geoff
    Member

    Thanks! I do see that ticket logged in our system, though it hasn’t been slotted for a specific release just yet.

    I’ve noted this thread in the ticket as well, but please do keep your eyes open on the other thread since we will likely follow up directly there when we have more progress to share. 🙂

    Cheers!
    Geoff

    #995050
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

    #1039262
    Geoff
    Member

    Hey Ian,

    Just jumping in to let you now that the patch for this issue is included in 4.0.1 and it just released today. Keep your eyes open for the update and please do let us know if any other issues pop up and we’d be happy to help. 🙂

    Cheers!
    Geoff

Viewing 11 posts - 16 through 26 (of 26 total)
  • The topic ‘tribe_events_list shortcode customizations’ is closed to new replies.