Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Content Filter: Relative paths View modes: 
User avatar
Member
Member
jason-synapse - 5/22/2012 11:32:38 AM
   
Content Filter: Relative paths
I am trying to use 1 template to get images.

This is what my doc tree looks like:


Portfolio 1
-- Portfolio item1
-- Portfolio item2
-- Portfolio item3
-- Portfolio item4

Portfolio 2
-- Portfolio item5
-- Portfolio item6
-- Portfolio item7
-- Portfolio item8


In the template, under content filter, I thought I could use something like "{0}/%" to get all the items directly under that portfolio, but it brings back all the portfolio items on the site.

How can I make the content filter path be relative so it only gets items under itself?

User avatar
Member
Member
jason-synapse - 5/22/2012 2:21:51 PM
   
RE:Content Filter: Relative paths
I figured out a way to do it, I changed the path to this and it seems to work:

/{0}/{1}/%

User avatar
Member
Member
jason-synapse - 5/23/2012 1:35:31 PM
   
RE:Content Filter: Relative paths
Even better, just leave the path blank, apparently that is probably the best way to do that.