Advanced search  

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]

Pages: [1]   Go Down

Author Topic: removing buttons from the MAC_OX_X template  (Read 2911 times)

0 Members and 1 Guest are viewing this topic.

tinus

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
removing buttons from the MAC_OX_X template
« 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 :)
« Last Edit: October 11, 2006, 03:00:07 pm by Nibbler »
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: removing buttons from the MAC_OX_X template
« Reply #1 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
Logged
‍I don't answer to PM with support question
Please post your issue to related board

tinus

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: removing buttons from the MAC_OX_X template
« Reply #2 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. ??? ???



Logged

Nibbler

  • Guest
Re: removing buttons from the MAC_OX_X template
« Reply #3 on: October 11, 2006, 01:02:28 pm »

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

Code: [Select]
<!--
<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>
-->
Logged

tinus

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: removing buttons from the MAC_OX_X template
« Reply #4 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
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 16 queries.