Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: [plugin] [ORPHAN] cbs_live_search
Plugin upgraded.
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
#17 2006-07-27 23:31:04
- Fredb7
- New Member
- Registered: 2005-01-31
- Posts: 6
Re: [plugin] [ORPHAN] cbs_live_search
Thanks cbeyls. Working fine!
About the images. I meant “using a different image depending on the user selected style”. Maybe there is a trick I don’t know that can achieve that.. No big deal anyway.
BTW, I just notice we’re both belgian and speaking french;) . Encore merci.
Offline
Re: [plugin] [ORPHAN] cbs_live_search
Ok now I understand your idea of using CSS to style the images instead of specifying it in the XHTML img src attribute. It’s not a bad one but it may seem more difficult for the user to configure these div’s so they align properly and have the right dimensions and less “natural” than a img tag that does this automatically.
Also, I have never tried to put an animated GIF as background image of a div with CSS. Is the GIF still animated in all browsers?
Et oui, petit bonjour de Belgique où le temps se rafraîchit ce qui permet d’être un peu plus actif :)
Last edited by cbeyls (2006-07-31 14:41:20)
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
#19 2006-07-31 17:23:29
- Fredb7
- New Member
- Registered: 2005-01-31
- Posts: 6
Re: [plugin] [ORPHAN] cbs_live_search
It was just a side note, I don’t think you should change the img. I just have to change two lines in the js. No big deal.
I just use the close img, not a spinner, but I tried an animated as a div background and it’s working in Mozilla browsers at least.
Thanks again, I’ll post the address when the site is online.
Offline
Re: [plugin] [ORPHAN] cbs_live_search
This looks like it may be just what I am after, but don’t you just know it, it is giving me a headache already and I haven’t even installed it yet.
I had a small problem recently, where my site acted very weirdly when I tried to write an article with the word ‘curl’ in it. It kept kicking me out and giving me all sorts of funny problems.
As I consequence, I do not use the word ‘curl’. However, when trying to install your plugin, I am getting these same problems appearing, so before attempting to going any further, I was hoping you could let me know if the plugin has the word ‘curl’ in it too?
If so, at least I know and can move on to the next step of trying to resolve this issue.
Thanks :)
Edit: Resolved the problem by editing the .htaccess file. Thanks. Sorry to bother you.
Last edited by Catalyst (2006-08-07 21:07:45)
Offline
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
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: 707
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
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
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
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
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
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