Needs work
Project:
Nofollow
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Mar 2008 at 20:02 UTC
Updated:
29 Oct 2008 at 04:56 UTC
Great and useful module.
However it doesn't seem to work in my primary links. Working fine in the regular blocks though.
Hmmm
Phil
Comments
Comment #1
decafdennis commentedIn addition to what is in README.txt, the following code needs to be added to template.php as well:
Sorry, I don't have the time to create an actual patch.
Comment #2
shunshifu commentedDennis rocks!
Comment #3
shunshifu commentedStrangely it works on some of the links but not others
The primary links on www.belt-buckle-knife.com . Most are set to
Dofoolow on every page except
Some are noffollowed others aren't. Yes I've reset my cache.
A bit perplexing.
Phil
Comment #4
decafdennis commentedIs there a difference between internal links (simple Drupal paths) and external links (external URLs)?
Comment #5
Duplika commentedI've tried the above patch and it still doesn't work, neither with internal or external URL's.
Comment #6
decafdennis commentedJuanzo, did you change 'mytheme' into whatever the name of your theme is?
Comment #7
clm23 commentedHi,
I'm using drupal 5.1 and the garland_dropmenu theme,
and below is the code I placed into garland_dropmenu/template.php
I don't see any nofollow's except cart & checkout (as a result of ubercart).
Has anyone got this module to work ?
THx,
C
Comment #8
clm23 commentedI thought I found bug on the last line (return) that would fix this.
But it still doesn't work.
The next step is to fall back to the basic garland menu and see what happens, but if anyone has got this working we'd really appreciate a pointer.
Thank you,
C
Comment #9
OliverColeman commentedThink I found the bug (the code in #1 is still required, of course): the
if ($block->pages)statement and entire correspondingelsecode block need to be removed from functionnofollow_dofollow_check($block)(lines 47 and 64-67) in nofollow.module, ie: