http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13948
Jonathan Druart <jonathan.dru...@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #39245|0 |1 is obsolete| | Attachment #39246|0 |1 is obsolete| | Attachment #39247|0 |1 is obsolete| | --- Comment #22 from Jonathan Druart <jonathan.dru...@biblibre.com> --- Created attachment 39459 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39459&action=edit Bug 13948: Add ability to dump template toolkit variables to html comment It would be incredibly helpful if we could easily enable Koha to dump all Template Toolkit variables to a comment for debugging purposes. Test Plan: 1) Apply this patch 2) Run updatedatabase 3) Enable the new system preferences DumpTemplateVarsIntranet and DumpTemplateVarsOpac 4) Load a page in the staff intranet, view the html source 5) Note the template toolkit variables are embedded in an html comment 6) Load a page in the opac, view the html source 7) Note the template toolkit variable are embedded in an html comment NOTE: I had to cpan2deb Template::Plugin::Stash to test. This is not optimal. Additionally: http://www.template-toolkit.org/docs/modules/Template/Plugin/index.html does not contain Stash. I suspect this was how it was introduced initially by TT. Signed-off-by: Mark Tompsett <mtomp...@hotmail.com> Signed-off-by: Bernardo Gonzalez Kriegel <bgkrie...@gmail.com> Signed-off-by: Jonathan Druart <jonathan.dru...@koha-community.org> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/