Home › Forums › Calendar Products › Events Calendar PRO › How do I edit the Events page?
- This topic has 7 replies, 2 voices, and was last updated 10 years, 1 month ago by
George.
-
AuthorPosts
-
March 2, 2016 at 12:25 pm #1084533
fifteen15studios
ParticipantHi 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!
BrendanMarch 2, 2016 at 4:21 pm #1084620George
ParticipantHey 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!
GeorgeMarch 3, 2016 at 7:01 am #1084791fifteen15studios
ParticipantThanks, 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!
March 3, 2016 at 7:03 am #1084792fifteen15studios
ParticipantOH! 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!
BrendanMarch 3, 2016 at 9:10 am #1084882fifteen15studios
ParticipantActually… 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?
March 3, 2016 at 10:28 am #1084926George
ParticipantHey 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,
GeorgeMarch 7, 2016 at 9:30 am #1085908fifteen15studios
ParticipantAAH! It’s in the first-level files. Got it. Thanks!
March 7, 2016 at 2:31 pm #1086011George
ParticipantGlad to help! 🙂
— George
-
AuthorPosts
- The topic ‘How do I edit the Events page?’ is closed to new replies.
