I'm trying to customize comments on my site, and wanted to use the mytheme_preprocess_comment() functionality to alter some of the comment variables, so I followed the directions and uncommented the line that disables it.
But the function does not ever fire. I can even put deliberate errors into it (nonexistent function names, etc.) and the function is never called.
I've tried rebuilding the theme registry, clearing caches, etc.
Any pointers?
Comments
Comment #1
johnalbinThey definitely work fine.
Did you rename the preprocess function from STARTERKIT_preprocess_comment to foo_preprocess_comment (where "foo" is the name of your sub-theme)? The "how to create a sub-theme" instructions say to do that.
Comment #2
geerlingguy commentedFor the airyblue theme, here's the code I used to get preprocess_comment to work (just FYI):
Comment #3
akalata commentedClosing old and inactive support requests.