Posted: January 26, 2015 at 5:29 pm
Hi The client has paid events but also some where people can just turn up without formal registration. In those events where the ticket selector is set to ‘no’ it would be good if the ‘Register’ link in the list view template (the purchased add-on) could be changed to something like ‘more info’. Is this possible? It will avoid confusion with people clicking on Register when there’s nothing to register for. |
|
|
Hi, Thanks for the feedback. That’s a great idea and it is possible, in fact it requires only one line of code. You can build this into a custom template. Take this file here: https://gist.github.com/Apina/4581340478011d6aaccd and copy it to your sites hosting to wp-content/uploads/espresso/templates Then change your shortcode to: [ESPRESSO_EVENTS_TABLE_TEMPLATE template_file=espresso-events-table-modified.template.php ] This will change it so any event with the ticket selector turned off will show as “View” rather than register. |
Hi Dean Thanks for this. I haven’t got an expresso folder under the path you specified, shall I just go ahead and create it? The existing templates for EE are in the plugins folder. |
|
|
Hi, Strange, EE should create that folder on activation, but yeah if the folder structure doesn’t exist just create it (make sure you are in the uploads section). |
I haven’t entered the serial number yet as the domain is being changed slightly when it’s due to go live – maybe that has something to do with it? I have other folders in there (woocomm and media etc) |
|
Hi Dean All done – seems to be working fine http://screencast.com/t/D6lFHYY55mR Quick question, how can I style the category selector and search so they don’t sit on top of each other? I need them to look a bit neater: http://screencast.com/t/7wFjxgN3d Thanks |
|
|
Hi, Try p.category-filter { That CSS can be added to your themes style.css, though in order to preserve the CSS through theme updates we recommend adding it to either: a child themes style.css, your themes CSS options if it has any, or a plugin such as My Custom CSS. |
thanks that fixed the arrangement slightly – the issue is that the text for category sits on top of the dropdown and the text ‘search’ to the left which causes it to look misaligned except at 900px wide where the search text jumps over the input field. I know this client will complain about the layout, they have been using DW for 10 years lol |
|
Hi, that is handled by this: You could add a line break between the Search term and the input field. That would shift the input field down. — |
|
Hi How can I hide the search field that appears in the list template entirely? Initially we tried to line it up but now I want to remove it entirely. I can’t seem to get the right selector to do this. Thanks |
|
You can do this with a shortcode parameter. Add table_search=false to the shortcode, for example: [ESPRESSO_EVENTS_TABLE_TEMPLATE table_search=false] That will remove the search completely. |
|
I am using this template shortcode: [ESPRESSO_EVENTS_TABLE_TEMPLATE template_file=espresso-events-table-modified.template.php ] – this allows the events with no ticket selector to show ‘view’ rather than register. Can this be adjusted to hide the search? Thanks |
|
Yeah, you can add another parameter: [ESPRESSO_EVENTS_TABLE_TEMPLATE template_file=espresso-events-table-modified.template.php table_search=false ] Should work. |
|
Thanks that worked (after removing the inverted commas) |
|
Great 🙂 I’ve remove them from my replay, the forum adds styles that can cause problems. |
|
Hi, quick question, on the category selector that remains on the list view template how can I change the order of those categories? (client request…) |
|
The support post ‘List view template shows "register" for events that have no registration’ 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.