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.