Advanced search  


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.

Pages: [1]   Go Down

Author Topic: How to insert links into gallery description field or the main user menu?  (Read 5601 times)

0 Members and 1 Guest are viewing this topic.


  • Coppermine newbie
  • Offline Offline
  • Posts: 2


I need to insert links to my other sites. Ideally, they should be seen
1) in main user menu
2) in the 'gallery description' field at the top of each page and/or
3) under each picture and/or

I have searched for a while but didn't find that answered.

I found a guy who did added links to the menu (just to prove it's possible):

Thanks in advance.


  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231

To add links into the menu, edit your theme.php, as shown here for the classic theme;

Code: [Select]
<span class="topmenu">

<a href="your-firstlink-url" title="your-first-link-name">your-first-link-name</a> ::
<a href="your-secondlink-url" title="your-second-link-name">your-second-link-name</a> ::

<!-- BEGIN album_list -->
                        <a href="{ALB_LIST_TGT}" title="{ALB_LIST_TITLE}">{ALB_LIST_LNK}</a> ::
<!-- END album_list -->
<!-- BEGIN my_gallery -->
                        <a href="{MY_GAL_TGT}" title="{MY_GAL_TITLE}">{MY_GAL_LNK}</a> ::
<!-- END my_gallery -->
<!-- BEGIN allow_memberlist -->
                        <a href="{MEMBERLIST_TGT}" title="{MEMBERLIST_TITLE}">{MEMBERLIST_LNK}</a>  ::
<!-- END allow_memberlist -->

To add links into album or pic descriptions, see these sections of the faq;
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here


  • Guest

With the link you posted, the admin has added the links into the template.html instead, which is also a valid method.


  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22

I modified this post, it did have a valid respose but....
I did have a question, but the I solved it by thinking of the obvious and putting two and twp
together! I FEEL LIKE A GENIUS!. *cough*

Pleasure doing busniess with you gentlemen.

*delete this post - coz i cant*
« Last Edit: October 26, 2004, 02:59:25 pm by Matt22 »

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"

we do not remove postings, just leave it as it is.

Pages: [1]   Go Up

Page created in 0.017 seconds with 19 queries.