Stuart Wright
Well-known member
I have a review with no Pros or Cons
https://www.avforums.com/review/datawind-ubisurfer-review.153#sectionAnchor24933
and the template is supposed to only display the Pros and Cons if there are any.
yet the Pros and Cons are displayed resulting in the display of the headers and nothing else.
Should I change the conditional to test for the number of elements in the arrays?
https://www.avforums.com/review/datawind-ubisurfer-review.153#sectionAnchor24933
and the template is supposed to only display the Pros and Cons if there are any.
Code:
<xen:if is="{$content.pros} AND {$content.cons}">
Should I change the conditional to test for the number of elements in the arrays?
Last edited: