Posted: November 26, 2015 at 8:36 am
|
When users add an event to their cart, a pop-up appears appears with a button “return to events list” that takes them to https://thestonetrust.org/events/ The formatting of that (page?) is working well for me. I have an alternative page set up https://thestonetrust.org/event-list/ for which the formation is working well. How do I get the button to bring them here, I think I had it working at one point, but when a new version came out it reverted back and I can’t remember what I had done. Plus if it reverts back at each new version that is clearly not ideal. I am intensionally not using the latest version do to other problems. Reverting back to 4.8.9 and MER 2.05 was suggested in a forum and that seemed to help. |
|
Gave wrong version info above: currently active is EE 4.8.14 and MER 1.3.3 I stopped using the versions listed above to do redirect loop issues that were sometimes experienced. |
If you have altered the MER plugin files directly to change the return to events list link, that would be why it reverted when you updated. There’s a filter hook, The hook is documented here: https://eventespresso.com/wiki/ee4-multiple-event-registration-add-on/#customizations and there’s some example code there as well that you can adapt and add to a functions plugin or into your WordPress theme’s functions.php file. |
|
|
Okay, I tried making the edits to the function.php file but I think I messed up as it did not work, and gave me an error message: No configuration section has been provided while attempting to save “_Config”. EE_Config – _verify_config_params – 397 Whenever I tried to view any event. I reverted back to the backup of the function.php file I made before editing it. But I am still getting the same message at any event. for example: https://thestonetrust.org/event/2016-spring-test-day/ I even had the host server upload their emergency backup of the theme function.php file but still no difference. Any ideas? Now none of my events are viewable. |
Hi Brian, Does your functions.php file change anything else in Event Espresso? If it does, you can try removing those functions, then go to the WP > Settings > Permalinks page in your WP admin to flush the permalinks. |
|
|
hi josh there is nothing else in the file regarding EE It is very short this is the contents of the functions file <?php // Use legacy comments template for versions less than 2.7 add_theme_support( ‘post-thumbnails’ ); I am puzzled as to why the site does not work as before when returning to the previous file. Should I try flushing the permalinks? I do have experience as to what that would do. |
I would recommend against using a closing PHP tag within your files, just to prevent ‘Header already sent errors’, I don’t think it’s the cause here, but worth noting. Take a look here: http://www.sitepoint.com/should-you-close-your-php-code-tags/ Back to your issue, can you go to Event Espresso -> General Settings and click save, does the error still show? |
|
|
Hi Tony, unfortunately saving the general settings did not make any difference. Any other ideas? -Brian |
|
I uploded a backup of the whole site from my Vaultpress account. Lost a few hours work on the site, but it is all working as it was before. Now I just am back to needing that event list to look like something useable…. |
Hi Brian, I double-checked the filter that lets you change the URL and did not experience any issues. Earlier you mentioned that you were using an older version of EE 4.8.x due to some other problems. What are those issues? — |
|
The support post ‘Changing the return to events list link’ 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.