By topwaya on
I have a block that I would like to appear on the front page, always at the top, that tells users what to do when they first get there (register, creat profile, etc.). I have the block in the top of the content region and only displaying on the front page - but the dynamic information (blogs, etc.) is posted above the block, how do I get the block at the top of the front page?
Thanks :)
Comments
Create a new region and set
Create a new region and set it in the template.php of the theme, then assign the block to that region and only that block. Nothing else will appear first.
You can also adjust the weights.
Either will work.
==============
delaware web design
delaware website design
===========
read my thoughts
weight block
Thank you - what's really weird is that when I got to Adminster > Blocks and it lists my blocks, I noticed that (just once) I saw all the "weight" boxes next to the region boxes. The weight boxes were only there for a flash and then they went away. I just see the region select box, and the the throttle check box and operations link, Am I crazy? Is there any where else to weight a block?
Thanks much - I am such a newbie!
regions or weight?
After reading more, I am using drupal 6.2 - so I've read that the template.php is no longer used for defining new regions, instead I could use .info files. However, I'd rather just simply use "weight" but I can't seem to find this.... where am I not looking? Thanks very much for any help!
turn off javascript to see weight in 6.x blocks
OK, I read in another post that in order to see the "weight" in blocks in 6.x I needed to disable javascript. But the weight is correct. In the content area, I have the TOP MESSAGE weighted to display first in the content region, and it does display before all the other blocks in the content region.... but the stuff that has been promoted to the front page appears above this TOP MESSAGE, I would like the TOP MESSAGE to display first, no matter what. Any way to do this without messing with the templates? Or if so, are there instructions posted anywhere? I don't really understand the ".info" stuff I read. Thanks for any help!!
Zen Theme
I was trying to figure this out and accidentally found that the Zen theme and has a content top and a content bottom. So you just place the block for the home page in the content top and it works...
All themes are different. If
All themes are different. If the theme you are using has no way to put a block where you want it, you have to create the regions manually.
==============
delaware web design
delaware website design
===========
read my thoughts
Any tutorial on that?
Do you know of any tutorial on how to creat the regions manually?
Thanks
A tutorial
I've just found one tutorial for Drupal 4.7
Read it at http://www.nicklewis.org/node/846
Unfortunately it won't work for Drupal 6 but may be similar, I'll see if I can use it as a guide.
Anyone knows a similar tutorial for Drupal ?
useful Drupal 6
I've found this;
http://drupal.org/node/171224
It should do the trick :-)