coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: guabi on March 01, 2004, 04:34:01 PM

Title: how to add a menu
Post by: guabi on March 01, 2004, 04:34:01 PM
I am using Mac theme. How can i add a new tag or link on the menu bar ?
Title: how to add a menu
Post by: Casper on March 01, 2004, 04:42:02 PM
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
Title: how to add a menu
Post by: guabi on March 01, 2004, 05:11:16 PM
I want to do it on the main menu (with buttons)..but can you tell me how?
Thanks.
Title: how to add a menu
Post by: Casper on March 01, 2004, 05:19:46 PM
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>