im totaly iliterate when it comes to this code stuff can someone help me in lamens terms
i just wana put my forum link in the main menue right under home link can anyone give me the code i need to use to replace the code in the theme.php
// HTML template for main menu
$template_sys_menu = <<<EOT
<div class="topmenu">
{BUTTONS}
</div>
EOT;
i would really apreciate this guys......
i have tried what i have read and copied the sample/theme.php section thats for the sys_buttons and paste into fruity theme.php but i keep getting this after
Fatal error: Call to undefined function addbutton() in /home/onmyzone/public_html/photo/themes/fruity/theme.php on line 34
thats why i need the correct code to paste instead of whats there if you guys dont mind helping me
How a bout to add this to your (orginal) theme.php just before $template_sys_menu
$template_sub_menu = <<<EOT
<div class="topmenu">
{BUTTONS}
<a href="forum URL">Forum </a>
</div>
EOT;
original theme? ??? only one is the classic and it does not contain $template_sys_me in the theme.php file
I was pointing to {gallery-root}/themes/fruity/theme.php
By saying Orginal I was referring to fruity theme.php that comes with installation package (without your editing)
To make it clear , you should have something like this on your fruity/theme.php
define('THEME_HAS_RATING_GRAPHICS', 1);
define('THEME_HAS_NAVBAR_GRAPHICS', 1);
define('THEME_IS_XHTML10_TRANSITIONAL',1); // Remove this if you edit this template until
// you have validated it. See docs/theme.htm.
// HTML template for main menu
$template_sub_menu = <<<EOT
<div class="topmenu">
{BUTTONS}
<a href="URL of Froum">Froum</a>
</div>
EOT;
$template_sys_menu = <<<EOT
<div class="topmenu">
{BUTTONS}
</div>
EOT;
// HTML template for template sys_menu spacer
$template_sys_menu_spacer ='';
this is all that it contains
Quote<?php
/*************************
Coppermine Photo Gallery
************************
Copyright (c) 2003-2006 Coppermine Dev Team
v1.1 originally written by Gregory DEMAR
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
********************************************
Coppermine version: 1.4.10
$Source$
$Revision: 3275 $
$Author: gaugau $
$Date: 2006-09-03 12:10:47 +0200 (So, 03 Sep 2006) $
**********************************************/
// ------------------------------------------------------------------------- //
// The theme "Fruity" has been done by GauGau (http://gaugau.de/) based on //
// the framed template of studicasa.nl (their website has gone down, so I //
// guess no one will care). The usage of this theme is free for personal //
// use, not for commercial use (according to the disclaimer of studiocasa)! //
// ------------------------------------------------------------------------- //
define('THEME_HAS_RATING_GRAPHICS', 1);
define('THEME_HAS_NAVBAR_GRAPHICS', 1);
define('THEME_IS_XHTML10_TRANSITIONAL',1); // Remove this if you edit this template until
// you have validated it. See docs/theme.htm.
// HTML template for main menu
$template_sys_menu = <<<EOT
<div class="topmenu">
{BUTTONS}
</div>
EOT;
// HTML template for template sys_menu spacer
$template_sys_menu_spacer ='';
?>
never mind i put it in there and it worked but is there a way to make it part of the first set instead of all the way on the bottom?
just add your link above the {BUTTONS}
it worked omg ty verry verry much :D