Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: How to add a new link ? I forgot how to do it.  (Read 4547 times)

0 Members and 1 Guest are viewing this topic.

SpookiePower

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 29
How to add a new link ? I forgot how to do it.
« 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 ?
« Last Edit: March 09, 2005, 06:12:29 pm by TranzNDance »
Logged

SpookiePower

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 29
Re: How to add a new link ? I forgot how to do it.
« Reply #1 on: March 09, 2005, 10:47:33 am »

Logged

SpookiePower

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 29
Re: How to add a new link ? I forgot how to do it.
« Reply #2 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.
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: How to add a new link ? I forgot how to do it.
« Reply #3 on: March 09, 2005, 06:11:03 pm »

Thank you for coming back to share how you figured it out.
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 19 queries.