forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: xGrape on December 26, 2004, 11:26:58 pm

Title: Making gallery title a link?
Post by: xGrape on December 26, 2004, 11:26:58 pm
Which file do I edit if I want the title of my gallery pages (http://www.sagavoll.com/bilder/) to be a link back to the root level of the domain? Current title is "Sagavoll.com : Bilder", just to make it clear which I want to edit :) I guess this is not edited in the template files? Thanks in advance!
Title: Re: Making gallery title a link?
Post by: Joachim Müller on December 26, 2004, 11:48:41 pm
edit http://www.sagavoll.com/bilder/themes/mac_ox_x/template.html, find
Code: [Select]
<h1>{GAL_NAME}</h1>and replace with
Code: [Select]
<h1><a href="/">{GAL_NAME}</a></h1>
Joachim
Title: Re: Making gallery title a link?
Post by: 19_Chevelle_69 on December 29, 2004, 06:29:04 am
I would like to do a similar action with my title, however I would like it to redirect back to my forum.

I am using the Igames theme, and tried to change the html like it was posted above, without any luck.

I would like the title to navigate to this link....... http://classictalk.com/donsforum/index.php

Here is the link to my gallery.... http://classictalk.com/chevygallery/index.php

Thanks for any help you can offer..
Title: Re: Making gallery title a link?
Post by: donnoman on December 29, 2004, 07:00:35 am
make a copy of the the current themes/igames/template.html file

edit the themes/igames/template.html file

find:
Code: [Select]
         <td background="themes/igames/images/top_panel_r1_c1.jpg">
            <h1>{GAL_NAME}</h1>

change to:

Code: [Select]
         <td background="themes/igames/images/top_panel_r1_c1.jpg">
            <h1><a href="http://classictalk.com/donsforum/index.php" title="Click to go to Donsforum" >{GAL_NAME}</a></h1>

should work.
Title: Re: Making gallery title a link?
Post by: 19_Chevelle_69 on December 29, 2004, 11:57:21 pm
Done and done, works like a charm....thanks a lot. 

I just couldn't see where to do it on my template.