Support

Home Forums Event Espresso Premium Show Registration Button When Alternative Registration URL is TRUE

Show Registration Button When Alternative Registration URL is TRUE

Posted: October 10, 2017 at 12:16 pm


Patrick Haley

October 10, 2017 at 12:16 pm

Hey there,

I’m creating a custom template and the sidebar displays the event details and venue information. However, if the registration URL is TRUE I want to hide the location information and simply include the register button similar to how the ticket selector does this. Can you please point me in the right direction as to what tag I should be using?

http://www.bcsprosoft.com/blog/rsvp/event-test-2/

Thanks!


Tony

  • Support Staff

October 11, 2017 at 5:39 am

Hi there,

I can’t view the page included above, I just get page not found.

If you have the EE_Event object already you can use $event->external_url() to pull the Alternative Registrational URL for the event.

I’m not sure if you want to create your own button using the above but you can also call the ticket selector using espresso_ticket_selector($event);, as there is an alt registration url set on the event it will only show the register button.

Is that what you are looking for?


Patrick Haley

October 11, 2017 at 9:26 am

Thanks those objects are what I was looking for.

The support post ‘Show Registration Button When Alternative Registration URL is TRUE’ 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