[[*longtitle:default=`Foobar`]] [[*longtitle:empty=`Foobar`]] [[*longtitle:ifempty=`Foobar`]]
[[*longtitle:ifnotempty=`Foobar`]]
[[*longtitle:notempty=`Foobar`]]
[[*longtitle:ifempty=`Foobar`]]
[[*longtitle:notempty=`<h1 style="margin-top:0.7em">[[*longtitle]]</h1>`]] [[*longtitle:empty=`<br />`]]
<div class="subcolumns [[*longtitle:empty=`gap`]]">
Imagine the following code:
[[*longtitle:notempty=`<h1 style="margin-top:0.7em">[[*longtitle]]</h1>`]] [[*longtitle:empty=`<br />`]]
[[*longtitle:ifnotempty=`<h1 style="margin-top:0.7em">[[*longtitle]]</h1>`:else=`<br />`]]
Parse error: syntax error, unexpected ’)’ in /homepages/29/d99224596/htdocs/twinpics/dev/avec/core/model/modx/filters/modoutputfilter.class.php(159) : eval()’d code on line 1
<!-- [[*longtitle:ifnotempty=`<h1 style="margin-top:0.7em">not empty</h1>`:else=`empty`]] -->
[[*longtitle:notempty=`<h1 style="margin-top:0.7em">[[*longtitle]]</h1>`]][[*longtitle:empty=`<br />`]]
[[*longtitle:is=``:then=`[[<br />]]`:else=`<h1 style="margin-top:0.7em">[[*longtitle]]</h1>`]]