/ Published in: PHP
![](/img/icon_sav.png?v3)
An easy debug trick: gives you a variable that you can print in any tpl.php to find out what vars you have available there.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/** */ function _phptemplate_variables($hook, $vars) { //... $vars['args'] = $vars; //TODO: remove this debug variable. return $vars; }
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)