We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 47586
    • 8 Posts
    Hi all.
    I have two categories, first one is Projects and each project page from this category has tv (tags), second one is Services and each service page has same tv. So, I need to show in each service page relevant project list. For example, in eCommerce service page I would like to show all projects which relating with eCommerce. And I set in eCommerce page tv parameter tag 'eCommerce' and set to all Projects (which relating with eCommerce) also this tag.

    My question is: how to realize this?
    I call getResource by this code:
     [[!getResources? 
            &parents=`35`
            &tpl=`serviceProjectsTpl` 
            &limit=`4` 
            &includeTVs=`1` 
            &processTVs=`1`
            &includeContent=`1`  
            &depth=`0` 
            &sortby=`menuindex` 
            &sortdir=`asc`
            &tvFilters=`tags==????`
            
      ]]  
    


    Don't know what to write in tvFilters.

    Thanks.
      • 47586
      • 8 Posts
      I found solution: &tvFilters=`tags==%[[*tags]]%`
      where 'tags' it is TV name which applied to both resources, project and service.