How to change the Top menu function How to change the Top menu function
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

How to change the Top menu function

Started by guabi, June 22, 2004, 09:41:14 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

guabi

I would like to know how to change one of the Top-Menu function "Last Comments" to " my homepage link". I am using Mac_ox theme.
Thanks.

Joachim Müller


guabi

I did try to find the relevant topics, but i could not find out the one which i need. (Maybe the theme is different...) ???

Casper

It doesn't matter what your theme is.
You just need to replace this;
<a href="{LASTUP_TGT}">{LASTUP_LNK}</a>

with a link to your home page, like this;

<a href="http://www.yoursite.com/">Home</a>
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Joachim Müller

to add a "home" link to your coppermine menu, edit themes/yourtheme/theme.php, find// HTML template for main menu
$template_main_menu = <<<EOT
                <span class="topmenu">
and add after it<a href="your_link_target.xyz" title="Your text that is shown when someone hovers over the link">your link text</a> ::

GauGau