Posted: May 7, 2016 at 3:34 pm
|
Hello! I’m running EE4 and have both the multiple registrations and the table view add-ons. The problem I’m running into is that after someone goes to the table view page (which is a page I created with the shortcode in it) and adds something to their cart, the pop-up window gives them several options. One of the options is “Return to Events List.” If the user clicks on this, instead of returning to the table view page, the user now is sent to the default Events List page, which is a list of events. How do I change this so the user always returns to my table view page that I’ve created and never sees the list view (which I don’t need them to have access to). Thanks! |
Hi there, The link used for the button is filtered which mean you can change it with a function such as the one shown here: https://gist.github.com/joshfeck/e51ac13a3d9fd345ad40 You can place that within your child themes functions.php file or a Custom Functions Plugin. Whichever URL you set in place of Is that what you are looking for? |
|
|
Perhaps. Modifying php is beyond my developer capabilities … so I will be calling in reinforcements. I shall return if I have additional questions. Thanks! |
It may look a little scary at first but it’s really not too bad 🙂 I’ve placed that function within a custom functions plugin from the above link and uploaded it here: http://take.ms/0uzV7 You will still need to change the URL used in that file but you can use that if you prefer. Or if you post the full URL that you want the use to be sent to I’ll add it to the plugin for you. |
|
|
Actually — before I make this change — I want to back up and ask another question. If you want me to start a new thread, I can. Here’s what I want to do: 1. I want my users to go to a page that has the multiple event table listing all the possible events in one place. (No descriptions, just titles.) 2. They choose the number of tickets for each event that they want. Then they click to register. 3. A popup box allows them to go back to the table (in case they want to make a change or add something) OR go on to actually register and pay. Right now I have two things that aren’t happening. 2. They can’t click to go back to the table. It takes them to the event description list. (Which I never want them to see.) Is your suggestion the simplest and most efficient way to solve both of these problems or should I do something else? Thanks! |
It won’t solve both those problems because the Event Table View does not support displaying the ticket selector, so you can redirect back to that page but it still won’t show the ticket selector. The user will need to click into the event, select tickets, submit those and return back to the table view to add another event. So out of these two:
The filter above fixes #2 If you want to use the table view and the ticket selector you would need a custom template creating that included the ticket selector within the table, for that you would need the help of a developer. |
|
The support post ‘Change default URL for "Return to Events List"’ 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.