Hello,
I have a problem after many actions : I can’t no more use <?php ?> in templates because when I load my page, the system comments () my php strings and I have a JS error in my console : “Uncaught TypeError: Cannot read property 'editMode' of undefined
” on the following line :
$(function() {
if (window.sitecakeGlobals.editMode !== false ) {
$.getScript('js/menu.js');
$.getScript('js/modernizr.js');
}
});
How can I resolve that issue ?
Best regards