how to add a menu how to add a menu
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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