coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: cbrush on September 24, 2006, 01:46:25 AM

Title: Removing buttons
Post by: cbrush on September 24, 2006, 01:46:25 AM
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

Title: Re: Removing buttons
Post by: cbrush on September 24, 2006, 03:53:19 AM
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;

Title: Re: Removing buttons
Post by: Gizmo on September 24, 2006, 04:07:49 AM
Try this plugin - http://forum.coppermine-gallery.net/index.php?topic=34637.0 (http://forum.coppermine-gallery.net/index.php?topic=34637.0)
Title: Re: Removing buttons
Post by: cbrush on September 24, 2006, 05:59:58 AM
Thanks for the plugin, it works great.