You are not logged in.
I really can’t take too much credit for this one. Almost all of the work on this was already done by Markus Kniebes who created the LiveSearch Extension for Textpattern which in turn is based on the BitFlux LiveSearch Solution.
I made some updates for RC3, added a few options to customize your search form/results and wrapped it all up into a plugin with a simple installation/setup process. You can see it running now at wilshire|one.
Last edited by wilshire (2006-09-26 02:22:26)
great work! but some questions:
1. why do you use the p-tag around the formfields and not the fieldset-tag?
2. whats the intention behind the ins-tags around the results?
To be honest I didn’t pay much attention to the form. I was just happy that the live searching was working.
This is the forum that Markus uses so I went with it. I’ll look at changing it to something more standard.
ah, i see. i rewrote the form that time he released it, because it was not xhmlt1.1-conform. the ins is quite logic, because something will be inserted, but the p is at the wrong place, i think. at my page it works with fieldset.
OK, this is truly awesome, but I have a question. I followed the directions, added the CSS and tags, but the live search only returns an image of my homepage. I do have a custom form for outputting search results called “search_results” but even when I add <code>searchto=“search_results”</code> as an attribute, nothing changes. Any help would be appreciated.
Thanks Rob, nice plugin. The styling is quite tricky however…
Oh, I think it lack a submit button. A lot of people are lost without it.
Kevin, if you have latest RC3, you don’t need the searchto (unless you know what you are doing), bu in your default section you need a a txp:article tag calling the search_results form. Use the conditionnal tags (if search and so on, look at Textbook for details) to not destroy your frontpage.
Last edited by Jeremie (2005-05-06 14:14:56)
Jeremie – I could add an option to display the submit button.
Here is a test page with a live search on the left:
The actual page has this TXP code: <code><txp:rss_live_search label=“Type To Search:” searchto=“search” /></code> since I use the “search” section for all search queries (which works perfectly for normal search).
Thank you for this plugin, I’ve got it working already! Just one thing: I can’t figure out how to style the search input field and the ul. Can someone give me a clue?
I, like Kevin get another copy of the whole page in the popup.
Updated the version, works-a like-a charm! Now for some css.
Oh, and how do you stop firefox from offering previous entries for that form, kinda gets in the way.
Last edited by mrdale (2005-05-06 17:56:38)