Problems, need help? Have a tip or advice? Post it here.
5 posts Page 1 of 1
quick question - am I right in thinking that I cannot use ordering for the cms:search tag? e.g. is the following invalid?
Code: Select all
               <cms:search masterpage='tracks.php' keywords="<cms:gpc 's' />" show_future_entries='1' orderby=my_sort_field order=my_sort_dir> 
That is correct. Search results are always ordered by their internal 'scores' - i.e. how relevant they are to the keyword(s) being searched (think of how Google orders the results).
many thanks for the quick answer!
<cms:search_form/> has this:
Code: Select all
<input type="hidden" name="nc" value="1" />

Curious to know what this is for?
That 'nc' stands for 'No Cache' - prevents the search results from getting cached (assuming your site is configured to cache pages to begin with).
5 posts Page 1 of 1

Who is online

In total there are 5 users online :: 0 registered, 0 hidden and 5 guests
(based on users active over the past 5 minutes)

Users browsing this forum: No registered users and 5 guests