Yes, I know that wordpress is not a CMS and is limited compared to drupal. However, it's extremely easy to use multiple different page templates - all you have to do is put

/*
Template Name: whatever
*/

at the top of a page, and you've got yourself a new template by that name.

In drupal, sure you can create many different types of nodes but then there's the frame around it that is controled by page.tpl.php. You can use a custom page.tpl.php for your admin and front page, but what if you want more page.tpl.phps? What kind of hoops do you have to jump through to get that?

Perhaps I don't understand drupal well enough. If that's the case, someone please enlighten me.

Comments

bjornarneson’s picture

See handbook "Customising full page layouts and sections"
http://drupal.org/node/46006

sodani’s picture

That handbook appears to be about how to customize the page.tpl.php, and not how to incorporate more templates unless I'm reading it wrong.

eaton’s picture

...Is to install sections.module. It allows you to use a completely different Drupal theme for every page on your site if you want to go that far. It's more commonly used to display a different theme for, say, an image gallery and a blog.

--
Jeff Eaton | I heart Drupal.

--
Eaton — Partner at Autogram

sepeck’s picture

It's becuase Wordpress is not a CMS that it's easier. With flexibility comes complexity.

Look at the sections module

See Micehal's site
http://urlgreyhot.com/personal/weblog/redesign_phase_1_more_drupal_and_t...

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide

thanushka’s picture

I have been spending lot of time lately with drupal 6 theming hand book and still didn't see an easy way to make drupal look like what i want. (a theme that has different looking (layout and content) templates for home page, about us, contact us, products, faq.

I tried several options and found out doing a html page as i want and convert it to a tpl.php (copy paste those php snippets and re name your page). was the easiest. but still struggling with sub sections like about us, etc. i found a php code that i can paste on template.tpl.php page that can detect page-about-tpl.php and so on and apply. when i do that page-front.php.tpl loose its hold on the front page look and feel.

i read that we have to tell drupal to pic up our templates for so and so parts in (preprocess) template.tpl.php page and being a designer I have no idea on how to write that php stuff. is there anyone who can help? is there any tutorial that i was too numb to miss?