Find the Exponential Software extensions you want
UNIX name | Owner | Status |
---|---|---|
OWSimpleDom | eZ Publish Legacy | stable |
Version | Compatible with |
---|---|
N/A | N/A |
Provides a simple dom access library for eZPublish (simplehtmldom) and bonus features !
$owSimpleDom = new owSimpleDom();
$html_dom = str_get_html( $html );
Online documentation of SimpleHTMLDom : http://simplehtmldom.sourceforge.net/manual.htm
It provides a simple css inliner for your mailing.
Warning : It doesn't support css selector priority (for example : "#id .class" won't override ".class". You need to declare CSS rules in the order you want them applied)
{set-block variable=$html}
Title
Content
{/set-block}
{$html|css_inline('stylesheets/style.css'|ezdesign(no))}