Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
search results query
Hi
Hey – anyone know how to return search results without being triggered by a search form input?
For example, say the user enters an incorrect url and gets sent to an error/404 page.
I then want to search for the url phrase/term (<txp:page_url />, maybe cleaned up a bit with some PHP) and return results as part of the 404 page without (re)directing the user.
Any suggestions?
Cole
Jack of all trades, Doctor of one
Offline
#2 2007-12-04 22:02:02
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: search results query
You would need to create a plugin.
Alternatively, you could simply put a search form in your 404 page and allow users to do it manually.
Offline
Pages: 1