Closed (works as designed)
Project:
Link
Version:
6.x-2.8
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Nov 2009 at 05:21 UTC
Updated:
3 Mar 2012 at 14:38 UTC
I am running Drupal 6.14 and I can't seem to get the link module to output attributes or classes. I have tried it on two separate installs. Am I missing something? This should be applied to the link should it not?
Comments
Comment #1
jcfiala commentedThis got fixed in the dev release, which hasn't made it's way to an official 2.9 release yet.
Comment #2
narky commentedJust to add a bit more information:
The attributes (including classes) showing up seems to be tied to the "Link Target:" option. When link target is set to anything else other than "Default (no target attribute)", AND the checkbox is checked/unchecked in the node edit form, the rest of the attributes below the link target show up properly.
In other words, the '#attributes' array inside the field seems to be created not by default, but only when link target is set (in CCK field edit form), and then the user (un)sets an options (in the node edit form).
At least, that's what seems to be going on from the behavior. I did look at the .module file to verify, but the code didn't look like what I described above. Perhaps I didn't understand it well enough. =) Thanks for the work!
Comment #3
jcfiala commentedThis is either fixed in 6.x-2.x-dev, or it's a duplicate of #664990: No Rel-Attribute - I'm going to close this one and redirect any further efforts there.
Comment #4
picardo commentedThis doesn't seem fixed in 6.x-2.x-dev.
Comment #5
picardo commentedI just realized that the classes were being cached. After a few hours, cache expired and now I can see them. Maybe some kind of cache buster can be added to fix this?
Comment #6
jcfiala commentedExplain what you mean by the classes being cached?
And you can always clear the cache if you're the admin.
Comment #7
dqd