We launched new forums in March 2019—
join us there
.
In a hurry for help with your website?
Get Help Now!
Back to MODX.com
Forums
Docs
Revo Issues
Blog
My Forums
General
General Support
Search
GetResources where tv = ?
103 Posts
phacer
Reply #1,
13 years, 11 months ago
Can I use getResources to get all the resources in a category where a tv values equals something?
and what would be the correct call for it if possible?
--
André
165 Posts
pdincubus
Reply #2,
13 years, 11 months ago
You can probably use the tvFilter option on getResources -
http://rtfm.modx.com/display/ADDON/getResources#getResources-SelectionProperties
:)
103 Posts
phacer
Reply #3,
13 years, 10 months ago
That works. Thanks!
--
André
712 Posts
jpdevries
Reply #4,
13 years, 10 months ago
You can also use the where parameter to do some interesting filtering
jpdevries