I have a *.ctp template with some HTML that's aimed to be converted into PDF with the CakePDF plugin. In the development phase I have set CakePHP debug level to 2
and that causes all DebugKig stuff to show up in the rendered view:
<link rel="stylesheet" type="text/css" href="/debug_kit/css/debug_toolbar.css" />
<script type="text/javascript">
//<![CDATA[
window.DEBUGKIT_JQUERY_URL = "/debug_kit/js/jquery.js";
//]]>
</script><script type="text/javascript" src="/debug_kit/js/js_debug_toolbar.js"></script>
<div id="debug-kit-toolbar">[...]</div>
I don't need it and most PDF engines go berserk with it. Is there a way to get rid of it, either in this specific view or in all PDF templates?