/ Published in: PHP

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
