forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: McKenzie on September 04, 2008, 12:54:28 pm

Title: nofollow for keywords on displayimages
Post by: McKenzie 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" '?
Title: Re: nofollow for keywords on displayimages
Post by: Joachim Müller 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.
Title: Re: nofollow for keywords on displayimages
Post by: McKenzie on September 05, 2008, 12:04:18 pm
Thank you