1. Install the devel module and enable it.

 

2.  Make sure that in your themes, page.tpl.php for example, you have the code as below:

<?php print $messages?>

 

 

3. Where you want to see the sub-variables of a  variable ($vars here is an example), just use the code:

<?php dsm($vars);?>

 

 

Note: When in Drupal 6, just remember if you put it in phptemplate_preprocess_page it will show you the available variables for the page.tpl.php. Likewise if you put it in phptemplate_preprocess_node it will show you the available variables for node.tpl.php.

相关文章:

  • 2021-12-02
  • 2022-12-23
  • 2022-12-23
  • 2022-01-23
  • 2021-11-12
  • 2021-09-19
  • 2022-02-15
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-09-08
  • 2021-06-19
  • 2022-12-23
  • 2021-05-31
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案