Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2006-07-20 20:36:16
- progre55
- Member
- Registered: 2006-05-02
- Posts: 668
Limit Search to A Particluar Section(s) Is Not Working
I found this tip:
<code><txp:article searchall=0 /> on the page template for the section you want to search, and <txp:search_input section=“mysection” /> to display the form.</code>
Which I thought may do my trick, but I can not get it to work. It always displays the results from all the articles.
I am using the most recent version of TextPattern, so I do not think that is the probelm.
If my understanding is correct, if I have a section called magazine and I just want those articles in that section to be searched, I place the first tag inside the page template that is displaying the articles for the section magazine and then place the second tag whever I want.
I have tried multiple variations of this and every time is searches all the articles in every section.
Thanks again in advance for your assistance.
Last edited by progre55 (2006-07-21 02:21:54)
Offline
#2 2006-07-21 16:02:04
- progre55
- Member
- Registered: 2006-05-02
- Posts: 668
Re: Limit Search to A Particluar Section(s) Is Not Working
To all:
I originally though that maybe because I did not have the searchall=0 in “” that this was my problem. But I have now put it in quotes and still the same result. I can not get the search to limit to a particular section.
Offline
#3 2006-07-22 00:15:27
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Limit Search to A Particluar Section(s) Is Not Working
Is there any other article tag on your page?
Offline