Support

Home Forums Custom Files Add-on (EE3) alternative registration page

alternative registration page

Posted: February 18, 2013 at 4:16 am


sergio Pannella

February 18, 2013 at 4:16 am

alternative registration page link may open in a new tab?


Dean

February 18, 2013 at 4:23 am

Hi,

There is no option for this, you would need to edit the plugins code or add some sort of javascript to the template to make it open in a new window.


sergio Pannella

February 18, 2013 at 4:39 am

Thank you for you’re quick answer.
Unfortunately I don’t have enough experience with php, so I don’t know where to modify the plugin. Can you give me please some more detailed information about this?


Dean

February 18, 2013 at 5:25 am

Hi Sergio,

It actually wasn’t as hard as I figured it to be, there is a variable which looks for the alternative url, so if we use that to check and if it has a value add the target=”_blank” html needed

<?php if($externalURL != '') { echo 'target="_blank"'; }?>

I did you a pastebin of the event_list:display.php template with that code in http://pastebin.com/CQPbaYXu


sergio Pannella

February 18, 2013 at 7:01 am

… works!
Thank you!

The support post ‘alternative 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