for example i have the below code to be displayed when certain criteria is true
<span class='breadcrumb-separator'>
<font style="vertical-align: inherit;">></font>
</span>
conditon is certain count is less than 3
if the count is greater than 3, i dont want the above > to be displayed
Solved! Go to Solution.
Refer to the examples in the link below:
http://blogs.adobe.com/experiencedelivers/experience-management/htl-intro-part-1/
<div data-sly-test.author="${wcmmode.edit || wcmmode.design}">
Show this to the author
</div>
<div data-sly-test="${!author}">
Not in author mode anymore..
</div>
Views
Replies
Total Likes
Refer to the examples in the link below:
http://blogs.adobe.com/experiencedelivers/experience-management/htl-intro-part-1/
<div data-sly-test.author="${wcmmode.edit || wcmmode.design}">
Show this to the author
</div>
<div data-sly-test="${!author}">
Not in author mode anymore..
</div>
Views
Replies
Total Likes
Just to add to the previous reply: official documentation for data-sly-test usage:
Views
Like
Replies