Comments on <?php ?> and JS issue


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 ) {

How can I resolve that issue ?
Best regards


Oups (in french in text) !
My .htacces was deleted :blush:


I suppose then everything is okay now. :smile:
If not please go here


Excellent ! :smile:
Thanks for reply.