Hello, I am currently working on a custom template for our website. I have really liked what I've figured out in drupal, but there is a LOT that is still over my head.
Right now, our site will be configured so that users cannot sign up (taking advantage of this will be later in the dev of our site) and only admins will be the ones creating content. I was able to figure out how to get the main admin page to display a different theme (garland I believe) and all pages for non-authenitcated users (the only kind now) see my custom theme.
The problem is that many content creation pages, or anything 1 or two clicks deep from the main admin page requires the use of the left sidebar. My design simply is not set up to accomidate the side bar and I would MUCH rather put *ALL* admin pages behind the admin theme. Why spend extra time getting my template to not break for the admin pages when garland does it perfectly already?
The main problem this causes is either making the navigation very hard to use, or if I remove the sidebar block... no navigation ability at all!
Examples:
/drupal/admin/ -> admin theme
/drupal/admin/build/ -> admin theme
/drupal/admin/build/blocks/ -> custom theme
/drupal/node/add -> custom theme
I know there are other forum topics on this, but I was unable to find a direct answer to this question.
This thread gives some good information about how to label .tpl files to display for certain node names, but I am not sure how the syntax to do that works. That article also does not explain how to select (or force) the different themes.
So here are my two questions:
1. How can I force a different template to display on the pages I mentioned above (and others I find)?
2. How can I determine the type of user accessing the page and change display accordingly? (i.e. display certain links for admins only, or in the future when users are allowed to create content, showing them the correct theme)