Support for CCK link fields
JoepH - March 26, 2008 - 11:10
| Project: | External links filter |
| Version: | 6.x-3.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Great mod, thanks for that!.
I noticed it does not work for CCK link fields.

#1
This is correct behaviour, since ELF only provides an input filter. If content isn't passed through a filter that applies ELF, any external links in such content will not feature the CSS class.
I have set this to feature request, since it would be great to have this in version 3.
#2
#3
#4
For a workaround – assuming all your CCK links are external – CCK link fields do allow you to configure an "Additional CSS class". Set that to "external-link" (without the quote marks of course) and the ELF CSS will be applied.
#5
This class would be
elf-externalorelf-mailtowhen using 5.x-3.x-dev.#6
I was hoping CCK offered a hook_field_alter() or something similar, so other modules could easily manipulate fields, but this doesn't seem to be the case. The current plan is to find out what link fields are added to a certain node type and modify their values in hook_nodeapi(), if that is possible.
#7
Sorry to bring up this "old" issue again. But since I also consider cck link field support important i just wanted to ask whether this feature is still planned for the 3.x release.
Thanks in advance!
#8
Not for 5.x-3.x-dev anymore, since by the time version 3 will be released Drupal 7 will have come out. I still intend to look into link fields and see if they can be supported.