Ever wonder what exactly is available to you as a WCM Template author, or ADT wizard, or Theme developer? Ever forget the name of that weird request variable that gives you the current URL? Or wonder what happened to VelocityVariables in 6.2? Of course you have. Well, wonder no more! With this handy context dumper, you can see all of the available utilities, variables, their values, and their callable methods from your template, ADT, or theme context. Here's what it looks like:
It also dumps a hierarchical view of the
request variable at the bottom of the listing, for ADTs and WCM Templates:
Just copy and paste this code into your theme (should be compatible with 6.2 and 6.1), ADT or WCM template, and explore. If I had more skills as a designer I'd make this into some kind of auto-expanding AlloyUI table with music. But I don't, so I can't. Any volunteers?
Special thanks to Chaquotay for the base code. I had to modify it because if you try to do a deep expansion of everything (i.e. the
.data_model special variable), it opens a black hole in your server as it recursively tries to expand everything in the universe.