PDA

View Full Version : How to set reg="nofollow" for a category


JustaQuestion
09-28-2009, 03:02 PM
I bought my license, and I installed it last night. Excellent product. Thanks!

I'm just trying to find out if there is any way to have one category with reg="nofollow", and one category without reg="nofollow".

How would I go about adding reg="nofollow" to a category?

Morgan
10-01-2009, 05:09 PM
There is no setting to do that. You would need to edit the code. Untested, but one idea would be to edit the gal_class_core.php file. Look for $gal['tagid'] in that file and under it add a new $gal['nofollow'] variable containing the nofollow attribute content when $catid is a certain value, empty string otherwise, and then use $gal['nofollow'] in the GAL templates that form the auto-link.

JustaQuestion
10-05-2009, 09:32 PM
Morgan, thanks. Actually there is no need for modifying of anything. Now that I familiarized myself with the software, I see that I can easily control which links have the nofollow attribute and which don't by enabling/disabling the counter of clicks/impressions. That will do it for me just fine.