OK, I guess David was working on my website when he created this topic. It seems we never find the solution to our problem, so here I am, trying again !
So the situation is exactly the one described by David : I want to sort documents, using weighted random. I created for this purpose a TV, in which I indicated the weight of each document.
TV’s name : poids_banniere
Ditto call : [!Ditto? &parents=`242` &display=`1` &randomize=`[*poids_banniere*]` &tpl=`tpl_bannieres` &noResults=` ` &showPublishedOnly=`1` &hideFolders=`1` !]
But it doesn’t work, the same document keeps appearing. Can anyone see what’s wrong ? David mentionned the &filter parameter, but I don’t understand how it would help...
Thanks a lot !