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  (Read 3049 times)

0 Members and 1 Guest are viewing this topic.

cbrush

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Removing buttons
« 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

« Last Edit: September 24, 2006, 06:31:48 am by Sami »
Logged

cbrush

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Removing buttons
« Reply #1 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;

Logged

Gizmo

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1015
    • BullsEye Photos
Re: Removing buttons
« Reply #2 on: September 24, 2006, 04:07:49 am »

Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Removing buttons
« Reply #3 on: September 24, 2006, 05:59:58 am »

Thanks for the plugin, it works great.
Logged
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 20 queries.