forum.coppermine-gallery.net
Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: guabi on June 22, 2004, 09:41:14 am
-
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.
-
http://coppermine.sourceforge.net/faq.php?q=removeFeature#removeFeature
Please search before posting, this has already been answered very often.
GauGau
-
I did try to find the relevant topics, but i could not find out the one which i need. (Maybe the theme is different...) ???
-
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>
-
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