Child pages
  • Setting Up Your Local Development Environment

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When your development has an impact on the front-officefront office, whether you are building a theme or simply a module which displays information to the customer, you should force the template file compilation and disable the cache, so as to always see the result of your changes directly.

...

  • config.inc.php
  • defines.inc.php
  • smarty..config.inc.php

config.inc.php

...

Warning

When in production mode, $smarty->force_compile must be set to false, as it will give a 30% boost to your page load time.

On the other hand, when editing a .tpl file, you must delete the /tools/smarty/compile folder (except the index.php file) in order to see your changes applied.

Note that this setting can be made directly from the back - office, in the "Performance" page under the "Advanced parameters" menu.

...