2005-05-06 04:21:23

wilshire
Plugin Author
nu
Real name: Rob Sable
From: Akron, Ohio
Website

[ORPHAN] rss_live_search

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.

Download rss_live_search

More Details

Last edited by wilshire (2006-09-26 02:22:26)

Offline

 

2005-05-06 05:30:26

graumeister
Plugin Author
êta
Real name: Patrick Kollitsch
From: Ban Bang Por, Samui, Thailand
Known languages: de, en, th
Website

Re: [ORPHAN] rss_live_search

hi,

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?

greetings.


Samui? Samui! (about the life as farang in thailand)
David’s Neighbour

Offline

 

2005-05-06 11:55:32

wilshire
Plugin Author
nu
Real name: Rob Sable
From: Akron, Ohio
Website

Re: [ORPHAN] rss_live_search

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.

Offline

 

2005-05-06 12:00:39

graumeister
Plugin Author
êta
Real name: Patrick Kollitsch
From: Ban Bang Por, Samui, Thailand
Known languages: de, en, th
Website

Re: [ORPHAN] rss_live_search

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.

greetings.


Samui? Samui! (about the life as farang in thailand)
David’s Neighbour

Offline

 

2005-05-06 13:24:11

kevinpotts
Member
kappa
Real name: Kevin
From: Kansas City
Known languages: English, and about 9 words of German
Website

Re: [ORPHAN] rss_live_search

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.


Kevin
graphicpush

Offline

 

2005-05-06 14:02:15

Jeremie
Member
chi
Real name: Jérémie Bouillon
From: Provence, France
Known languages: French, English
Website

Re: [ORPHAN] rss_live_search

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)

Offline

 

2005-05-06 15:12:10

wilshire
Plugin Author
nu
Real name: Rob Sable
From: Akron, Ohio
Website

Re: [ORPHAN] rss_live_search

Kevin – searchto is used when you actually submit the search form, not for the live search itself. What its used for is to direct the search form to post to a subdirectory. For example, my search form posts to wilshireone.com/search rather than the root directory as Textpattern does by default. It sounds like the problem your having is relating to pathing in the javascript. Is this in a subdirectory? Is it at a URL I can take a look at?

Jeremie – I could add an option to display the submit button.

Offline

 

2005-05-06 15:38:49

kevinpotts
Member
kappa
Real name: Kevin
From: Kansas City
Known languages: English, and about 9 words of German
Website

Re: [ORPHAN] rss_live_search

Here is a test page with a live search on the left:

http://www.graphicpush.com/index.php?s=linkage

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).


Kevin
graphicpush

Offline

 

2005-05-06 15:53:26

Els
Admin
omega
Real name: Els Lepelaars
From: The Netherlands
Known languages: nl, en, (some: de, fr, es, it)
Website

Re: [ORPHAN] rss_live_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?


<txp:Els /> ;)
Tag Reference | Unexpected behaviour? Check the tag trace | Still no clue? Check the names of your custom fields

Offline

 

2005-05-06 16:11:07

mrdale
Moderator
omega
Real name: Dale Chapman
From: Walla Walla
Known languages: strine.
Website

Re: [ORPHAN] rss_live_search

great plugin:

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)

Offline

 

Powered by FluxBB