Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#31 2008-09-15 23:20:18
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Search Page
Search :)
Edit: OK, that search id didn’t last very long… if you search the forum for pagination AND search AND results you will find some useful topics.
Last edited by els (2008-09-16 14:37:45)
Offline
Re: Search Page
<txp:article/> will display all articles unless told to do otherwise by it’s Attributes
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
Re: Search Page
MattD wrote:
<txp:article/> will display all articles unless told to do otherwise by it’s Attributes
No, if I’m not mistaken the default for limit is 10 (see limit attribute in textbook)
Set limit="999" to get ‘all’ (=up to 999) results.
Last edited by jakob (2008-09-16 06:50:58)
TXP Builders – finely-crafted code, design and txp
Offline
Re: Search Page
Doh!
limit="integer"
The number of articles to display. Default is 10.
Note to self: Read before posting Matt!
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
Re: Search Page
Using that code I am getting…
When a search is met at the bottom after the search results by default: “These articles match your search request:”
When no articles can be found: Sorry, we were not able to find a page matching your search request blahblah.
And: Seems like you are looking for a very common search term. You’d better use a more specific search phrase.
How can I get rid of those statements. They are unstyled and I would like them removed.
Note – Edit: I have started a new thread about this topic here: http://forum.textpattern.com/viewtopic.php?id=28563
Last edited by mattmikulla (2008-10-07 21:59:25)
Art Rogue – Fine Art Photography
Offline