Hi guys,
Is it possible for getResources to work like Ditto did for filtering results?
e.g. I want to only display items that match a TV’s setting - the TV (called "clientQuoteExcluder") has a bolean option of true or false, the Ditto code I would use would be &filter=`clientQuoteExcluder,true,2`
How could one achieve this using getResources?
Cheers,
dubbs
Thanks coroico, worked a treat!
coroico = leg end!
Maybe somewhat stupid question: how do I make a TV with a boolean option? I’m trying to filter items for a calender that are marked as current, would I be able to use a checkbox-TV for that?
Thanks, R
that of course is correct ...
So I would set the two possibilities current or non-current as radio buttons -- and then I would put: &tvFilters=`myCurrentTV==true` for which option?
Ok now i got it:
I used a TV with dropdown menu and input value: Featured==1||Not featured==0
[[Ditto? &startID=`18` &depth=`3` &tpl=`product_list` &display=`all` &hideFolders=`2` &filter=`product_price,10.00,6|product_price,19.99,5` &sortBy=`product_price` &sortDir=`ASC`&noResults=`product_empty` &summarize=`15` &paginate=`1` &paginateAlwaysShowLinks=`1` ]]
I have the above ditto call in evolution and want to use getResources in Revolution to do the same but can’t get it to work to filter my results for products priced between price a & price b.
Can I include an if statement within the getResource call??
Or if anyone has another way of doing it please let me know.
@glenwith1n Did you find a way filter the results with getResources?
The post is well over two years old, so you may not hear back.
You should definitely start a new thread with more details about your problem and post your getResources tag.