How do I edit the Events page?

Home Forums Calendar Products Events Calendar PRO How do I edit the Events page?

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1084533
    fifteen15studios
    Participant

    Hi Modern Tribe,

    This sounds like a really simple, silly question, but I cannot find an answer!

    How do I edit (meaning style, add text and tags to, and adjust the position of some of the components on) the main Events display page which shows only one event? When I click on an event, I’m taken to a page with all the details which I have no idea where to edit. I need to adjust some of the PHP, and I cannot find an answer anywhere online (yep, it’s been about 30-40 minutes so far).

    The page I’m referring to is [URL]/event/[Event-Name].

    Could you please give me some advice about how to approach this?

    Thank you!
    Brendan

    #1084620
    George
    Participant

    Hey Brendan,

    You should use the same approach that you and Geoff hashed out in this earlier conversation → https://theeventscalendar.com/support/forums/topic/changing-presentation-of-data-in-views/

    The single-event.php templates are the ones to look for! Loop.php is handy, too.

    Best of luck with your customizing!
    George

    #1084791
    fifteen15studios
    Participant

    Thanks, but that doesn’t really answer my question. I know about Geoff’s recommendation. I’ve modifies single-list.php beyond recognition! (Seriously, I did a lot to it.) But my question is more about where I would go to modify the display of the event on this particular page which describes one event? I can’t seem to find that code!

    #1084792
    fifteen15studios
    Participant

    OH! I got it! Nevermind! I found the file (after A LOT of searching). Ok, I see where this is.

    Here’s the confusion. There are a lot of files named single-events.php. I am looking in the specific views to modify it, like list and photo. Apparently there’s another single-events.php file OUTSIDE these specific views in the folder “views”. That’s the one I need to edit. That’s the one I need to edit to control the display of the specific events.

    Thanks!
    Brendan

    #1084882
    fifteen15studios
    Participant

    Actually… I’m still in need of assistance. Though I found the page where I can make these edits, I would like to change more, especially the information panel where we see Details, Organizer, Venue, Map, etc. I’m especially interested to know how to call that “Events Categories” function. Where would I find the code for this page?

    #1084926
    George
    Participant

    Hey Brendan,

    You can find Organizer-, Venue-, and Map-specific views inside the src/views folder of Events Calendar Pro instead of the src/views folder of The Events Calendar.

    For things like the categories section and such, these are in the src/views folder of The Events Calendar. They are in the folder here called /modules.

    You will have to take the reins on finding the rest of the files from here, but I have a recommendation—get a good text editor like Sublime Text if you don’t have one. These editors have “Find in folder” features, so if you wanted to find category-related things for example, you could right-click the “src/views” folder of all of our template files, search for “categories”, and then it will list all of the file locations where that word is used.

    There are excellent text editors out there, and many of them, so I would just recommend Googling for a good text editor that works with your operating system.

    Then Google for how to use the “Find in folder” features of that editor, and find template files on-the-fly 🙂

    It’s a faster process for you and will save much time.

    Best of luck with your customizing,
    George

    #1085908
    fifteen15studios
    Participant

    AAH! It’s in the first-level files. Got it. Thanks!

    #1086011
    George
    Participant

    Glad to help! 🙂

    — George

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘How do I edit the Events page?’ is closed to new replies.