Hi all,

I'm discovering Drupal as I stroll along my way building a little website for a sporting event. I've found out how to make my own modules, that's fine and really easy to do.
Now I'm making my nice little theme and this is when the problems start!
What I'm willing to do is to place my blocks in various places on my page. For example, I want to have the user login block displayed horizontaly at the top right of my page juste bellow the search box. While this, the Syndication block should be in the footer and the navigation nicely on the left.
I'm using xtemplate + css theme engine (like the bluemarine theme) I can't figure out how to manage.

Is it possible? If so, could someone give me a few clues to proceed?

Thanks!

Comments

robertDouglass’s picture

4.7 allows you to define arbitrary block regions.

- Robert Douglass

-----
My Drupal book: Building Online Communities with Drupal, phpBB and WordPress

P-o-P’s picture

Perfect!
Migrating from 4.6 to 4.7 then!

aidanodr’s picture

Hi P-o-P,

I may be wrong - as I too am a relative newb, but I think to define ones own Regions [ I have done this here - http://www.tidalsound.com/az ] one needs to be using the PHPTEMPLATE engine and a Theme that works with this engine. I say this as I note you mentioned X-Template. Have a look here:

http://drupal.org/node/29139

As a novice PHP type person - It was trial and error to make sure the syntax was correct, relative to whats in the new added Template.php file and the theme's page.tpl.php file. That the variables are written the right way around in both.

I think the BLUE MARINE theme in 4.7 is now rejigged to work with the PHPTEMPLATE engine, which is also included with the 4.7 zip file.

If this is all true, it may mean you have some conversion to do.

In my site above the two areas at the top - the clickable mp3 download section and the intro piece under it starting with AZZURRO is the Italian .... are new additional regions with simple new blocks added with that very html and image content.

Hope this is all correct and of help,

Cheers
Aidan O DRiscoll