Advanced search  

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

Pages: [1]   Go Down

Author Topic: Removing buttons  (Read 3086 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.016 seconds with 19 queries.