Posted: August 19, 2016 at 7:25 am
|
Hi guys, I am quite familiar with your plugin and have used on a couple of sites now with little to no troubles, however the current site I am implementing it on has a different plan of how to utilise events. I have created a parent category with around 8 subcategories, I am aiming to create a page which displays a list of these sub-categories on the front end so that the user can then select a sub-category which will display a list of events, can you tell me if this is possible and how it can be implemented? Another question I have regarding some of the front end is moving the location of the add to card button? I would like to add a button to every table row next to the quantity select box? So that each ticket has it’s own add to card button. Could you let me know how this can be done? I have looked through some of the default template files and located these elements but just need some steering in how to get the end product I am looking for. With regards to these files, to edit these would i just create a duplicate like I would for others, e.g archive & single templates? Or is there another way to edit these? Currently using EE4. I am also trying to edit the default archive template file, but it is showing it is currently referncing index.php and not my custom archive-espresso_events.php. Any help would be greatly appreciated. |
Hi there,
This can be implemented by using the get_term_children() function in a page template.
I’m not sure that this can be done without breaking the add to cart functionality. If it can be done, it could be done by using the filter hooks inside /modules/ticket_selector/templates/ticket_selector_chart.template.php. If you look through the code in that file, you’ll see many filter hooks that allow for altering the standard display. |
|
|
Hi Josh, thanks for your help so far. Thanks again |
|
I have also noticed, that when adding the ticket selector to a ticket on the events listing page, it removes the view details button? Is there a way to keep the button, as there is more information I would like to display on the single event page. |
The snippet actually gets the event categories that are assigned to an event. It sounds like what you would do instead is use the get_term_children() and run a similar loop that outputs the $term->description for each of them.
It will help to know exactly how you’re adding a ticket selector to a ticket on the events listing page. I’m not sure what that even means. |
|
|
Hi Josh, In regards to the ticket selector, within the plugin settings under templates I am selecting yes for ‘display ticket selector’ for event list pages, however this now removes the ‘view details’ button that was next to each event before. I want to stop this removing the button as I would still like people to click through to the single event page. Thanks again for your help |
The view details button is actually part of the ticket selector, if you set the option to not display ticket selector within the event it just shows the View Details button, if you show the Ticket Selector it shows it in full. The user should still be able to click the event name name to view the full details of the event. |
|
The support post ‘EE Display List of Categories & other front end questions’ 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.