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
Description

Great mod, thanks for that!.

I noticed it does not work for CCK link fields.

#1

Xano - January 16, 2009 - 21:12
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

Xano - January 16, 2009 - 23:48
Version:5.x-2.0» 5.x-3.x-dev

#3

Xano - January 17, 2009 - 10:33
Status:postponed» active

#4

adrinux - January 18, 2009 - 21:11

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

Xano - January 18, 2009 - 21:39

This class would be elf-external or elf-mailto when using 5.x-3.x-dev.

#6

Xano - January 18, 2009 - 23:25

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

Golem07 - October 12, 2009 - 07:04

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

Xano - October 12, 2009 - 07:34
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.

 
 

Drupal is a registered trademark of Dries Buytaert.