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

yched’s picture

Hm, 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...