Also check to make sure the block is still active in the Block page. ------Original Message------ From: sebastian Sender: support-bounces@drupal.org To: support@drupal.org ReplyTo: support@drupal.org Subject: Re: [support] Custom block don't show Sent: Dec 3, 2009 3:26 PM
did you clear your site's cache? :)
Pablo L. de Miranda wrote:
Hi guys,
I'm creating a template and I have some custom templates for my blocks. So I looked the id for one block and was id='block-block-2'. So I created a block-block-2.tpl.php in my directory theme, but on load time Drupal is not loading this file with my block custom theme. Someone has a solution for this problem?
Att,
Pablo Lacerda de Miranda pablolmiranda@gmail.com
When I rename my block custom template to block.tpl.php and clean disable and enable my theme it's works but it apply to all blocks. But when I do the some things with the file name as block-block-2.tpl.php it's not work. I rewrite the pre process block function to be sure that the drupal have a template file name as block-block-2 and everything is normal. But it not load my custom file. When I rename my file to block-block.tpl.php it continues not working. I check, the block is active in my block admin page.
Att,
Pablo Lacerda de Miranda pablolmiranda@gmail.com