By Attila on
I'm completely new to drupal's template- and webdesign-system, so I have some questions about the regions on a page. I would like to have a lay-out wich has different regions on the frontpage, and different regions at the other pages.
I already know how to add new regions but this is somewhat more difficult. Here you can see the regions I would like to have: http://www.modital.nl/drupal.jpg
Comments
2 options
1. Use the Panels module. This will enable you to subdivide your pages into panels and easily place bits of content there. You might have a bit of trouble with the 'left sub, right sub' part of the front page, but you can deal with it by embedding 2 views (using Insert Views) or Panels (using mini panels) inside one pane.
2. Use a seperate theme for your front page - one that inherits from the theme you use for the rest of your site, but has a seperate .info file (where you declare the regions) and page.tpl.php. You can use the Taxonomy Theme or ThemeKey modules to ensure that page is used just for front page.
Hi
Hi
It is very much possible using page.front.tpl.php. Create this file in your theme directory and then you can achieve this either using css or php code. For internal pages you can use page.tpl.php.
I hope this will help you.
Regards
Devender
_
FYI the correct name of the file is page-front.tpl.php.
Thanks for your comments! So
Thanks for your comments! So what would be the best method? On this page (http://modital.nl/TSDpreview/) you kan see a preview of the layout. The "Nieuws"-section is the "left-main" part of the page, the slider and the "Artikelen"-section are the "right-main" of the page and then it seperates into "left sub" and "right sub".
Thanks again!
Attila
If your getting 12,000 hits a
If your getting 12,000 hits a day I would stay away from panels. Try the composite module. http://drupal.org/project/composite I haven't used it. I heard about on the drupal.org front page case study of france24.