Hello all,
Iam using 4.7 and use the bluemarin template.
I want to change and add some div to myblocks but the template engine wont read my dives!

Can someone help me with this?

Best Regards,
Sotoodeh

Comments

holydrupal’s picture

I forgot to say that I was able to add Div tags in Drupal 4.6 :(

sepeck’s picture

Well, Blue Marine in 4.6 was xtemplate base. Blue Marine in 4.7 is phptemplate based so you might want to post what you are trying to do so we can see the code. Don't forget to use code tags.

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide

holydrupal’s picture

I couldn't remove or change anything in block.tpl in phptemplate folder!

I tried to remove the:

  <h2><?php print $block->subject ?></h2>

but nothing will change!
I refreshed my browsers and tried Ctrl+F5 but no way....
:(

pbarnett’s picture

I seem to recall reading somewhere that you have to visit admin/themes before the theme engine re-reads the files...

nevets’s picture

You really want to modify the one for your theme, so if your theme is called 'sometheme', you want to modify themes/sometheme/block.tpl.php (not the one under engines/phptemplate).

holydrupal’s picture

I found the problem!
(not the one under engines/phptemplate)

You were right I shouldn't modify the engine template!
But in past with 4.6 I could do that!

anyway thanks alot for helping me
Best Regards,

nevets’s picture

You should be able to modify block.tpl.php to reflect the changes you want.