Add Third Button To Top Menu

How do I  add a third button or image to the left of the Join button on the top menu. Does anyone know?

Running Dolphin 7.0.2.

Quote · 24 Jun 2010

Edit: This applies to both the promo banner, as well as the buttons that appear when not logged in on pages other than the home page on your web site.

You'd have to modify the the login_join.html file under ./templates/base or [template name], if you're using a custom template)/.

<div class="sys_tm_actions">
<div class="input_wrapper input_wrapper_input_set">
<div class="button_wrapper" style="margin-right: 14px">
<input class="form_input_submit bigJoinButton submit" type="button" value="<bx_text:_Join />" name="join" alt="window.open ('<bx_url_root />join.php','_self');" />
<div class="button_wrapper_close">&nbsp;</div>
</div><div class="button_wrapper">
<input class="form_input_submit bigLoginButton submit" type="button" value="<bx_text:_Login />" name="login" alt="showPopupLoginForm(); return false;" />
<div class="button_wrapper_close">&nbsp;</div>
</div>
</div>
</div>

Just copy the code for a button and add it again into the code:

<div class="sys_tm_actions">
<div class="input_wrapper input_wrapper_input_set">
<div class="button_wrapper" style="margin-right: 14px">
<input class="form_input_submit bigJoinButton submit" type="button" value="<bx_text:_Join />" name="join" alt="window.open ('<bx_url_root />join.php','_self');" />
<div class="button_wrapper_close">&nbsp;</div>
</div><div class="button_wrapper">
<input class="form_input_submit bigLoginButton submit" type="button" value="<bx_text:_Login />" name="login" alt="showPopupLoginForm(); return false;" />
<div class="button_wrapper_close">&nbsp;</div>
</div><div class="button_wrapper">
<input class="form_input_submit bigLoginButton submit" type="button" value="<bx_text:_NewName (this requires making a new language key) />" name="newname" alt="window.open ('<bx_url_root />filename.php','_self');" />
<div class="button_wrapper_close">&nbsp;</div>

</div>
</div>
</div>

The change is shown in red.

Of course, you'll have to change this to your liking. If you want it to display in a certain order, just re-arange the code insert to in between the first two, or before the first one.

Once done with your changes, empty the ./cache/ and ./cache_public/ directories, leaving the .htaccess file intact.

I haven't had the chance to test this, so if it doesn't work, please let me know.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 24 Jun 2010

Worked like a charm, Magnussoft!! THANK YOU!

Just a little note: Needed to add - style="margin-right: 14px" - in the second button's div tag to allow for spacing between the second and third buttons.

:)

Quote · 25 Jun 2010

I've done this....but I would like the third button to be visible whether logged or not.  How would I do that? 

Currently it disappears when logged in. 

Quote · 9 May 2014
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.