Hi David,
Did you deleted this message yourself ?
Message Content starts here --
------------------------------
I really have some trouble understanding the filter parameter... When I define a filter, I just get a blank output.
Here is the thing : I have documents which contain a certain number of TV fields (date, place, price...).
I want to create pages that list those documents according to different criterias. It means I’d want one page listing all travels in the Alsace region, another listing of travels that last a week-end, etc. Those listing would point to a "more" page with all the details about a particular travel.
An information page about a given travel is not a children of a particular folder, since I can have a travel which lasts a week-end and takes place in Alsace it has to be displayed on both listing and the "more" link has to point toward the same detail page.
It’s fairly straightforward, I realize that, but I have some trouble making it work...
"lieu" is the TV for the place where the travel takes place and it can have three values : Alsace||France||International. I have tried the following on the page I want all travels taking place in the Alsace region.
[!NewsListing? &tpl=`fiche` &filter=`tvlieu,Alsace,1` &truncText=`Voir le détail de la fiche` &emptytext=`Désolé, pas de fiche dans cette catégorie`!]
The chunk named ’fiche’ has the following code :
<h3>[+title+]</h3>
<p class="infos_fiches">» Le [+tvdate_debut+] | [+tvduree+] | [+tvprix+] € TTC</p>
<div class="lien_fiche">[+link+]</div>
It does not output anything, thus I probably have a faulty understanding of the snippet’s logic.
Could someone enlighten me there ?
Message Content ends here --
----------------------------
Its
http://modxcms.com/forums/index.php/topic,1235.msg15286.html#msg15286