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 title a link?  (Read 3064 times)

0 Members and 1 Guest are viewing this topic.

xGrape

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Making gallery title a link?
« 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!
« Last Edit: December 29, 2004, 11:59:14 pm by TranzNDance »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Making gallery title a link?
« Reply #1 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
Logged

19_Chevelle_69

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 2
    • Don's Chevy Shop forums
Re: Making gallery title a link?
« Reply #2 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..
Logged
Don

donnoman

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1615
  • From donovanbray.com
    • Donovan Bray
Re: Making gallery title a link?
« Reply #3 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.
Logged

19_Chevelle_69

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 2
    • Don's Chevy Shop forums
Re: Making gallery title a link?
« Reply #4 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.
Logged
Don
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 21 queries.