Filter can also be used for texts other than $node->body. For example views header and footer messages. There needs to be a default setting.
Filter can also be used for texts other than $node->body. For example views header and footer messages. There needs to be a default setting.
Comments
Comment #1
alpha2zee commentedCan you please clarify your point? I am relatively new to Drupal.
Comment #2
alpha2zee commentedI think I get the point. Third-party modules like Views and CCK allow for text to be input in non-body (or teaser) fields (e.g., 'Header' in case of views, a custom text-field in case of CCK, etc.). The htmLawed module needs to accommodate them.
Comment #3
casey commentedYes, that's what I mean. So a default setting like proposed in #255037: Default settings is a nice solution.
Comment #4
alpha2zee commentedThe requested feature is available in the upcoming version 2.
Comment #5
bwo commentedIt seems that it still isn't possible to filter custom CCK text fields before save.
Comment #6
alpha2zee commentedThe 'filter before save' option, as well as the 'content-type-specific settings' option, work only for the default Drupal text fields ('body' and 'comment'). They are not available for other text fields like the CCK fields (CCK module) and the header fields (View module), perhaps because I have to figure out how the text-field-specific input is processed/stored by the modules.
Comment #7
alpha2zee commented