Closed (won't fix)
Project:
Node Reference URL Widget
Version:
6.x-1.3
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
18 Nov 2009 at 14:53 UTC
Updated:
24 Dec 2009 at 09:09 UTC
I think that we'll be useful if in the settings form, is added a new text field to add a custom class to the link, so it can be use with the popups module or other modules that triggers event of js using classes.
Comments
Comment #1
quicksketchYou can already target the link, since all node links are given unique classes. I don't see why adding 2 classes would be particularly beneficial.
Comment #2
2ndChanceTech commentedWell, modules like Popups, can be set to act on a SPECIFIC class, so you can keep it the same across your site, without having to set it to work on EACH individual link class. This would reduce code in the theme layer and CSS.
I would think that Popups integration or at least something making it more usable would be not only a little beneficial, but VERY.
Think, with popups intergration, which is easy as setting the link class to that configured it popups, and you could create related nodes, without ever leaving the original. (Ex: Write a review of a product, without leaving the product page).
Not to mention, being able to assign custom classes to items is common among various modules.
Comment #3
quicksketchI still think this is exttremely unlikely to be added. As nodereference_url links are already given their own class, I can't see the extensive use of having disparate link classes applied to these particular links. If you really want to add the class, you can do so through hook_link_alter().