In a site I am working on, I have one block whose title needs to be the username of the currently logged-in user. I was able to get this feature working in another theme by modifying the block.tpl.php file:

How can I get the same effect in Omega? I tried using the same block.tpl.php file that I used for the other theme -- but it appears to have no effect.


fubhy’s picture

Status: Active » Fixed

Omega allows you to do such eddits to your block.tpl.php aswell. Please re-check your code. It should be working if everything is in place (proper file names, etc.). Also make sure that you clear your cache after adding a new block template.

Katrina B’s picture

Version: 7.x-1.0 » 6.x-1.0
Status: Fixed » Active

I mistakenly set the version for this issue to 7.x-1.0; it should be 6.x-1.0. Should the block.tpl.php file work for the 6.x version of Omega? I've tried putting a block.tpl.php file in the Omega Starter Kit folder, and I flushed all caches -- but Omega appears not to be picking up the changes. Any assistance would be greatly appreciated.

marcoka’s picture

you put it in the root of you subtheme and flushed all caches. thats how i always override my tpl files and it works.

blischalk’s picture

I was encountering this same issue and then realized that you need to copy block.tpl.php from the main drupal directory into the Omega theme because one isn't there by default and then you can create your block specific template file.

marcoka’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.