We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 46198
    • 15 Posts
    Hello!

    I'm working with getArchives in order to list projects that have been completed.
    The results are listed as per a TV called "dateEnd"; here's the chunk:

    [[!getPage:default=`<h2>No Resulta</h2>`?
    &element=`getArchives`
    &tpl=`projetTags`
    &parents=`123`
    &includeTVs=`1`
    &processTVs=`1`
    &includeTvList=`dateEnd,idNumber,document`
    &tagKey=`articlestags`
    &showHidden=`1`
    &hideContainers=`1`
    &cache=`1`
    &pageVarKey=`page`
    &limit=`6`
    &includeContent=`0`

    &sortbyTV=`dateEnd`

    &pageFirstTpl=`<li class="control"><a[[+classes]][[+title]] href="[[+href]]">Début</a></li>`
    &pageLastTpl=`<li class="control"><a[[+classes]][[+title]] href="[[+href]]">Fin</a></li>`
    ]]

    My question...
    Is there a way to hide (or not list) the results that have no entry in the TV variable "dateEnd"?

    Thanks!