Advanced search  

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]

Pages: [1]   Go Down

Author Topic: [Solved]: Hyperlink in gallery name possible?  (Read 3083 times)

0 Members and 1 Guest are viewing this topic.

colinp

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
[Solved]: Hyperlink in gallery name possible?
« on: August 17, 2004, 05:35:07 am »

I'd like to make the gallery name be a link to my websites homepage.  

I figure this can be accomplished through delving into the themes\mytheme\theme.php file, but I'm not sure what entry I'm looking for that specifices the gallery name.  Any help would be greatly appreciated.

Thanks in advance.
« Last Edit: August 17, 2004, 03:06:19 pm by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Hyperlink in gallery name possible?
« Reply #1 on: August 17, 2004, 07:07:11 am »

The category names are already links that let you go to the coppermine category, it'd defeat the purpose to make them links that point to something else. I recommend using bbcode in the category description instead. Click on "categroies" in the admin menu, click the edit icon of a specific category, and enter the url you want in a similar way you create links here on this board, like this:
Code: [Select]
[url=http://yourdomain.tld/folder/page.htm]my link[/url]
GauGau
Logged

colinp

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Hyperlink in gallery name possible?
« Reply #2 on: August 17, 2004, 01:47:11 pm »

No no, you misunderstood what I mean by gallery name. Sorry about that, it is an ambiguous term how it's used in Coppermine sometimes.

When you're in Gallery Configuration, at the very top of General Settigs you have 'Gallery Name' and Gallery Description.'  I'd like to make one of those a hyperlink back to my main webpage. 

Will bbcode work here?  Thanks for the help!
Logged

Nibbler

  • Guest
Re: Hyperlink in gallery name possible?
« Reply #3 on: August 17, 2004, 02:04:58 pm »

You can hard code the {GAL_NAME} tag to make the link in template.html, or change the setting for {GAL_NAME} in theme.php.
Logged

colinp

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Hyperlink in gallery name possible?
« Reply #4 on: August 17, 2004, 02:21:21 pm »

That did the trick!

Thanks so much Nibbler!
Logged
Pages: [1]   Go Up
 

Page created in 0.042 seconds with 15 queries.