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: Making gallery name clickable  (Read 3861 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.019 seconds with 20 queries.