Editing buttons in Fruity Theme Editing buttons in Fruity Theme
 

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]

Main Menu

Editing buttons in Fruity Theme

Started by justal, December 29, 2005, 09:52:59 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

justal

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:

// 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.

Joachim Müller

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.

donnoman