Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2005-10-25 16:10:21
- eastley
- New Member
- Registered: 2005-10-21
- Posts: 3
Display Search Results
I have the search_input tag on all my pages and articles to show the search box though when entering a search term and hitting the submit button, I get directed to the default page, with the default content showing and no results (obviously with the q=blah blah querystring). So how do I actually get the search results to display. my default page is as follows and all my sections are ‘searchable’
<code>
<div id=“col-main” class=“column”>
<txp:if_individual_article>
<txp:article searchall=0 />
</txp:if_individual_article>
<txp:if_article_list>
<h2>Welcome</h2>
<div class=“article-image”><txp:image id=“3” /></div>
<txp:output_form form=“homepage-content” />
<h3>Westbournes Latest News:</h3>
<txp:article_custom limit=“4” category=“news” sortby=“Posted” sortdir=“asc” listform=“news-list” />
</txp:if_article_list>
</div>
</code>
Edit: OK, I cant get the code above to display but I have the following tags:
edited
many thanks
Last edited by Sencer (2005-10-25 16:19:18)
Offline
#2 2005-10-25 17:29:12
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Offline
#3 2005-10-25 22:00:36
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Offline
#4 2005-10-26 08:25:34
- eastley
- New Member
- Registered: 2005-10-21
- Posts: 3
Re: Display Search Results
excellent thanks for the help
Offline
Pages: 1