Hi,
I made a custom field “foo” for channel “test” and I want to get that entry which has
that value from {segment_2} (domein.ext/blah/[this.value]} and limit the results to one entry
site/blah:
{exp:channel:entries channel="test" limit="1" custom_fields="yes" search:foo="{segment_2}”}
{title}
{url_title}
{/exp:channel:entries}
When I hardcode search:foo=“this.value” then the correct entry is been shown. But not trough
the segment_2 value. http://domein.ext/blah/this.value results in zero entries.
Can I only query by title and url_title with channel module?
Should I use the Query module instead? And how do I access the custom fields?
Kind regards,
Victor Gevers