Active
Project:
Content Construction Kit (CCK)
Version:
6.x-2.1
Component:
content.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Feb 2009 at 10:32 UTC
Updated:
10 Feb 2009 at 12:14 UTC
If i use the name of my theme (mytheme_preprocess_content_field()) or custom module (mymodule_preprocess_content_field()) it will work, so one would expect phptemplate_preprocess_content_field() to work as well, yet it doesn't. I've placed it in template.php of the active theme.
It's not critical, but being able to use the phptemplate_ prefix is useful when sharing code between themes, in this case for posting a code snippet.
Comments
Comment #1
yched commentedHm, AFAIK CCK registers its template just like any other module, so I'm not sure what it is doing or not doing that would cause this specific behavior just for the content_field preprocessor...