Removing buttons Removing buttons
 

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

Started by cbrush, September 24, 2006, 01:46:25 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

cbrush

Ok, I found

addbutton($sub_menu_buttons,'{SEARCH_LNK}','{SEARCH_TITLE}','{SEARCH_TGT}','search','');

in the sample theme.php and went to my theme.php and put

// addbutton($sub_menu_buttons,'{SEARCH_LNK}','{SEARCH_TITLE}','{SEARCH_TGT}','search','');

but the button is still there. Can anyone help?

http://www.cbrush.net/coppermine/index.php


cbrush

Ok I've read some more posts and figured out how to remove certain elements in coppermine. You copy and paste from the sample theme.php to your theme.php starting from:

// HTML template for whatever your modifing
$template_whatever your modifing = <<<EOT

modify code in here
EOT;


Gizmo

Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision

cbrush

Thanks for the plugin, it works great.