projects / org / ezpublishlegacy / bfdebug
Find the Exponential Software extensions you want
UNIX name | Owner | Status |
---|---|---|
bfdebug | eZ Publish Legacy | stable |
Version | Compatible with |
---|---|
N/A | N/A |
Provides enhanced debug functionality for eZ Publish.
Specifically, it
Written in eZPublish 4.4, and tested in eZPublish 4.6-4.7.
Dependencies: None.
None.
None.
bfdebug is an eZ extension. Just drop it into your extensions and enable it.
Provides nicely formatted layered debug output. A replacement for attribute(show).
Dependencies: jQuery loaded somewhere in the page.
Usage: {$item|bfdebug($depth, $params)}
Returns all local, global, and namespaced variable names available to the current template.
Example: {bfdebugvars()|bfdebug(2)}
Returns all conditions and their values that could be used to do an override in the current module/page.
Example: {bfdebugoverrides()|bfdebug(2)}
Returns all template operators, functions and function attributes available.
Example: {bfdebugoperators()|bfdebug(2)}
Echoes out many common cache settings in a comment. Useful for verifying cache settings on a production website.
After including this template, view source and search for "bfdebugcache".
Take out the include once you're done. Not that it would really hurt anything to leave it, but it's bad form.
Example: {include uri="design:bfdebugcache.tpl"}
Used to find all places a template is used by spidering all ez nodes, and examining output. If the correct unique string is found, the script will offer a stacktrace-like output to find out what the sequence of template inclusion/execution was.
To use,
You would use this script if you arrive at an unknown site, and want to know precisely what the impact will be of changing a generic "listitem" rendering of a node/class.
Adds a toolbar to the debug section allowing you to easily show/hide Debug and Notice messages.
(for bfdebug operator)