Customize calendar view content

Home Forums Calendar Products Events Calendar PRO Customize calendar view content

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1055600
    Marina
    Participant

    Hi,

    I need to customize calendar view content to only have event title, location, dates and a detail button.
    i read the Themer’s Guide and created a folder structure [my theme]/tribe-events/modules/meta
    I added a blank details.php file to the above folder to see if this is the correct file expecting that no data would be displayed for a single event on the list view. However, I keep getting all data displayed, it makes me think that the file override did not work.

    What am I doing wrong? Changes to the loop.php in the list folder got picked up, but not the modules/meta folder.
    Also, can you point me in the right direction on how to remove all the extra data from the List view for each single event and display only the following:

    1. Single event title
    2. Location (just the city)
    3. Dates (just the date without time)
    4. Details button (a link to the event detail page).

    Thank you

    #1055643
    Cliff
    Member

    Hi. Thanks for your question.

    I would recommend putting something in your custom details.php file — like echo "Marina details.php Test"; — to help you determineĀ if the file is actually being loaded (same suggestion for other files).

    FYI: The top of each template file — e.g. /wp-content/plugins/the-events-calendar/src/views/modules/meta/details.php — typically contains a comment about the format for template overrides, like the following for the file mentioned above:

    Override this template in your own theme by creating a file at:
    [your-theme]/tribe-events/modules/meta/details.php

    So that can help you make sure you’re placing your override files in the correct locations.

    Please review this information and let me know if you have any follow-up questions. I’ll be happy to help.

    #1076764
    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 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Customize calendar view content’ is closed to new replies.