Template Editor

Edit view file online in the admin.

Install

composer require pushword/template-editor

That's it ! If you have a custom installation (not used the default installer),you may have a look inside vendor/pushword/admin/install.php.

Configuration

In your config folder, you can add two configuration parameters :

pushword_template_editor:
  disable_creation: false
  can_be_edited_list:
    - "/pushword.piedweb.com/page/_footer.html.twig"
  • disable_creation permit to disable creation for ROLE_ADMIN
  • can_be_edited_list permit to limit list to the defined template files with their relative path in the template dir.