coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: tinus on October 10, 2006, 11:08:31 PM

Title: removing buttons from the MAC_OX_X template
Post by: tinus on October 10, 2006, 11:08:31 PM
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 :)
Title: Re: removing buttons from the MAC_OX_X template
Post by: Sami on October 11, 2006, 06:06:11 AM
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
Title: Re: removing buttons from the MAC_OX_X template
Post by: tinus on October 11, 2006, 12:28:13 PM
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. ??? ???



Title: Re: removing buttons from the MAC_OX_X template
Post by: Nibbler on October 11, 2006, 01:02:28 PM
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>
-->
Title: Re: removing buttons from the MAC_OX_X template
Post by: tinus on October 11, 2006, 01:32:56 PM
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