Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I am creating a custom theme, and I need different page layouts depending on the node types. I can't use the node--xxxxx.tpl.php template, because I need control on the page layout outside the content of the particular page.
How can I do this?
There's a module for that: the Context module is what you need.
You can do it with page-[type] via preprocess functions.
Required, but never shown