Hi All,
I am trying to lists content Instances from a current Channel. I have used below codes to retrieve it.
My Problem is, This code retrieved all CIs (Both English & Translation) and listing.
I want to restrict and display current Language only CIs only, if no translation default language should display. I put this code in Smartlist where I added Condition as "Language is Current Language". But still getting both Local values. Please help to filter it.
<c:if test="${not empty content.contentInstances}">
<c:forEach var="contents" items="${content.contentInstances}" varStatus="counter">
<templating:contentLink var="linkUrl" oid="${contents.system.id}" />
<li><a href="${linkUrl}">${contents.system.name}</a></li>
</c:forEach>
</c:if>
Thanks
Jayaram