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: Making gallery name clickable  (Read 3506 times)

0 Members and 1 Guest are viewing this topic.

GeorgiaDawg

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Making gallery name clickable
« on: February 15, 2005, 04:55:42 am »

I appologize if this is the wrong place to put this.  I am just starting with Coppermine and I am really enjoying it so far, but I do have a question.  How can I make the gallery title clickable so that it returns to our website?  I am clueless with php also.  I am sorry to be such a D.A but I am lost.  Thanks for any help you can give.

Link to our gallery is http://diamondcustoms.com/gallery
« Last Edit: February 15, 2005, 07:19:38 am by GauGau »
Logged

Abbas Ali

  • Administrator
  • Coppermine addict
  • *****
  • Country: in
  • Offline Offline
  • Gender: Male
  • Posts: 2165
  • Spread the PHP Web
    • Ranium Systems
Re: Making gallery name clickable
« Reply #1 on: February 15, 2005, 05:55:49 am »

Which gallery title are you talking about? On which page? Please elaborate your question.
Logged
Chief Geek at Ranium Systems

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Making gallery name clickable
« Reply #2 on: February 15, 2005, 06:02:10 am »

I guess I know what you mean: edit themes/yourtheme/template.html, find
Code: [Select]
{GAL_NAME}and replace with
Code: [Select]
<a href="your_page.htm" title="Title that appears when mouse over">{GAL_NAME}</a>. Just plain html, no special magic. Just make sure to leave the stuff in curly braces intact, you can wrap those tokens (which are just placeholders) into any html tags you could think of.

Joachim
Logged

GeorgiaDawg

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Making gallery name clickable
« Reply #3 on: February 15, 2005, 07:16:17 am »

Great, THANKS !!!   problem solved. ;D
Logged

Mortie

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Re: Making gallery name clickable
« Reply #4 on: February 16, 2005, 06:19:17 am »

I am trying to do the same thing and cannot find {GAL NAM} in the template.html file for Rainy Date template

also, is there an easy way to put a text link at the top versus using the title for the return to website link?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Making gallery name clickable
« Reply #5 on: February 16, 2005, 09:02:01 am »

{GAL_NAME} exists in the rainy_day template.html as well in line 29, just search harder.
The file template.html is (as the name suggests) just a plain html file (with the tokens in curly braces being replaced when the template file is being parsed) - you can add any type of html code wherever you want on it.

Joachim
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.