How to make a page look like it would have w/o tpl Say, for example, I want to customize the edit user page, so I have created a user-profile.tpl.php. Is there a way to echo out what the page would be normally? What variables should I have access to?

I have tried var_dumping $node, $form, $page, $content, and $user_profile and all but the last are null...

print render($user_profile); results in a list of profile fields, but not the edit-user page that I get without the tpl file.. (where you can change password, email, etc.

I'm curious for pages/nodes/etc in general, not just this particular one. It's an issue I always struggle with.
To see the array $var / $variable -

echo "&lt;pre&gt;";
print_r($var); //or $variable whichever is applicable.
echo "&lt;/pre&gt;";


This will output the entire $var/$variable array in structured manner and you can find out all the data available in your tpl.

Hope that is of some help...