I want to combine two output modifiers in Revo 2.2-pl2, is this correct??
Basically I need
[[!*id:isnot=`83,98`:and:!*slideshow=`notempty`:then=`<div id="myCarousel" class="carousel slide">
<div class="carousel-inner">
[[!getImageList? &tpl=`slideshow` &tvname=`slideshow`]]
</div><!-- end carousel-inner -->
</div><!-- end carousel -->`:else=``]]
id list corresponds to documents which should not be allowed to have slideshows
slideshow is a TV, if it has any values in it then write out slideshow html stuff otherwise blank
Using the above gives this error:
Parse error: syntax error, unexpected ')' in /home/essex/public_html/mountainlakeservices.org/core/model/modx/filters/modoutputfilter.class.php(162) : eval()'d code on line 1
Parse error: syntax error, unexpected ')' in /home/essex/public_html/mountainlakeservices.org/core/model/modx/filters/modoutputfilter.class.php(170) : eval()'d code on line 1
What is incorrect in the above code??
Thank you, Tom
[ed. note: TomMLS last edited this post 12 years, 1 month ago.]