Posted: October 29, 2016 at 10:16 am
|
Hi, We have customized the EE listing & details page by using the custom template. Please take a look: On the event details page, We want to customize the Ticket Selector as per our theme look & feel. Please let us know that what is the best way to customize the event selector. Specially the “Show Details” section. For example : Details appearing after clicking on “Show details”. Thanks, |
Hi Atharveda, The ticket details are output using the ticket selector template, its possible to load a custom version of the template however there is a lot of logic within the ticket selector so loading your own template means you will need to make sure you keep up to do with any changes we make within the default template in your own template. Because loading your own template you could hide some details using CSS, or there is also some options within: Event Espresso -> Events -> Templates -> Ticket Selector Template Settings That allows you to remove some sections. Can you let us know what it is your trying to change within the details section? |
|
|
Hi Tony, We are already showing the ticket name & price. So when user click the “Show Details +” we just want to show the ticket description if any & nothing else. if the ticket is sold out it should just show “Sold Out”. Because for the majority of the events here in India, There is no need to show the additional details. We want to control this on per event basis. For example, for some events, there might be the details/description available for the tickets & for other events it might not be available. So we want to control it per event basis. I think “Ticket Selector Template Settings” will apply on all the events. Is there some way to control it per event basis? Is there someway to show just the ticket description & hide everything else? Thanks, |
Currently you can not control this per event without some custom development.
You could hide the sections using some CSS, for example: .tckt-slctr-tkt-price-sctn, .tckt-slctr-tkt-sale-dates-sctn, .tckt-slctr-tkt-datetimes-sctn { display: none; } Will hide all of the other sections. Would that work? To give you an idea of the how complex the ticket selector template is you can take a look within:
The template location is filterable which mean you can load your own version of the template, it is also passed the EE_Event object meaning you could also change this depending on the event it needed (although it would likely be better to add the logic within the template). The filter that allows you to change the ticket selector template location is:
A developer can use that the above to add any additional details you need, note that we do not provide support for custom templates, if you use a custom template you will need to make sure it is kept up to date with any changes we make to the default template. |
|
|
Ok. Thanks Tony. I don’t think i will use custom template because that would be a challenge for us to keep up with your changes. So we would rather use CSS to hide the details that we don’t need. I understand the complexity of ticket selector but if we can show the ticket’s “Show Details” section in some tabular format with proper css that would be great. Because this is the only part that doesn’t fit very well with the modern wordpress event themes in terms of look & feel. Any future plan for this? Thanks, |
We simply can not integrate ‘well’ with all themes due to the amount of different themes available. We need to display the data in a way that fits in with most themes, many users do not use ‘Event’ based themes with EE so we can not focus development on any single theme type.
Not currently but I can create a ticket to discuss this further. Do you have any example we can use of how the data could be displayed? Or if you prefer you could open up a pull request with the suggested changes for the dev team to review. |
|
|
Thanks Tony. But to help you further..I will give you some designing samples as how we can better display them. I will soon share you the details. Consider them if that make sense to you.. 🙂 |
The support post ‘Ticket selector customization or better look & feel.’ 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.