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:

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

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.