Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#16 2005-05-17 20:58:06
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: [plugin] [ORPHAN] rss_live_search
I still got that warning in the preview, but after installing it works fine, so no problem I guess.
Offline
Re: [plugin] [ORPHAN] rss_live_search
Would it be possible to include as an option the chance to use <input type="search" />? This only works on Safari, but it produces pretty cool rounded search boxes.
Thanks and great plugin.
bludrop studios .::. Creative Expression
Offline
Re: [plugin] [ORPHAN] rss_live_search
installed this yesterday and got it working. switching to /section/title fixed the url error it was giving me. i prefer to be on /year/month/date format, but when i was using that the search always returned a value of /1969/12/31/. any ideas?
Listen to Kenneth
Offline
#19 2005-06-01 15:57:12
- alice_c
- Plugin Author

- From: Karlsruhe, Germany
- Registered: 2004-07-03
- Posts: 33
Re: [plugin] [ORPHAN] rss_live_search
Is it possible, that the livesearch finds articles, which are in sections, that shouln’t be searched? I just compared the two results, an in the “normal” search they are excluded.
Edit: found the bug:
$s_filter = filterSearch();
is missing in the plugin, also the function filterSearch() from search.php.
Having included that, it works fine ;)
Last edited by alice_c (2005-06-01 16:23:40)
Offline
Re: [plugin] [ORPHAN] rss_live_search
blumie – I’m not too inclined to add browser specific code to the plugin. Just because Safari is light years better than IE doesn’t make browser specific hacks any better. In any case I don’t think that code validates to the XHTML spec which is why I didn’t add it. I could be wrong on that though.
kennethlove – I assume that this doesn’t happen when you do a normal search? If not I’m not sure what would cause that because the permalink is built using the built in textpattern function. I’ll have to experiment with it.
alice_c – That was a problem in the initial release of the plugin but it should work in the latest download.
Offline
Re: [plugin] [ORPHAN] rss_live_search
wilshire – just hitting enter works, yes. and i changed my url scheme to /section/title so it works now, but i’d rather have /year/month/date. any ideas?
Listen to Kenneth
Offline
Re: [plugin] [ORPHAN] rss_live_search
Rob. Re: recent discussions in my “TXP Gespaa Single” thread it would appear that having the live_search_js tag on any page other than the search page itself throws a scripting error in IE6. This is a bit of a pain as I use a common DTD form template in my style ports. Other than throwing the error there doesn’t appear to be any other side-effects, but short of creating a separate search page template is there any way around this?
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: [plugin] [ORPHAN] rss_live_search
i can’t figure this out. using just the rss_live_search tag produces the search form, but it’s not visible on the the site (i had to view page source to see it).
and when i attempt to just add the code that should be produced, the search results area shows a copy of the entire site. weird, eh?
Last edited by gdtroiano (2005-06-03 20:36:16)
Offline
Re: [plugin] [ORPHAN] rss_live_search
There’s a new release of this plugin to fix a couple of the bugs mentioned above…
Version 0.2.2
- Fixed javascript errors on pages that include the live search js but not the live search form (thanks Stuart)
- Fixed problems when using /year/month/day/title URLs scheme (thanks Kenneth)
Offline
Re: [plugin] [ORPHAN] rss_live_search
thanks, rob. the new version fixed my problem. yeah!
Offline
Re: [plugin] [ORPHAN] rss_live_search
Thanks Rob. :)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: [plugin] [ORPHAN] rss_live_search
getting some validation errors with this plugin:
<code>236, column 10: document type does not allow element “label” here; missing one of “p”, “h1”, “h2”, “h3”, “h4”, “h5”, “h6”, “div”, “pre”, “address”, “fieldset”, “ins”, “del” start-tag
<label><input id=“livesearch” name=“q” onkeypress=“liveSearchStart()” size=”
</code>
&
<code>
Line 236, column 99: document type does not allow element “br” here; missing one of “p”, “h1”, “h2”, “h3”, “h4”, “h5”, “h6”, “div”, “pre”, “address”, “fieldset”, “ins”, “del” start-tag
…rchStart()” size=“20” /></label><br/>
</code>
I fixed by replaced br with p tags instead. The following two I don’t know how to fix:
<code>
Line 235, column 30: there is no attribute “name”
<p><form id=“searchform” name=“searchform” method=“get”
</code>
&
<code>
Line 235, column 123: document type does not allow element “form” here; missing one of “object”, “ins”, “del”, “map” start-tag
… onsubmit=“return liveSearchSubmit()”>
</code>
Additonally I got that same error message during the install though I haven’t paid much notice to it as the plugin “seems” to be working. THanks for the work Rob, now I jut hope someone can help me fix the errors so I can get it to validate at least to 1.0 Strict
Last edited by sekhu (2005-06-10 23:10:53)
Offline
Re: [plugin] [ORPHAN] rss_live_search
Wow, something weird just happened. I was enhancing my site and such, and all of a sudden the search box disappears.
Here is my TXP code:
<blockquote><pre><txp:rss_live_search inputvalue=“type here to search” autocompleteoff=“1” showdate=“1” inputsize=”“ /></pre></blockquote>
And here is the HTML produced:
<blockquote><pre><form id=“searchform” name=“searchform” method=“get” action=“http://www.midrasha.com/” onsubmit=“return liveSearchSubmit()”>
<label>LiveSearch:
<input id=“livesearch” name=“q” value=“type here to search” onkeypress=“liveSearchStart()”
size=”“ onblur=“if (this.value '') {this.value = 'type here to search';}"
onfocus="if (this.value ‘type here to search’) {this.value = ‘’;}” autocomplete=“off” /></label><br/>
<div id=“LSResult” style=“display: none;”><div id=“LSShadow”></div></div>
</form></pre>
</blockquote>
What could be the problem?
Last edited by blumie607 (2005-06-12 05:28:39)
bludrop studios .::. Creative Expression
Offline
Re: [plugin] [ORPHAN] rss_live_search
This is really weird. I have no idea where the search box went. Can anybody help??
bludrop studios .::. Creative Expression
Offline
#30 2005-06-20 08:45:29
- roelof
- Member
- Registered: 2005-03-27
- Posts: 647
Re: [plugin] [ORPHAN] rss_live_search
Hello,
Im using this plugin on my site: http://msk.knoal.nl/index.php?s=search
But if a look at this page everything looks allright but at the moment i submit a letter i get a “error on this page”. I use messy url’s.
How can i get this plugin work good.
Roelof
Offline