Extra Day/Weekday display in Pro Event List Widget

Home Forums Calendar Products Events Calendar PRO Extra Day/Weekday display in Pro Event List Widget

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1019676
    Marc
    Participant

    After installing the Event Pro-Version the Event List Widget displays in addition the Weekday and Day of the events.
    In our case this does not make any sense because we only display few events per year and you cannot see to which month the day belongs (apart from the additional date display in text).

    How is it possible either
    – not to display day/weekday – like the basis version does
    – to display also the month (and year) in the extra display on the left part of the widget
    – to have the month/year displayed in the widget like in the normal list page view
    ?

    Thanks and Regards
    Marc

    #1019963
    Nico
    Member

    Howdy Marc,

    Welcome to our support forums and thanks for reaching out to us. I’ll help you out configuring this…

    To achieve the above listed customizations I guess the best option to create a template override of the widget view. I’ll outline the steps below but be sure to take a look at the Themer’s guide as well:

    – Create the following folder structure ‘tribe-events/pro/widgets/modules/’ inside your theme folder ‘wp-content/themes/your_theme/’.
    – Make a copy of the file ‘single-event.php’ located at ‘wp-content/plugins/events-calendar-pro/src/views/pro/widgets/modules/’.
    – Drop the copied file into the ‘tribe-events/pro/widgets/modules/’ folder you just created in your theme.
    – Edit the copy of ‘single-event.php’ in your theme:

    not to display day/weekday – like the basis version does

    Just delete lines 22 to 27 of the ‘single-event.php’ file.

    I’m not sure about the other changes you mention, Can you send a screenshot or explain a bit more about those?

    Best,
    Nico

    #1020012
    Marc
    Participant

    that is exactly what I wanted – thanks a lot

    the other suggestion is only nice to have: the possibility to display the month year in the event list widget
    just like in the list page:

    Nov 2015
    Event 1
    Event 2
    Dec 2015
    Event 3
    Event 4
    ..
    and so on

    Regards from Germany
    Marc

    #1020299
    Nico
    Member

    Hey Marc,

    Glad to hear you could find what you need there!

    Regarding the month heading I guess that customization is out of the scope we can provide here but that’s doable for sure with a bit of custom code. You can create another template override of the main list widget view (the original file is located at wp-admin/plugins/events-calendar-pro/src/views/pro/widgets/list-view.php), and inside the loop make a check for the current event month and the actual month heading, if the are not the same then print out the header.

    Please let me know if there’s anything else I cna help you with here,
    Best,
    Nico

    #1075266
    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.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Extra Day/Weekday display in Pro Event List Widget’ is closed to new replies.