Revision: 3937
Updated Code
at October 4, 2007 12:55 by marcoba
Updated Code
<pre><?php print htmlentities(print_r($vars_data, 1)) ?></pre>
Revision: 3936
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at October 4, 2007 11:10 by marcoba
Initial Code
<?php drupal_set_message('<pre>'. print_r($node, TRUE) .'</pre>'); ?>
Initial URL
http://www.group42.ca/theme_variable_total_visibility
Initial Description
Drupal snippet: outputs all theming variables of a content type or page. Add to template.php the following function: function _phptemplate_variables($hook, $vars) { return array('vars_data' => $vars); } then add the snippet to the relative node.tpl.php file.
Initial Title
Drupal: output theme variables
Initial Tags
php, drupal
Initial Language
HTML