I'm trying to get the page to come up from it's own tpl file, like i do with nodes. I have the theme developer turned on and this is what it says:

Template called:
page.tpl.php
File used:
themes/garland/page.tpl.php
Candidate template files:
page-node-add-page.tpl.php < page-node-add.tpl.php < page-node.tpl.php < page.tpl.php

I tried all 4 suggested tpl files , but none work...

Comments

Rowanw’s picture

Since you haven't mentioned it yet; have you cleared your theme registry?

LuckyBamboo’s picture

I cleared the cache using the devel module, from what i know i also clears the theme registry

ludo1960’s picture

.. why it doesn't work?? Should do!

LuckyBamboo’s picture

could someone please try it and confirm getting the same result

LuckyBamboo’s picture

i realized that in /node/add/page the page.tpl of the Garland theme is used, not even my own theme's tpl. That may be a clue to someone who understands Drupal better than i do.

vm’s picture

clearing cache does not entirely clear the theme registry based on documentation I've seen somewhere. There are instances where you would need to visit the administer -> themes screen which clears the parts of the registry that a cache clear does not.

Edit: Comment above is incorrect,clearing cache also clears the theme registry per : http://drupal.org/node/173880 under theme registry.

Rowanw’s picture

That sounds like a configuration option in Drupal, go to Site configuration > Administration theme, ensure that "Use administration theme for content editing" is unchecked..

LuckyBamboo’s picture

you nailed it, I could have wasted many more hours to figure that one out.... thank you!