Project:External Links Filter
Version:6.x-3.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Great mod, thanks for that!.

I noticed it does not work for CCK link fields.

Comments

#1

Category:bug report» feature request
Status:active» postponed

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

Version:5.x-2.0» 5.x-3.x-dev

#3

Status:postponed» active

#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-external or elf-mailto when 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

Title:Does not work for CCK link fields» Support for CCK link fields
Version:5.x-3.x-dev» 6.x-3.x-dev

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.