Quote from: Frank at Oct 07, 2010, 07:34 AM
Very nice site, you might want to share the ditto tricks you did there?
I am not sure these can be called tricks.
I have created a series of TVs for filtering. They contain texts identical to the pagetitle of the container pages.
Here is the call I use:
[!Ditto? &parents=`69` &filter=`[b]tvdepartement,[*pagetitle*],1[/b]` &display=`10` &tpl=`lien-programme` &paginate=`1` &sortBy=`menuindex` &sortDir=`ASC` &paginateAlwaysShowLinks=`0` &descendentDepth=`1`!]
If a program tvdepartement value is equal to the pagetitle, it is displayed. Otherwise, it is not.
Some pages even have a two level ditto call. There is a second call in the Ditto template used.