Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#91 2005-10-30 18:00:41

jordi
Member
From: Barcelona
Registered: 2005-09-14
Posts: 94
Website

Re: [plugin] [ORPHAN] rss_live_search

I’ve not installed yet the latest version because 0.2.2 works well for me, it’s a great plugin, and I would like to know whether it can be configured to extend the search to title fields and/or custom fields?

Edit: OK, never mind, it does search in title fields, and I’ve just seen Gerhard’s post in page 3 of this thread regarding custom fields… should have looked better before asking!!

BTW, thanks for the plugin…

Last edited by jordi (2005-10-30 18:22:45)

Offline

#92 2005-10-30 18:21:02

Turbo-G
Member
From: Würzburg, Germany
Registered: 2004-04-15
Posts: 27
Website

Re: [plugin] [ORPHAN] rss_live_search

Offline

#93 2005-10-30 18:23:37

jordi
Member
From: Barcelona
Registered: 2005-09-14
Posts: 94
Website

Re: [plugin] [ORPHAN] rss_live_search

Thank you, Turbo-G, I’m going to use this!

Offline

#94 2005-11-04 03:45:32

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

Re: [plugin] [ORPHAN] rss_live_search

This is long overdue and to be honest I don’t know how I got to version 0.5 from 0.2.3, but here it is. I don’t know if I remember everything I fixed, but here’s most of it:

  • Entering spaces into the search box will not break it anymore.
  • Added showsection to allow for display of the section after the article title.
  • The form will validate (at least to XHTML 1.0 Strict)

Download rss_live_search 0.5

Offline

#95 2005-11-04 07:02:27

Turbo-G
Member
From: Würzburg, Germany
Registered: 2004-04-15
Posts: 27
Website

Re: [plugin] [ORPHAN] rss_live_search

Hey, thank you for the new version. However, i had to fix it a little bit to get it working properly. This is for another website, so forget my postings above.

My “form” for the live search results looks like this:

<code><h3><txp:search_result_title /></h3>
<div class=“trenner”><hr /></div></code>

because there is a h3-tag around the result title I had to go to the function liveSearchSubmit

<code>
function liveSearchSubmit() { var highlight = document.getElementById(“LSHighlight”); if (highlight && highlight.firstChild) { window.location = highlight.firstChild.getAttribute(“href”); return false; } else { var searchInput = document.getElementById(‘searchform’); searchInput.submit(); return false; }
}
</code>

and fix the following line

window.location = highlight.firstChild.getAttribute("href");

to

window.location = highlight.firstChild.firstChild.getAttribute("href");

Now the function finds the href attribute within the < h3> < a> tags and now pressing return takes me to the desired page!

Last edited by Turbo-G (2005-11-04 07:04:10)

Offline

#96 2005-11-11 22:20:55

Turbo-G
Member
From: Würzburg, Germany
Registered: 2004-04-15
Posts: 27
Website

Re: [plugin] [ORPHAN] rss_live_search

Well, sorry to say that. While The plugin works absolutely perfectly on my own weblog now, it doesn’t work on my project page. Have a look here

Why does the site behave so strangely? I use a fresh version of your Plugin, no mods, and this tag:

<txp:rss_live_search max="6" label="" inputvalue="Suchbegriff" inputsize="28" showbutton="1" buttonval="los" form="livesearch" showdate="1" notfound="Keine Treffer gefunden!" />

I can’t explain.

Offline

#97 2005-12-14 20:50:15

neverever
New Member
Registered: 2005-12-08
Posts: 4

Re: [plugin] [ORPHAN] rss_live_search

I’m getting the same error, beastmaster. What’s up?

Offline

#98 2006-01-10 19:01:12

skoggy
Member
From: Westcoast of Sweden
Registered: 2005-03-27
Posts: 209
Website

Re: [plugin] [ORPHAN] rss_live_search

Thanx. Just installed it and it works right out of the box!

Offline

#99 2006-01-11 15:30:56

dotjay
Member
Registered: 2004-10-26
Posts: 10

Re: [plugin] [ORPHAN] rss_live_search

beastmaster wrote:
>I just installed 0.5 with TXP 4.0.2 and I’m getting the 1969/12/31/ error. Anyone else have this? T

I’m getting link URLs with 1970… seems like the search isn’t passing back the correct $hurl for some reason. Hmm…

Jon

Last edited by dotjay (2006-01-11 15:40:35)

Offline

#100 2006-01-17 13:19:53

mstwntd
Member
From: Melbourne, Australia
Registered: 2004-12-25
Posts: 52

Re: [plugin] [ORPHAN] rss_live_search

My apologies for bumping this ancient thread up, but would any of you kind folks have a modified version of this plug-in which works with proper XHTML? Or if there are only minor changes required, perhaps somebody could point me in the right direction?

Thanks a lot!

Edit: Looks like it ain’t all that ancient after all.

Last edited by mstwntd (2006-01-17 13:30:47)

Offline

#101 2006-01-17 14:00:04

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

Re: [plugin] [ORPHAN] rss_live_search

The latest version on my site (0.5) should validate as far as I know so if not let me know.

Offline

#102 2006-01-17 14:18:28

neverever
New Member
Registered: 2005-12-08
Posts: 4

Re: [plugin] [ORPHAN] rss_live_search

It validates, but it still has that date problem…

Offline

#103 2006-01-17 16:14:46

mstwntd
Member
From: Melbourne, Australia
Registered: 2004-12-25
Posts: 52

Re: [plugin] [ORPHAN] rss_live_search

wilshire, I posted the code on another forum here and Matt Pennell was kind enough to point out some issues. Turns out the problem is with Mozilla.

Offline

#104 2006-01-18 14:27:27

skoggy
Member
From: Westcoast of Sweden
Registered: 2005-03-27
Posts: 209
Website

Re: [plugin] [ORPHAN] rss_live_search

I also have had problems with Livesearch lately, as mentioned here I don´t know if it´s a actual plugin problem or the fact that I´m running the site on a IIS-server (link)

The plugin works but keep throwing me the same error message:
Warning: unknown_tag in mypath…\textpattern\publish.php on line 916

Anyone else seen this?

Offline

Board footer

Powered by FluxBB