[themes] Comment-wrapper is not used in my theme

Lee Rowlands leerowlands at rowlands-bcs.com
Fri Jun 11 10:18:57 UTC 2010


Hi Michael
Judging by http://api.lullabot.com/template_preprocess_comment_wrapper it
should work if foo is the type of your node (e.g. page etc).
In which case, maybe it's your theme registry needs to be refreshed/flushed.
If foo is not the node type then you'll need to implement
hook_preprocess_comment_wrapper and add your own 'template_files'
suggestions.
Lee


-----Original Message-----
From: themes-bounces at drupal.org [mailto:themes-bounces at drupal.org] On Behalf
Of Michel Morelli
Sent: Friday, 11 June 2010 7:45 PM
To: support at drupal.org; A list for theme developers
Subject: [themes] Comment-wrapper is not used in my theme

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.

-- 
Michel 'ZioBudda' Morelli                       michel at ziobuddalabs.it
Sviluppo applicazioni CMS DRUPAL e web dinamiche (LAMP+Ajax)
Telefono: 0200619074
Telefono Cell: +39-3939890025 --  Fax: +39-0291390660

http://www.ziobudda.net                         ICQ: 58351764  
http://www.ziobuddalabs.it                      Skype: zio_budda
http://www.ziodrupal.net       			MSN: michel at ziobuddalabs.it

						JABBER:
michel at ziobuddalabs.it

_______________________________________________
themes mailing list
themes at drupal.org
http://lists.drupal.org/mailman/listinfo/themes
Internal Virus Database is out of date.
Checked by AVG - www.avg.com 
Version: 8.5.406 / Virus Database: 271.1.1/2686 - Release Date: 02/13/10
19:35:00



More information about the themes mailing list