Removing buttons Removing buttons
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Removing buttons

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

Previous topic - Next topic

0 Members and 1 Guest 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.