Can I remove C5 JS code from Public Site? Is it used?
PermalinkI've blocked the theme's JS in edit mode (so I can build my site) but in the normal Public View mode the dropdowns don't work because it is conflicting with C5's JS included in the head:
<script type="text/javascript"> var CCM_DISPATCHER_FILENAME = '/index.php'; var CCM_CID = 1; var CCM_EDIT_MODE = false; var CCM_ARRANGE_MODE = false; var CCM_IMAGE_PATH = "/concrete/images"; var CCM_TOOLS_PATH = "/index.php/tools/required"; var CCM_BASE_URL = "http://mysite.com"; var CCM_REL = ""; </script> <link rel="stylesheet" type="text/css" href="/concrete/css/ccm.base.css" /> <script type="text/javascript" src="/concrete/js/jquery.js"></script> <script type="text/javascript" src="/concrete/js/ccm.base.js"></script>
Questions:
1) Does this code have to be in the Public View of my site?
(I don't even know what it does :)
2) If not, how do I hide it/remove it?
Cheers!
