26 Jun
2007
26 Jun
'07
7:40 p.m.
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.