Search the Community
Showing results for tags 'options-field'.
Found 2 results
I'm setting up some fields in a module and i need an options field, but i can't figure out how to set its options with the api. These options:
In the Doc it says: I have an options field (options_colors) configured like this: I want to have a query returning only pages with the VALUE 'red'. This is a query that works: $newsentries = $pages->find('template=news-entry,options_colors=number1,sort=-created,limit=16'); this is a query which does not work $newsentries = $pages->find('template=news-entry,options_colors=red,sort=-created,limit=16'); How do I query for 'red' instead of the title for the value?