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

      Users Viewing This Page

      Collapse

      There is 1 user viewing this forum topic.

      • Guest Guest

      Latest Posts

      Collapse

      Working...
      X
      Searching...Please wait.
      An unexpected error was returned: 'Your submission could not be processed because you have logged in since the previous page was loaded.

      Please push the back button and reload the previous window.'
      An unexpected error was returned: 'Your submission could not be processed because the token has expired.

      Please push the back button and reload the previous window.'
      An internal error has occurred and the module cannot be displayed.
      There are no results that meet this criteria.
      Search Result for "|||"