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: adding an anchor to the end of every link  (Read 4328 times)

0 Members and 1 Guest are viewing this topic.

tourphish

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
adding an anchor to the end of every link
« on: January 07, 2010, 12:45:36 am »

Hello,

I am in need of adding an anchor tag (#gallery for example) to each link within the gallery.    I did some research here and saw that others have the same issue / request (our designs are such that each time you view a thumbnail / gallery, you have to scroll down past the header and we want the user to be right at the start of the gallery each time).       However, no one seems to have a clear solution to this.   

Can anyone help me out?    I figure I have to edit a few of the displayimage / showthumb files to have it add the anchor tag , but I don't know where to start.   

Thanks,
Mike
Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Re: adding an anchor to the end of every link
« Reply #1 on: January 07, 2010, 01:04:29 am »

Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

tourphish

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: adding an anchor to the end of every link
« Reply #2 on: January 07, 2010, 01:06:51 am »

Sure thing - http://www.360signs.com/products 

Thanks!
Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Re: adding an anchor to the end of every link
« Reply #3 on: January 07, 2010, 01:10:15 am »

I see that the footer link is still there but it looks like you hid it with css. Please change the .footer color so that it is visible.
Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

tourphish

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: adding an anchor to the end of every link
« Reply #4 on: January 07, 2010, 01:14:39 am »

Not hid on purpose, that was shared by the main template footer, which caused the color issue.  Fixed.
Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Re: adding an anchor to the end of every link
« Reply #5 on: January 07, 2010, 01:16:01 am »

Nice website by the way.
Read this thread for your answer -> http://forum.coppermine-gallery.net/index.php/topic,62902.msg312659.html#msg312659
Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Re: adding an anchor to the end of every link
« Reply #6 on: January 07, 2010, 01:18:46 am »

When you changed the css to correct coppermines footer it looks like you messed up your own.
Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

tourphish

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: adding an anchor to the end of every link
« Reply #7 on: January 07, 2010, 01:28:34 am »

Yes, I have to address that tomorrow.  Thanks for the link! I will go through your directions shortly.
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 19 queries.