Closed (works as designed)
Project:
Drupal core
Version:
6.x-dev
Component:
block.module
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 Apr 2006 at 12:19 UTC
Updated:
11 Nov 2007 at 18:45 UTC
I've just upgraded to 4.7.0-rc2 and I can now put blocks at the bottom of the content area.
Changing the weights of these blocks reorders them, as normal.
I would like to have negatively weighted blocks to appear *before* the content
(imagine the actual content itself has weight zero).
This would allow you to place a notice in certain areas of your site.
Zero, or positively, weighted blocks would appear after the content.
Cheers,
FlatCap (Rich)
Comments
Comment #1
pfaocleYou can always add in your own new region above the content?
Comment #2
flatcap commentedRegions? Hmm... I hadn't come across those. Nice. They're a little beyond me for now; I'm still playing about theming flexinodes.
Thanks for the suggestion.
Cheers,
FlatCap (Rich)
Comment #3
casey commentedPretty good idea I think; the content generated per page should be a put into a block, so themes can define their own content region. This makes theming more flexible: others blocks can be put easily above the content-block in the same region.
I am not sure if it is already possible, but when something like this will be implemented, it should be possible to put certain blocks by default in certain regions (content-block in content-region).
Comment #4
sgomez commentedI am having a problem with this too.
I create a new block and added to the content area with a weight of -10.
However, it still shows at the bottom of page. I am using the bluemarine theme.
What am I doing wrong?
Comment #5
pfaocleThe 'content' region is always under the other content in Drupal's default themes, AFAIK. The weights of blocks placed within the region will only affect the ordering within the region.
You can add in a new region above your main content by checking out the regions handbook and editing your theme's page.tpl.php file.
Comment #6
casey commentedComment #7
quicksketchThis is an unnecessary feature request. As others have pointed out, adding another region above the content is the correct solution. Check out the Zen or Blue Jazz themes to see additional regions in action.