Editing buttons in Fruity Theme Editing buttons in Fruity Theme
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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