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):
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
Comment #1
andregriffin commentedI 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...
Comment #2
fibie commentedHi 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
Comment #3
Drandarian Grey commentedFibie did you fix the problem for this?
DG
Comment #4
fibie commentedHi there,
I'm afraid I gave up and used a different template due to time pressures
Comment #5
andregriffin commentedI can't seem to recreate the issue. Has anyone else had this problem?
Comment #6
fibie commentedHi 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!
Comment #7
andregriffin commented