Hi, can anyone help me. I must be missing something really obvious here.

I want to add another region to Framework so that I can add a big picture banner under the navigation bar.

To do this I have followed the very helpful posts about how to do this but my new region just doesn't show up.

Here is what I have done so far:

I added the new region to the .info file like so

regions[left] = Left sidebar
regions[right] = Right sidebar
regions[content] = Content
regions[header] = Header
regions[footer] = Footer
regions[jesbanner] = Banner

Then I added the following php to the page.tpl.php file

if ($jesbanner):

print $jesbanner

endif;

I added some css to the style.php

#jes-banner {
margin: 0;
padding: 0;
height:200px;
background-color: #333333;
}

Lastly I emptied the cache as instructed

1. site configuration / performance and clear cache.
2. going to site building / themes and re-enabling my framework theme

The region doesn't show up in the list when I go to enable blocks so its obvoiusly not recognising the change to the .info file

Hope you can help

Thanks

Comments

andregriffin’s picture

I assume you have already read my post here: http://drupal.org/node/242107#comment-798428

If you're region is still not showing up after checking your code for errors with the above guide as a reference, I'm not sure what else I can do for you. Other than a typo or a misplaced file upload, I have no idea what could be causing this problem...

fibie’s picture

Hi there,

Yes it was your post I was following and my code as far as I can see follows yours correctly.

I am stumped too - if I find the answer I will post it here.

Thanks

Drandarian Grey’s picture

Fibie did you fix the problem for this?

DG

fibie’s picture

Hi there,

I'm afraid I gave up and used a different template due to time pressures

andregriffin’s picture

I can't seem to recreate the issue. Has anyone else had this problem?

fibie’s picture

Hi folks,

Well I had another go on another site I am building and it worked fine this time round so I tested it on the other site I originally wanted it on and it worked perfectly there too.

I can't say I did anything differently except that I am now installing on Drupal 6.8 so perhaps this is the reason.

So, problem solved - install on the latest version of Drupal!

andregriffin’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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