taxi
January 2, 2023, 9:56pm
1
Debian stable
Mautic 4.4.5
PHP 7.4.33
Newest from Debian stable
Updating/Installing Errors
I am (delete as applicable): Installing TWIG Plugin MauticAdvancedTemplatesBundle
These errors are showing in the installer :
MauticAdvancedTemplatesBundle error php
These errors are showing in the Mautic log :
none
Your problem
My problem is :
After copying the plugin files into the plugin directory, and deleting the cache, I can’t access mautic any more.
Steps I have tried to fix the problem :
What does it show in log files under mautic-root/var/logs
taxi
January 2, 2023, 10:56pm
3
I did not find any error regarding the problem.
The error popped up while doing a php bin/console cache:clear
In order to access my Mautic, I deleted the plugin, and after the php bin/console cache:clear command I could access my Mautic again.
taxi
January 3, 2023, 3:44pm
5
Yes, this one. Many thanks for your answer.
Then what can I do? Is there another possibility of doing an “if then else” conditional content handling?
taxi
January 4, 2023, 8:01pm
7
Many thanks. Is there a promotion code?
Kind regards
Christian
1 Like
joeyk
January 5, 2023, 7:17am
8
No, but if you buy the plugin, you help mautic’s one of most active coder. (I have no affiliation, this plugin is my very honest recommendation.)
taxi
January 5, 2023, 7:47am
9
Many thanks. That’s fair enough!
Have a great day!
taxi
January 5, 2023, 1:34pm
10
Well, I bought it, I installed it and I wrote the first TWIG template.
The test worked as well.
What does not work is the integration into an email template with:
{twigtemplate=1}
It just does not show the contend.
Hum
joeyk
January 6, 2023, 1:45pm
11
Did it work for you when you tested in the twig template area?
joeyk
January 6, 2023, 1:45pm
12
BTW - you need a real send, cause test send doesn’t render
taxi
January 6, 2023, 2:08pm
13
Yes, in the test area it worked!
As you mentioned, it needs a real send.
Many thanks!
We have forked the plugin and patched it for Mautic v4. We also add some new features and some bugfixes (error handling for example and some problems with the rendering).
You find it here:
New Features:
Mautic v4
The plugin now integrates also into pages and dynamic content and you can also use the last form submits of the user as tokens (syntax {{ form.. }} )
Example:
{% TWIG_BLOCK %}
{{ form.12.email }}
{% END_TWIG_BLOCK %}
would echo the email field of the last form submit from form 12 of the lead
P.S: I’m sorry I have not found the time to document the features more and to make a pull request in the original plugin. But I wanted to take the chance and help
Greetings
Sebastian
4 Likes