Hi all. I need to render foo node's comments with my graphic so I have created
comment-foo.tpl.php. and it works.
Now i need to enclose comments in a div with class bar:
<div class="bar"> <h3>Commenti dagli utenti</h3> <?php print $content; ?> </div>
I have created comment-wrapper.tpl.php file but it does not work. So I have created comment-wrapper-foo.tpl.php but it does not work again.
Where is my error ?
M.
Out of curiosity, did you clear Drupal's cache after adding the file so that the theme registry would rebuild?
Jamie Holly http://www.intoxination.net http://www.hollyit.net
On 6/11/2010 5:45 AM, Michel Morelli wrote:
Hi all. I need to render foo node's comments with my graphic so I have created
comment-foo.tpl.php. and it works.
Now i need to enclose comments in a div with class bar:
<div class="bar"> <h3>Commenti dagli utenti</h3> <?php print $content; ?> </div>
I have created comment-wrapper.tpl.php file but it does not work. So I have created comment-wrapper-foo.tpl.php but it does not work again.
Where is my error ?
M.
Jamie Holly ha scritto:
Out of curiosity, did you clear Drupal's cache after adding the file so that the theme registry would rebuild?
Yes but I have found this think: if I use mytheme_comment_wrapper() function I can not use comment-wrapper too. (I have not created mytheme_comment_wrapper(), but Artisteer do it!!!! Why graphic workers need to use this type of program ????. GRRRRRRRRR.)
However thanks.