Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#85 2005-10-24 15:02:21

gdtroiano
Archived Plugin Author
From: Highland Park, NJ
Registered: 2005-01-29
Posts: 59
Website

Re: [plugin] [ORPHAN] rss_live_search

has anyone else noticed in firefox that if you type a space as the first character in the input box, the search results become a mirror of the entire page?

also, and i can’t explain it, the up and down arrow navigation has stopped working. strange stuff.

Last edited by gdtroiano (2005-10-25 02:18:53)

Offline

#86 2005-10-25 03:40:04

Infi
Member
Registered: 2005-05-28
Posts: 75

Re: [plugin] [ORPHAN] rss_live_search

Thanks for the update, Mr. Sable. And despite the upcoming reboot. Above and beyond.

gdtroiano: You’re right. I hadn’t noticed that. Weird. :\ Cool effect, though. I think I’m going to count on people beginning the search with a letter for the time being, just so I can play with that. Neat. :)

(I know. I’m weird.)

Offline

#87 2005-10-29 05:51:39

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

Re: [plugin] [ORPHAN] rss_live_search

I’m using messy URLs and have the “entire homepage” problem. When I place the search field on the default page, everything works fine. But when I put it onto the Artist section “?s=artists” it will display the complete default site – without any search results.

What can I do? I want the search field in my artists-section, too!

Offline

#88 2005-10-29 12:25:27

squaredeye
Member
From: Greenville, SC
Registered: 2005-07-31
Posts: 1,495
Website

Re: [plugin] [ORPHAN] rss_live_search

Turbo G,
Do you have the javascript in your art section?
Did you make the mods that Gerhard recommended on page 4 of this thread?
Are you hitting enter and then it takes you to the default page?

? More information please,

Matthew


Offline

#89 2005-10-29 21:13:05

squaredeye
Member
From: Greenville, SC
Registered: 2005-07-31
Posts: 1,495
Website

Re: [plugin] [ORPHAN] rss_live_search

Also,
My own question:

If a user hits “enter” on a rss_livesearch query, how do I call a search formated page? Currently it calls the default. This may be related to Turbo G’s question?

Any ideas,

Thanks,

matthew


Offline

#90 2005-10-29 23:55:27

gdtroiano
Archived Plugin Author
From: Highland Park, NJ
Registered: 2005-01-29
Posts: 59
Website

Re: [plugin] [ORPHAN] rss_live_search

you can have it display a specific section with the searchto tag.

for example, searchto=“search/”

Last edited by gdtroiano (2005-10-29 23:55:49)

Offline

#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

Board footer

Powered by FluxBB