Closed (fixed)
Project:
Drupal core
Version:
5.0-rc1
Component:
block.module
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
30 Dec 2006 at 19:32 UTC
Updated:
22 Jan 2007 at 21:16 UTC
I have the Gallery Grid Block set to display in the Contents section, and because I want it to appear on the top of the home page (although not in the header), I weighted it at -1. However, all my forum topics which are 'promoted to front page' seem to take precedence - the gallery block just displays at the bottom.
Regardless of what weight I choose (0, -10) it doesn't work.... I originally posted here: http://drupal.org/node/105922
Comments
Comment #1
capitaine commentedwondering if I posted this in the wrong forum..? should it be in the Gallery module issues forum?
Comment #2
webchickYeah... the Drupal project is only for problems with Drupal core. For any contributed modules, you use their project to file issues.
Comment #3
kiz_0987 commentedCan you please try doing the same thing with a different block. There is nothing special about the Gallery Grid block code, so I do not understand why it (specifically) should be a problem.
Comment #4
capitaine commentedNope, its not confined to the Gallery Grid block. I tried an RSS feed block and also the Who's online block, each time putting the block in the Contents section and weighing them at 0, -4 etc and then going to different areas of the site....
But it makes no difference: they never appear at the top of the page!
Comment #5
kiz_0987 commentedMoving back to a Drupal issue as seems not to be related to the Gallery module.
Comment #6
ChrisKennedy commentedBetter title.
Does this occur for content types other than forum posts that are promoted to the front page?
Comment #7
capitaine commentedYes.. Any content type that is 'promoted to front page' seems to think it has been 'promoted to the top of the front page'. This is a an issue, as obviously I will need some content promoted to the front page, but I do NOT want it overriding the weighting of other blocks/content. Hope this helps.
Comment #8
webchickHm. Isn't this by design? The content region is inside the content. If you want something above the content, you'd put it in the header region, or create a new region. Or do I misunderstand?
Comment #9
capitaine commentedit cannot be by design because it doesn't make sense. As I said, 'promoted to front page' does NOT imply it has to take precedence over every other content on the front page. It just means it has to be displayed there, but the weighting options for any other content should take priority.
If one of the options for a block's placement is to put it in the content, then the weighting funtionality ought to be honoured.
It can't go in the header.
Comment #10
capitaine commentedwill this be looked at?
Comment #11
RobRoy commentedThis is by design, but we should add to this issue http://drupal.org/node/107794 to define a content top region (and rename t('content') to t('below content')) since this will probably pop up a lot. Normal content will always appear above any blocks in the content region.
You want something like this:
In template.php:
In page.tpl.php ABOVE where it says something like
print $content;put this:print $content_top;Then put any blocks you want in the content top region.
Comment #12
RobRoy commentedSee http://drupal.org/node/29139.
Comment #13
(not verified) commented