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: nofollow for keywords on displayimages  (Read 1496 times)

0 Members and 1 Guest are viewing this topic.

McKenzie

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 129
    • My car gallery
nofollow for keywords on displayimages
« on: September 04, 2008, 12:54:28 pm »

I have some problems with double content, so I must also enter a ' rel="nofollow" ' to the keywordsurl on displayimages but I don't found the file. In which file/line must I enter  a ' rel="nofollow" '?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: nofollow for keywords on displayimages
« Reply #1 on: September 05, 2008, 09:54:56 am »

Edit displayimage.php, find
Code: [Select]
$info[$lang_picinfo['Keywords']] = '<span class="alblink">' . preg_replace("/(\S+)/", "<a href=\"thumbnails.php?album=search&amp;search=\\1\">\\1</a>" , $CURRENT_PIC_DATA['keywords']) . '</span>';and edit as you see fit.
Logged

McKenzie

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 129
    • My car gallery
Re: nofollow for keywords on displayimages
« Reply #2 on: September 05, 2008, 12:04:18 pm »

Thank you
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 19 queries.