ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Something like pint_r or var_dump

May 14, 2012 9:24am

Subscribe [2]
  • #1 / May 14, 2012 9:24am

    Dominiq

    18 posts

    Is there some function I can write in tags channel categories or entries that will work like print_r or var_dump in php?

    Example:

    {exp:channel:categories}
        {print_r} or {var_dump}
    {/exp:channel:categories}
  • #2 / May 15, 2012 11:36am

    Pv Ledoux

    95 posts

    What do you need to output exactly? All the content of the channel entries?

  • #3 / May 17, 2012 3:26pm

    Dominiq

    18 posts

    I did have some cases when I did have good ID of item in loop but other variables name where empty.
    I was also testing some add-ons and I wanted to print all variables that was in loop.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases