Textpattern Forum

You are not logged in. Register | Login | Help

#21 2006-08-10 04:06:19

cbeyls
Plugin Author
From: Brussels, Belgium
Registered: 2005-09-12
Posts: 136
Website

Re: [plugin] [ORPHAN] cbs_live_search

No, this plugin does not use the PHP curl functions. And it does not use the word “curl” but I don’t understand why this would cause you problems. Anyway, if you fixed your problem then it’s okay.


My plugins : cbs_live_search (improved) – cbs_category_list – cbs_navigation_menu – cbs_gravatar (updated) – cbs_article_index – cbs_maintenance_mode (new) – cbs_section_language (new)

Offline

#22 2006-08-13 12:08:14

Catalyst
Member
From: Yorkshire UK
Registered: 2005-07-30
Posts: 23
Website

Re: [plugin] [ORPHAN] cbs_live_search

Now that I have it all sorted on one site, on another, it simply does not want to play nicely. I have checked and double-checked that all is in place and yet the java doesn’t appear to be active.

The site I am trying to implemt it on is http://thatictguy.com

Any ideas Christophe? Any help would be much appreciated.

Offline

#23 2006-08-14 03:50:15

rsilletti
Moderator
From: Spokane WA
Registered: 2004-04-28
Posts: 700

Re: [plugin] [ORPHAN] cbs_live_search

I added a labeltag attribute to the cbs_live_search function and added this:

<code>
.’<div>’.($label ? ‘<label for=“livesearch_text”><’ .$labeltag. ‘>’.$label.’</’.$labeltag.’></label>’ : ‘’)
</code>

to the label definition. It behaves more like the rest of my textpattern tags that way, its working well for me. Its running at Textcastle

This is lovely!

Offline

#24 2006-08-16 10:51:10

cbeyls
Plugin Author
From: Brussels, Belgium
Registered: 2005-09-12
Posts: 136
Website

Re: [plugin] [ORPHAN] cbs_live_search

@ Catalyst:

At first guess I would say that it doesn’t work for two reasons. When I look at the HTML source of your website:
1) You include prototype.js AFTER you include moo.fx.js . The problem is that moo.fx relies on prototype, so you have to include prototype.js first, and moo.fx.js after, and finally livesearch.js.
2) You include the live search script twice. The first time in livesearch.js, the second time in cbs_live_search.js. Both scripts define the same class, so it’s not going to work.


My plugins : cbs_live_search (improved) – cbs_category_list – cbs_navigation_menu – cbs_gravatar (updated) – cbs_article_index – cbs_maintenance_mode (new) – cbs_section_language (new)

Offline

#25 2006-08-16 12:04:23

Catalyst
Member
From: Yorkshire UK
Registered: 2005-07-30
Posts: 23
Website

Re: [plugin] [ORPHAN] cbs_live_search

Thank you for your help.

It’s easy once you know how :) I just need to sort out the css now that it is working.

Thanks again for the excellent plugin.

Offline

#26 2006-09-24 13:01:06

filip baraka
Member
Registered: 2006-06-05
Posts: 24

Re: [plugin] [ORPHAN] cbs_live_search

hi there cristophe, well again;) can we expect an upgrade of plugin with latest mootools? regards!

Offline

#27 2006-09-24 16:06:25

cbeyls
Plugin Author
From: Brussels, Belgium
Registered: 2005-09-12
Posts: 136
Website

Re: [plugin] [ORPHAN] cbs_live_search

Yes, you can expect that soon ;) Maybe next week.


My plugins : cbs_live_search (improved) – cbs_category_list – cbs_navigation_menu – cbs_gravatar (updated) – cbs_article_index – cbs_maintenance_mode (new) – cbs_section_language (new)

Offline

#28 2006-09-25 11:07:05

filip baraka
Member
Registered: 2006-06-05
Posts: 24

Re: [plugin] [ORPHAN] cbs_live_search

cbeyls wrote:

Yes, you can expect that soon ;) Maybe next week.

yummi

Offline

#29 2006-10-09 15:51:30

cbeyls
Plugin Author
From: Brussels, Belgium
Registered: 2005-09-12
Posts: 136
Website

Re: [plugin] [ORPHAN] cbs_live_search

Hi all,

I greatly improved my javascript skills recently. I’m going to publish a better version of the plugin, based on mootools this time, by the end of the week after the next stable release of mootools. The only problem is that it will not be able to detect connection failures because of a limitation in moo.ajax (despite the fact I found a way to update the moo.ajax code to do this but the author of mootools keeps ignoring my requests), but this should not be a problem in 99% of the cases. The plugin will detect connection failures (if the code added recently to mootools does not change).

This will make the plugin really lighter.

Last edited by cbeyls (2006-10-12 02:04:11)


My plugins : cbs_live_search (improved) – cbs_category_list – cbs_navigation_menu – cbs_gravatar (updated) – cbs_article_index – cbs_maintenance_mode (new) – cbs_section_language (new)

Offline

#30 2006-10-20 15:04:02

cbeyls
Plugin Author
From: Brussels, Belgium
Registered: 2005-09-12
Posts: 136
Website

Re: [plugin] [ORPHAN] cbs_live_search

Ladies and Gentlemen,

I’ve kept my promises; the new stable release of mootools is out so here’s the new version of my plugin , based on mootools! Same effect, more robust, less bugs, and a lot smaller download.

  • Now uses the mootools framework instead of Prototype and moo.fx, for a smaller download size. The code was mostly rewritten to take full advantage of this new framework.
  • Now connection failures and server errors will be detected and the results list will disappear automatically, instead of infinite wait.
  • Less HTML is now written in the page.
  • Bugfix: The results list was wrongly sized in Internet Explorer during the very first display when the width was not fixed. Now you always need to set the width for the results list using CSS.
  • Bugfix: The live search field was always styled as “inactive”, even when it had the focus.

Last edited by cbeyls (2006-10-20 15:07:38)


My plugins : cbs_live_search (improved) – cbs_category_list – cbs_navigation_menu – cbs_gravatar (updated) – cbs_article_index – cbs_maintenance_mode (new) – cbs_section_language (new)

Offline

Board footer

Powered by FluxBB