[development] Node Rendering Debate

Moshe Weitzman weitzman at tejasa.com
Tue Jun 26 17:40:05 UTC 2007


OK, I guess I should have just pasted the commented out line. It prints 
all the variables that are available, dynamically. It deals with the 
"bunch of sources" problem just fine.

// Uncomment the line below to see what data is available in this template.
# print '<pre>'. check_plain(print_r($account->content, 1)) .'</pre>';


Earl Miles wrote:
> Moshe Weitzman wrote:
>> The new user profile .tpl.php files include a line which prints this 
>> information for the themer. See modules/user/user_profile.tpl.php in 
>> HEAD, for example.
> 
> Which works great for .tpl.php files that aren't too likely to have 
> random variables added into them.
> 
> Unlike the node table which is going to have data from a bunch of 
> sources that is going to vary. A lot.


More information about the development mailing list