Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2010-03-21 04:03:06
- kevinpotts
- Member
- From: Ghost Coast
- Registered: 2004-12-07
- Posts: 370
Basic Search in TXP 4.2.0 Not Working
There is this:
<txp:search_input label="" />
And my default page has this:
<txp:if_search>
<txp:article pgonly="1" limit="20" />
<txp:search_result_count text="Hits" />
<txp:article limit="20" />
</txp:if_search />
This is about as basic a setup as it gets, yet no matter what, I can get no results to show, and the counter is always zero. I double-checked to make sure all sections had “include in site search” enabled. I am now believing this is affecting a related issue with tru_tags. I have set up dozens of search boxes in TXP for all kinds of sites (including 4.2.0) and have never run into this issue.
Are there any known plugin conflicts? I tried turning them all off, but that did not help; I was hoping to avoid deleting them completely because there is data stored in the tables.
ANY help would be appreciated — I am baffled.
Kevin
(graphicpush)
Offline
Re: Basic Search in TXP 4.2.0 Not Working
Hi Kevin,
Can you post a tag trace of a search results page?
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: Basic Search in TXP 4.2.0 Not Working
- Could you look into source code of generated page wile site modeis set
Debug
and execute sql search query in your phpmyadmin or other sql-client? - Are sections allowed to be searched? Look at sections tab
Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?
Offline
#4 2010-03-21 12:50:22
- kevinpotts
- Member
- From: Ghost Coast
- Registered: 2004-12-07
- Posts: 370
Re: Basic Search in TXP 4.2.0 Not Working
No tag trace necessary … it turns out this was a stupid error on my part. I did everything right except ensure the <txp:article />
tag was showing future events. It’s funny when you don’t work in something for a month how much detail slips your brain.
Kevin
(graphicpush)
Offline