Is there a way to return channel entries based on a custom field type value? I have set up a custom field type and I want to be able to return channel entries that just a have a specific value for that field. Is that possible?
Oh, and just to make it more complicated I can't use the
search:field_name= parameter because:
- The custom fieldtype I need to search is a P&T Dropdown
- I actually need to also return any results that match a specific
author_id=value in the same channel entry results
- I really need to query multiple custom fields across multiple channels
So what a I really need is a
OR type query using a custom field as a parameter. I thought about creating a custom query or even making a quick plug-in, but the channel entries table along with trying to query custom field data is so convoluted. It's seriously a complete nightmare.
I'm open to any suggestions. Thanks.