Debugging Layouts

As of March 2017, Branch Code is deprecated and no longer developed. Use the Twig syntax instead.

There are times when you are working in a content layout that you need some more information about the variables available on the page. There are two ways to do that.

1) Use the "debug" variable modifier.

The debug variable modifier will output the current value of a particular variable. If the variable is an array then all parts of the array will be outputted.

2) Use the special "apDebugAllVars" tag.

Placing {apDebugAllVars} in a content template will output all variables available to the page.