Support

Home Forums Event Espresso Premium Rename event-registration page

Rename event-registration page

Posted: May 8, 2014 at 9:42 pm


Douglas van Wolde

May 8, 2014 at 9:42 pm

I change the Registration Page Name

from:

/event-registration/

to:

/buy-tickets/

Main registration page name in:
Event Espresso > General Settings > Page Settings
(it changed automatically to Buy Tickets)

The problem is the /buy-tickets/ page only displays the shortcode [ESPRESSO_EVENTS].

Actual list of events doesn’t display on the Buy Tickets page.

How can this be fixed?

Doug


Tony

  • Support Staff

May 9, 2014 at 2:51 am

Hi Douglas,

Viewing that page on your site is showing the event list for me, however when clicking on the event the page simply reloads.

Can you create another Page (call it ‘Tickets Test’ for now), add the [ESPRESSO_EVENTS] to that page, and then select that Ticket Test page within the Main registration page dropdown in general settings. Then test if the events are list and you can register please?


Douglas van Wolde

May 9, 2014 at 6:09 am

Hi Tony,

I had changed the shortcode from [ESPRESSO_EVENTS] to [EVENT_LIST]. Which is why you could see the list that only reloads.

Look at the buy-tickets page now and you will see the shortcode code instead of the list.

I did create a new page called event-test. It seems to work fine.

Maybe I should revert the buy-tickets page back to event-registration and then create a new page called buy-tickets?

Is it possible WP or EE doesn’t like it when pages are renamed?

Thank you,

Doug


Lorenzo Orlando Caum

  • Support Staff

May 9, 2014 at 6:15 am

Hi Doug,

The [ESPRESSO_EVENTS] shortcode is a required shortcode and should not be replaced with the event list shortcode.

You can use the event list shortcode but it needs to be on another WordPress page:

https://eventespresso.com/wiki/shortcodes-template-variables/#event-list


Lorenzo


Douglas van Wolde

May 9, 2014 at 6:24 am

Hi Lorenzo,

Using the [EVENT_LIST] shortcode was simply an experiment which I didn’t mean for you to see. It was not part of my original problem.

The original problem was the renaming of the event-registration page.

Maybe I should revert the buy-tickets page back to event-registration and then create a new page called buy-tickets?

Is it possible WP or EE doesn’t like it when pages are renamed?

Thank you,

Doug


Tony

  • Support Staff

May 9, 2014 at 6:43 am

We’ve seen this happen before in that the Page with [ESPRESSO_EVENTS] simply stops parsing the shortcode after it has been edited.

Revert the current page back to ‘Event Registration’, create a new page with [ESPRESSO_EVENTS] within it and set that on the dropdown mentioned previously.

That should then start working correctly.


Lorenzo Orlando Caum

  • Support Staff

May 9, 2014 at 6:43 am

You can change the page that the [ESPRESSO_EVENTS] is on but you’ll need to make sure that this is updated in Event Espresso –> General Settings –> Page Settings.

Also [ESPRESSO_EVENTS] should only exist on a single page. Having multiple [ESPRESSO_EVENTS] shortcodes will cause issues.


Lorenzo


Douglas van Wolde

May 9, 2014 at 7:14 am

Hi Guys,

I have reverted the original event-registration page back to its install condition.

I created a new page with the [ESPRESSO_EVENTS] shortcode.

I updated
Event Espresso > General Settings > Page Settings > Main registration page:
To the new registration page.

I put the original event-registration page into Draft mode.

All seems to be working fine.

Lesson learned: don’t rename EE pages, create new ones when needed.

Thanks again for all your help!

Doug


Lorenzo Orlando Caum

  • Support Staff

May 9, 2014 at 7:48 am

Hi Doug,

Glad to hear you got it working. I just want to clarify that you do not need to use a page called Event Registration (event-registration).

You can change the slug and/or the title but you would need to ensure that Event Espresso is still pointing to the correct WordPress page through Event Espresso –> General Settings –> Page settings.


Lorenzo


Douglas van Wolde

May 9, 2014 at 8:08 am

Hi Lorenzo,

Understood. I am not using the page called Event Registration (event-registration). I placed it in draft mode.

Just to clarify, changing the slug of the registration page does not work.
Even when I confirmed the change at Event Espresso > General Settings > Page Settings > Main registration page.

Modifying the slug of an existing registration page causes only the shortcode code to display on the page, not the list of events.

Creating a new page with the [ESPRESSO_EVENTS] shortcode does work and of course change at Event Espresso > General Settings > Page Settings > Main registration page.

Thanks again for the follow-up!

Doug


Tony

  • Support Staff

May 9, 2014 at 9:14 am

Hi Douglas,

I’m glad your issue is resolved but for future readers (and yourself) there should be no issue re-naming the Event Registration page or changing the Slug, although there may be a need to flush Permalinks.

As mentioned sometimes the default Event Registration page sometimes just stops parsing the ESPRESSO_EVENTS shortcode for some users, we’ve yet to narrow down the exact reason. Creating a new Page and setting that as the Main Registration page then allows the shortcode to work.

So it appears your site had this issue rather than this being caused by altering the slug. You should find that if you alter the page slug of the current page you are using ESPRESSO_EVENT on you have no issues and the event listing continues to work.

There’s no need to do so currently but just wanted to post and clarify a little.

The support post ‘Rename event-registration page’ 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.

Event Espresso