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: Editing buttons in Fruity Theme  (Read 2965 times)

0 Members and 1 Guest are viewing this topic.

justal

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 46
Editing buttons in Fruity Theme
« on: December 29, 2005, 09:52:59 am »

I'd like to add some buttons, remove some buttons and change the names of some buttons in the {SYS_MENU} and {SUB_MENU} of the fruity theme... I assumed I would do this via the theme.php file, but all it has in there is:

Code: [Select]
// HTML template for main menu
$template_sys_menu = <<<EOT
                <div class="topmenu">
                     {BUTTONS}
                </div>
EOT;

Where do I find the code for the {BUTTONS}  ?

Thanks.
Alan.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Editing buttons in Fruity Theme
« Reply #1 on: December 29, 2005, 09:54:30 am »

copy the sections where the buttons are being defined from themes/sample/theme.php to themes/fruity/theme.php
Warning: do not copy everything, only the stuff you want to change.
Logged

donnoman

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1615
  • From donovanbray.com
    • Donovan Bray
Re: Editing buttons in Fruity Theme
« Reply #2 on: December 30, 2005, 07:09:53 pm »

Logged
Pages: [1]   Go Up
 

Page created in 0.013 seconds with 15 queries.