Posted: March 14, 2014 at 7:33 am
|
Hello all and thank you for all of the help so far. I have searched the forums and found little about customizing the text itself for events on the Calendar. I know how to style the calendar, but I want to chance the event fields themselves. On the Calendar view I want each even to display the: I know I will probably have to code this directly into the php file and that updates may wipe out my work, but I would really like to get this accomplished. Any guidance would be appreciated. Thank you. |
Hi Clair, If you are going to add the extra info to the Tooltip, the place to add it is in the block of code in espresso-calendar.php starting around line 697. If the venue manager is enabled, it will required writing a custom query to access the the venue info from the database, which would be the case to get the staff name too. You can look in the main Event Espresso plugin in the shortcodes.php function file and copy and adapt some of the code that is used to query the staff and venue info for the [ESPRESSO_STAFF] and [ESPRESSO_VENUE] shortcodes. Hope that helps get you started in the right direction. |
|
|
Hi Josh, Very helpful information. This is a good place to start and I will work on it this week. Thank you. |
You’re welcome Clair. |
|
|
Hi Josh, So I have decided that I just want to add the Staff name to the Calendar and not the Venue. I see that I need to add some code around line 615 (was able to edit the time element to what I wanted) to add the staff members name to the calendar and then at 707 or so for the tooltip. I am not confident enough with php to write my own code so what I need some help with is what to ad here. Here is an image I put together of what I want it to look like compared to what it looks like now. http://testintensityclub.com/wordpress1/what-i-want-vs-what-it-is-now/ Thank you for your help. Currently I am using trial and error to see if I can get anything to add. My goal is to have this done today so any more guidance would be appreciated. |
Hi Clair, It may be best to contact one of the developers on the list on our recommended developer page and contract with one of them to develop the calendar customizations to your specifications: |
|
The support post ‘Custom Event on Calendar View’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.