coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: justal on December 29, 2005, 09:52:59 AM

Title: Editing buttons in Fruity Theme
Post by: justal 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:

// 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.
Title: Re: Editing buttons in Fruity Theme
Post by: Joachim Müller 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.
Title: Re: Editing buttons in Fruity Theme
Post by: donnoman on December 30, 2005, 07:09:53 PM
Read this FAQ entry http://forum.coppermine-gallery.net/index.php?topic=24107.0