forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: SpookiePower on March 09, 2005, 10:43:17 am

Title: How to add a new link ? I forgot how to do it.
Post by: SpookiePower on March 09, 2005, 10:43:17 am
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 ?
Title: Re: How to add a new link ? I forgot how to do it.
Post by: SpookiePower on March 09, 2005, 10:47:33 am
My website is www.activewebsite.dk/fotoalbum/index.php
Title: Re: How to add a new link ? I forgot how to do it.
Post by: SpookiePower on March 09, 2005, 12:23:49 pm
I just found out how it works.

It is $template_main_menu2 and not $template_main_menu1 where I should add the new link.
Title: Re: How to add a new link ? I forgot how to do it.
Post by: Tranz on March 09, 2005, 06:11:03 pm
Thank you for coming back to share how you figured it out.