Editing buttons in Fruity Theme Editing buttons in Fruity Theme
 

News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

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