Mautic Community Forums

Multiple questions for email theme

Hello,

I have just installed version 1.3.1 in my localhost. I have created a new email theme and want to ask this:

  1. How can I collapse a whole block of slots when it is empty of content? I use the $view->hasContent(array… in the outer container but in the preview I still see it being entered without content.
  2. Is there a way I can target the root of the theme folder in case I want to add some images in the email theme that need to be hardcoded?



    I have another issue which needs your guidance. I keep having trouble with the filemanager. The loader keeps spinning. I have tried the change in the file provided here: https://github.com/mautic/mautic/pull/1506/files, but didn’t solve anything. Maybe I need to check something else?



    Thank you in advance,

    Yiota

Hello,
I have just installed version 1.3.1 in my localhost. I have created a new email theme and want to ask this:

  1. How can I collapse a whole block of slots when it is empty of content? I use the $view[‘slots’]->hasContent(array… in the outer container but in the preview I still see it being entered without content.
  2. Is there a way I can target the root of the theme folder in case I want to add some images in the email theme that need to be hardcoded?

I have another issue which needs your guidance. I keep having trouble with the filemanager. The loader keeps spinning. I have tried the change in the file provided here: https://github.com/mautic/mautic/pull/1506/files, but didn’t solve anything. Maybe I need to check something else?

Thank you in advance,
Yiota

Anyone, please?