how to add a menu how to add a menu
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

how to add a menu

Started by guabi, March 01, 2004, 04:34:01 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

guabi

I am using Mac theme. How can i add a new tag or link on the menu bar ?

Casper

Depends on which menu you want it in, the main one with buttons, or the dropdown one when you put the cursor on the '@' sign.

Either way, you do it in themes/mac_ox_x/theme.php
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

guabi

I want to do it on the main menu (with buttons)..but can you tell me how?
Thanks.

Casper

For each button, add the following code, in the '$template_main_menu2 = <<<EOT' section.

                                       <td><img src="themes/mac_ox_x/images/menu_button_bg_left.gif" border="0" alt="" /><br /></td>
                                        <td background="themes/mac_ox_x/images/menu_button_bg_middle.gif" valign="top">
                                                <a href="your_link_url" onMouseOver="MM_showHideLayers('Menu1','','hide')">Your_link_name</a>
                                        </td>
                                        <td><img src="themes/mac_ox_x/images/menu_button_bg_right.gif" border="0" alt="" /><br /></td>
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here