Newsletter Builder Placeholder in wysiwyg editor

By ht1080z - March 6, 2017

Hi,

When i create a new HTML template in cmsBuilder > Newsletter Builder > Templates and add the #content# placeholder to the main body the wysiwyg editor automatically add a paragraph tag like: <p>#content#</p> and this creates additional vertical space breaking my template design.

Note: I add the HTML newsletter <head>...</head> (with css and META TAGS) to the common.php and in the template i'm adding only the content of my body. Without this it is additional problems (<p> tag adding to the head as well).

How can i avoid this? Please advise,
Karls

By gregThomas - March 9, 2017

Hi Karls, 

The easiest solution is to edit the HTML in the editor and wrap the #content# tag in a div instead (see attached screenshot).

If something doesn't have a tag, then the WYSIWYG will automatically add a P tag. But if one is already present, the WYSIWYG will ignore it.

Greg Thomas







PHP Programmer - interactivetools.com
Attachments:

Templates CMS Builder.png 170K

By ht1080z - March 9, 2017

Hi Greg,

and thank you for the quick solution. I tried only span but not div.

I cannot help myself but to ask about your screenshot. There is something my eyes immediately found...
There is a folder Order & Shopping Cart. I assume is something that is under development but I'm really interested in.

If you can please let me know more details.

Thank you again,
Karls

By ht1080z - March 10, 2017

Hi Greg,

Thank you for the extra info about the Shopping cart. Definitely will adjust this somehow in my next ecommerce project.

Great news anyway!
Karls