By kevinsteger on
I am trying to create a zen sub-theme and would like to modify the comment block.
I have the folders:
/zen
/myzen
where /myzen is the sub-theme. comment.tpl.php exists in /zen. I don't want to modify it there, rather, create my own copy in /myzen. How do I do this? If I just copy it over and make the edits in the /myzen/comment.tpl.php it does not change anything even after clearing caches, etc. What do I need to do?
Thanks.
Comments
.:
Copy page.tpl.php to your subtheme folder if you havnt copied it yet. As far as i know it should be there to edit any template file.
------------
Volvo, Video, Velcro. (I came, I saw, I stuck around.)
copy both comment.tpl and
copy both comment.tpl and comment-wrapper.tpl, i believe you need the comment-wrapper.tpl
page.tpl.php already
page.tpl.php already existed.
I copied the comment-wrapper file over as well.
Restarted apache
Cleared browser cache, etc.
It just seems to be ignoring the file. Where does zen actually reference the comment files? It's like it's being ignored.
Thanks for help I'll keep trying.
=-=
comments are called after node.tpl.php I think. Is node.tpl.php part of your subtheme?
Yes node.tpl.php is in there.
Yes node.tpl.php is in there. The sub-theme i started with was Zen 960 and It's got all of the .php templates except it didn't have comment.tpl.php and I can't figure out why it doesn't pick up on my version of the file.
=-=
after you added the comment.tpl.php file did you clear your theme registry and database cache?
No :) Thanks, that fixed
No :)
Thanks, that fixed it.