By sodani on
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
See handbook "Customising
See handbook "Customising full page layouts and sections"
http://drupal.org/node/46006
That handbook appears to be
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.
One simple solution...
...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
It's becuase Wordpress is
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
I wish Drupal will make theaming simple for us visual people
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?