How to display category search parameters in low search results tag
Hi Low,
Im building a search events facility using low events/low search,
I have everything pretty much working as it should except im struggling to output the search criteria.
I have 2x select boxes for my search form (no keyword field though). How do I output the values selected for these in the low search:results tags. Heres my search form code for reference:
{exp:low_search:form collection="events" search_mode="all" category="10" result_page="event-finder/results" form_class="form-inline" form_role="form"}
Collection
{exp:channel:categories channel="events" style="linear" category_group="1"}
{category_name}
{/exp:channel:categories}
Month
{exp:low_events:archive events_field="event_date" show_passed="no"}
{month} {year}
{/exp:low_events:archive}
Search
{/exp:low_search:form}
So on my results page I would like to show something like:
Showing results for: XYZ Collection in October 2013
Cheers,
Neil
Replies
Low 30 Sep 2013 15:12
You could use the Filters tag.
You should be able to use the {low_search_collection_id} and the {low_search_low_events:date} variables to output the raw parameters submitted. Use those in respectively the {collections} variable pair and the low_events:this_date tag to get the output you want.