Dolphin - Remove big join button from promo
There are a few different ways of removing the join button from the promo banner. The method you use will vary depending on your requirements. You can even change the location that it navigates to.
Here's a few different methods.
Remove (hide) button via CSS
Edit the following file
templates/tmpl_uni/css/top_menu.css
Add the following to the bottom of the file
.sys_tm_actions div.button_wrapper .bigJoinButton {
display:none !important;
}
.sys_tm_actions div.button_wrapper .bigJoinButton + .button_wrapper_close{
display:none !important;
}
This hides the button, but relies on some CSS3 attributes (the plus sign is a boolean operator used to say that both .bigJoinButton + .button_wrapper_close are required) - this is not supported by earlier versions of explorer.
The requirement for the second css statement is to hide the image that forms the right hand side of the button - the Boonex code does not differentiate between the login and join buttons, so without the conditional statement it will hide this image on both buttons.
If your template does not include this, then simply use the first statement to hide the button.
Remove button via base template
To remove the code that generates the button, edit the following file
/templates/base/login_join.html
find the following...
delete it or comment it out like this...
Change the target of the button
The last option is to leave the button as it is, and simply change it to open a different target.
Edit
/templates/base/login_join.html
find the following...
Change it to the following
In all of these cases, dont forget, that the button is not the only link that directs to the join.page. If your goal is to provide a custom join page, you may also have to edit other areas of the site.
The easy one to fix is the link that the promo banner navigates to - this can be changed via the admin panel. Harder are the links in the breadcrumbs bar and the login popup. But that's something for another article.
/DM