removing buttons from the MAC_OX_X template removing buttons from the MAC_OX_X template
 

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

removing buttons from the MAC_OX_X template

Started by tinus, October 10, 2006, 11:08:31 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

tinus

Hello,

I use the MAC_OX_X template and trying many things to remove some buttons in the menu.
I read many threads about this suspect. The plugin for that (Final Extract) is not working for the MAC template.
When i change my theme.php with // for the "add_button" row the gallery shows all buttons.
Is there a way to remove the menu buttons?

Can someone help me??

Sorry for my bad english  :(

Thanx for reply's from the Netherlands :)

Sami

Try to remove that button by editing themes/mac_ox_x/theme.php

As far as I know , there isn't any "add_button" on that theme.php either you are looking on wrong theme.php or you're editing that file wrong way
‍I don't answer to PM with support question
Please post your issue to related board

tinus

To remove the button "last comment"  i edit the theme.php file:

Quote
//    <td><img src="themes/mac_ox_x/images/menu_button_bg_right.gif" border="0" alt="" /><br /></td>
//    <td><img src="themes/mac_ox_x/images/menu_button_bg_left.gif" border="0" alt="" /><br /></td>
//    <td style="background-image:url(themes/mac_ox_x/images/menu_button_bg_middle.gif);" valign="top">
//            <a href="{LASTCOM_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{LASTCOM_LNK}">{LASTCOM_LNK}</a>

This has no effect. The button is empty on my website, but the text is displayed under the button and the button is still visible.
Do you have an idea what to do more?  ???

Removing all references to "lastcom_lnk" in the index.php, dutch.php has even no effect. ??? ???




Nibbler

It's HTML code, so you need to use HTML comments.


<!--
<td><img src="themes/mac_ox_x/images/menu_button_bg_left.gif" border="0" alt="" /><br /></td>
    <td style="background-image:url(themes/mac_ox_x/images/menu_button_bg_middle.gif);" valign="top">
            <a href="{LASTCOM_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{LASTCOM_LNK}">{LASTCOM_LNK}</a>
    </td>
    <td><img src="themes/mac_ox_x/images/menu_button_bg_right.gif" border="0" alt="" /><br /></td>
-->

tinus

Yessss it works!  ;D

I use the HTML comments.
I didn't know this was HTML sorry...

Thank you very much for your help! Keep up the good work!
THANX