Exclude values

The example below gets all the items from the YOURSTRUCTURENAME structure but removes all the items which are type:article (-YOURSTRUCTURENAME.type1:Article) notice the minus symbol. This will now display all the blogs, photos and videos.

  1. #set($query = "+structureName:YOURSTRUCTURENAME -YOURSTRUCTURENAME.type1:Article")  
comments powered by Disqus