Editing buttons in Fruity Theme Editing buttons in Fruity Theme
 

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

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