Making gallery name clickable Making gallery name clickable
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Making gallery name clickable

Started by GeorgiaDawg, February 15, 2005, 04:55:42 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

GeorgiaDawg

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

Abbas Ali

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

Joachim Müller

I guess I know what you mean: edit themes/yourtheme/template.html, find{GAL_NAME}and replace with<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

GeorgiaDawg

Great, THANKS !!!   problem solved. ;D

Mortie

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?

Joachim Müller

{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