News:

CPG Release 1.6.31
Minor maintenance release
Clean up remaining remnants of the .net CPG website
Improved installer_stub compatibility with various server configurations

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 2 Guests 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