All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

Search Results using version 4.4.X

Todd Coopee 17 Feb 2017 18:17 question, complete

Two questions using version 4.4.X.

My results are being taken from a search of multiple collections. I'm wondering if it would be possible to determine the collection a result is being displayed from (using an if statement for example) in order to output a different title field. Some of my records have multiple title fields in them, so I'd like to be able to display an alternate title field as opposed to just using {title}.

Along the same lines, I'm wondering if it is possible to override the {channel_url} for a specific channel based on say the category assigned to a record.

Replies

  1. Low 18 Feb 2017 07:55

    When using the Keywords filter, you can use {low_search_collection_x} variables in the Results tag, see http://gotolow.com/addons/low-search/... -- Those vars can be used in conditionals as per usual.

    Instead of overriding the {channel_url}, you'd have to use conditionals (using {channel_id} for example) to create any link/url to an entry you need.