Logicify / mautic-advanced-templates-bundle

Plugin extends default email template capabilities with TWIG block so you can use advanced scripting techniques like conditions, loops etc
https://logicify.com/?utm_source=github&utm_campaign=mautic-templates&utm_medium=opensource
MIT License
86 stars 57 forks source link

Mautic 5 support #40

Closed pabloveintimilla closed 2 months ago

pabloveintimilla commented 4 months ago

Hi,

This PR add support to Mautic 5, include:

Tested in Mautic 5.0.3

Please publish your package in https://packagist.org/ to use composer to install the plugin.

Regards!

renatoheeb commented 2 months ago

Just tested Pablo's fork with Mautic 5.1.0 and no problems so far. Thanks @pabloveintimilla

letslingeronyou commented 1 month ago

Hi there! I'm trying to install it in Mautic 5.1 and can't get it done. I followed the instructions (upload to plugin folder, unzip, change folder name, redo permissions,, clear cache, hit Install plugin. But nothing happens, The plugin is not showed in the plugin list and trying to use it in an email it just paste the code like html. Can you please let me know what am i doing wrong? Thank you in advance.

renatoheeb commented 1 month ago

@letslingeronyou If you have a composer based installation add the repository to the composer.json:

"repositories": [
    {
      "type": "git",
      "url": "https://github.com/Logicify/mautic-advanced-templates-bundle.git"
    }
...

Then install with composer

composer require "logicify/mautic-advanced-templates-bundle" 
composer update
./bin/console cache:clear  
./bin/console mautic:plugins:reload