Announcement

Collapse
No announcement yet.

See all variables available to a template

Collapse
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

    See all variables available to a template

    In PHP I would do something like:

    Code:
    <div style="display: none;">
    <?
    echo "<pre>";
    print_r(get_defined_vars());
    echo "</pre>";
    ?>
    </div>

    Can something like that be done in the templates?

    #2
    Check section {vb:debugvardump} this is what you are looking for.

    Code:
    https://www.vbulletin.com/docs/html/main/dev_vbulletin5_template_syntax

    Comment


      #3
      Originally posted by zoran_dj View Post
      Check section {vb:debugvardump} this is what you are looking for.

      Code:
      https://www.vbulletin.com/docs/html/main/dev_vbulletin5_template_syntax
      Yes it was. Thanks!

      Comment

      Working...
      X