[Solved]: Help with PHP Code - Fruity Theme [Solved]: Help with PHP Code - 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

[Solved]: Help with PHP Code - Fruity Theme

Started by sovev, July 19, 2004, 09:36:17 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sovev

I'm fairly new to this PHP malarky so excuse my ignorance  :-[ I've tried finding an answer by serching the forum but have had no joy- I got lost tried to edit the theme.php on my /themes/fruity dir  :\'(

Basically I want to edit the main menu on my gallery (http://www.sovev.com/gallery) so that it has an extra "Main Site" button which links back to my main site (http://www.sovev.com). Can anyone offer any help/code?

(BTW it's running the latest coppermine release)

Joachim Müller

you were on the right track: edit themes/fruity/theme.php, find// HTML template for main menu
$template_main_menu = <<<EOT
                <span class="topmenu">
and after it a new line with                        <a href="yourpage.html" title="Title that appears when user mouses over link">your link text</a>

GauGau

sovev