Project:Pixture
Version:5.x-1.x-dev
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

I was wondering if someone could help me create an "above content" region. Basically a place where I can put blocks in above the content but still in the content box. I can't use the header box because it is outside of the content area and messes up the sidebar.

Thanks in advance.

Comments

#1

Category:feature request» support request
Assigned to:gthing» Anonymous

have you read = http://drupal.org/node/29139 ?

If so, where are you @ with regards to working with the examples provided?

#2

Pixture (at least the latest stable 5.x branch) does not have a regions function in the templates.php file. But it still shows regions.

Is the regions() function located elsewhere?

#3

my understanding if you add the regions function to template.php when you want to expand on teh regions already provided. The fact that there isn't a regions function tells me pixture uses drupals default regions which wouldn't require the function be placed in template.php until you choose to expand on default regions. This isn't any different than other themes which don't supply extra regions and as such don't use a regions function.

#4

So if you do use the regions function, will you have to create it for the 'defaults' as well as any new region or can I simply add 'above content' to the regions and the defaults will also stay.

Thanks

#5

Add them for the defaults also, you are over riding a function so whatever you put in there become the defaults, if you get my drift.

http://api.drupal.org/api/function/phptemplate_regions/5

#6

thanks for the help

nobody click here