Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Search Results
Hi guys,
I’ve searched the forums and Google but have not been able to locate a solution to my problem.
I have decided to set up a section just for the search http://www.algus.org.uk/members/search/. Although the search form does return results, the location of the results is http://www.algus.org.uk/members/?q=amicus.
I was expecting the results to be available at http://www.algus.org.uk/members/search?q=amicus
In addition, I want the search page to output data like this (pseudo code follows)
<h1>Search<txp_if search_submitted>Results</txt_if_search submitted</h1>
<txp:search_input button="Search" />
<txp:results />
<txp if no results><p>Sorry we could not find any articles featuring <txp search term />. Please try the archives instead</p>
My search_results form looks like this:
<h3><txp:permlink><txp:title /></txp:permlink></h3>
<p><txp:search_result_excerpt /></p>
Is there a complete list of TXP tags available for the search function (such as total results found etc) that I can use, and how do I get the searh results to render in the correct section?
Cheers,
Sajid
Offline
#2 2006-12-14 23:05:23
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Offline
Re: Search Results
Wow, that worked wondefully, thanks!
Offline
Pages: 1