Support

Home Forums Event Espresso Premium Make widget open another tab when url in Alternate Registration Page

Make widget open another tab when url in Alternate Registration Page

Posted: July 23, 2012 at 10:09 pm


mcote

July 23, 2012 at 10:09 pm

Is there an easy way to have the event espresso widget “target=_blank” when an alternate URL is placed in the “Alternate Registration Page” field?


Josh

  • Support Staff

July 24, 2012 at 11:08 am

It would involve changing a few things around in widget.php. Note the changes below:


mcote

July 24, 2012 at 6:48 pm

Thanks for the code. Do you think it would be possible to add an option button beside the Alternate Registration Page such as “Open url in another tab” for the next release? This would allow to direct the people outside your site depending on the event.


Josh

  • Support Staff

July 25, 2012 at 7:44 am

The above code should work for what you’re trying to accomplish. We’re not adding any new features to Event Espresso 3.2 as that would delay it further.


mcote

August 3, 2012 at 7:41 pm

I just wanted to share my workaround regarding this point. What I did is create a post where I talk about the event and within this post I made a link to redirect the user to the site where the registration actually occurs by opening another tab. Therefore in the event espresso events page,I used the alternate registration functionailty to bring the user to this post.

The support post ‘Make widget open another tab when url in Alternate 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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  mcote 7 years ago ago

Topic Tags

Tagged: 

Notifications

This topic is: resolved
Do NOT follow this link or you will be banned from the site!