forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: GeorgiaDawg on February 15, 2005, 04:55:42 am

Title: Making gallery name clickable
Post by: GeorgiaDawg 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
Title: Re: Making gallery name clickable
Post by: Abbas Ali on February 15, 2005, 05:55:49 am
Which gallery title are you talking about? On which page? Please elaborate your question.
Title: Re: Making gallery name clickable
Post by: Joachim Müller 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
Title: Re: Making gallery name clickable
Post by: GeorgiaDawg on February 15, 2005, 07:16:17 am
Great, THANKS !!!   problem solved. ;D
Title: Re: Making gallery name clickable
Post by: Mortie 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?
Title: Re: Making gallery name clickable
Post by: Joachim Müller 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