Insert Firebug Lite inside the FirstSpirit JavaClient

Community Manager
Community Manager
2 0 182

Wouldn't it be great to use Firebug Lite (What is Firebug?) within the preview of your JavaClient and to switch it on and off, just like you need it?


Let me tell you, that you're just two steps away from it.

First Step

Add the following code to your projectsettings-template:

<CMS_INPUT_TOGGLE name="ps_firebug" type="radio" hFill="yes" preset="copy" singleLine="no" useLanguages="no">


          <LANGINFO lang="*" label="Firebug" description="Firebug"/>



          <LANGINFO lang="*" label="Deactivate"/>



          <LANGINFO lang="*" label="Activate"/>



Second Step

This single line inside your standard-page-template will insert the Firebug inside your JavaClient:

$CMS_IF(ps_firebug && #global.preview)$

     <script type="text/javascript" src=""></script>


Last of all activate the Firebug and there you go