How to add a new link ? I forgot how to do it. How to add a new link ? I forgot how to do it.
 

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 add a new link ? I forgot how to do it.

Started by SpookiePower, March 09, 2005, 10:43:17 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

SpookiePower

Long time ago I added "My links" to my website, but now I forgot how to do it.

I found this tip -
To add links to the top menu in Coppermine edit theme.php in the selected theme
and change $template_main_menu according to your liking.

I have looked in my theme.php file, where I long time ago added the new link.
But now I just can finde the extra line I added.

This is how my theme.php file looks right now, where I guess that the change should be.


$template_main_menu1 = <<<EOT
                                                |
<!-- BEGIN my_gallery -->
                                                <a href="{MY_GAL_TGT}" title="{MY_GAL_TITLE}">{MY_GAL_LNK}</a> |
<!-- END my_gallery -->

Can some one help me ?


SpookiePower

I just found out how it works.

It is $template_main_menu2 and not $template_main_menu1 where I should add the new link.

Tranz

Thank you for coming back to share how you figured it out.