Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#76 2009-10-19 00:55:41

THE BLUE DRAGON
Member
From: Israel
Registered: 2007-11-16
Posts: 638
Website

Re: [plugin] [ORPHAN] cbs_live_search

Is it just me or for some reason this plugin doesn’t work on Firefox v3.5.3 ?

Offline

#77 2009-10-19 01:03:38

masa
Member
From: North Wales, UK
Registered: 2005-11-25
Posts: 1,095

Re: [plugin] [ORPHAN] cbs_live_search

THE BLUE DRAGON wrote:

Is it just me or for some reason this plugin doesn’t work on Firefox v3.5.3 ?

I have it running on a local install of 4.0.8 and it works fine in FF 3.5.3 – must be something else.

Offline

#78 2009-10-19 01:21:15

THE BLUE DRAGON
Member
From: Israel
Registered: 2007-11-16
Posts: 638
Website

Re: [plugin] [ORPHAN] cbs_live_search

Ohh my problem was with linking to the jquery file.
never mind

Last edited by THE BLUE DRAGON (2009-10-19 11:22:38)

Offline

#79 2009-10-19 12:28:53

THE BLUE DRAGON
Member
From: Israel
Registered: 2007-11-16
Posts: 638
Website

Re: [plugin] [ORPHAN] cbs_live_search

Is there a way to custom the results links please?

I need to add the section name at the end of any result,
because lets say I post a news article about my trip to blabla,
now after the trip I post another two articles one with videos and one with photos.
so when you search for blabla you get 3 articles titles results that quite the same,
and you don’t know if it’s photos/videos or news.
so by adding the section name the visitor can know what is what.

I believe I need to edit this line of code and also add a global/var above of it:

<a href="'.$hurl.'">'.$a['Title'].'</a>

Offline

#80 2009-10-21 20:07:48

Zanza
Plugin Author
Registered: 2005-08-18
Posts: 699
Website

Re: [plugin] [ORPHAN] cbs_live_search

I have a problem using this plugin in txp 4.2.0: when in live mode I get this very same error message.

Strict Standards: Non-static method timezone::is_dst() should not be called statically in /home/root/textpattern/lib/txplib_misc.php on line 1265
Strict Standards: Non-static method timezone::is_supported() should not be called statically in /home/root/textpattern/lib/txplib_misc.php on line 2523

I temporarily solved by using the Ruud’s suggestion in that thread, but that is a suboptimal solution. I was wondering if this could be fixed in the plugin or in the next bugfix version of textpattern, because I’m not sure if it’s a bug or a feature/option/server setting/etc…

The problem is not showing when in debug or test mode, and that sounds strange to me. And, also, the error messages change when you change the timezone setting from automatic. Maybe adding some check is good, but I don’t exactly understant who should do that, if developer or plugin author…

Offline

#81 2009-10-24 14:14:54

THE BLUE DRAGON
Member
From: Israel
Registered: 2007-11-16
Posts: 638
Website

Re: [plugin] [ORPHAN] cbs_live_search

Ok I got a problem on Firefox

It’s only works when I’m viewing my site with www.
but without www it’s not working
I even went to the admin > Site URL – and deleted the www, and it’s still not working

does anyone know how to help my with this issue please?

Offline

#82 2009-10-24 15:47:31

THE BLUE DRAGON
Member
From: Israel
Registered: 2007-11-16
Posts: 638
Website

Re: [plugin] [ORPHAN] cbs_live_search

Here is how to add the section name to the results if you want to:

all you need is to add:
'.$a['Section'].'
where you want in:
<a href="'.$hurl.'">'.$a['Title'].'</a>

example #1:

<a href="'.$hurl.'">'.$a['Title'].'<br />'.$a['Section'].'</a>

example #2:

<a href="'.$hurl.'">'.$a['Title'].'</a><div class="section">page: <span>'.$a['Section'].'</span></div>

and you can use css text-transform:capitalize; to transforms the first character of each word to uppercase.
so section ‘news’ will become ‘News’
enjoy!
=)

Offline

#83 2009-11-18 18:19:58

rathersplendid
Plugin Author
From: London
Registered: 2008-05-02
Posts: 163
Website

Re: [plugin] [ORPHAN] cbs_live_search

How do I search the current section with this plugin? I only need to have my ‘blog’ section searchable. Any ideas?

Many thanks

PS Great plugin by the way


Admin Themes Prometheus | Stung | <txp:coder/
My Portfolio | ɹǝpuɐz.com | @MrMartineau
<txp:coder /> – Convert your designs into Textpattern-based websites
jQuery Style | @jquerystyle

Offline

#84 2009-11-18 18:42:16

THE BLUE DRAGON
Member
From: Israel
Registered: 2007-11-16
Posts: 638
Website

Re: [plugin] [ORPHAN] cbs_live_search

rathersplendid wrote:

How do I search the current section with this plugin? I only need to have my ‘blog’ section searchable. Any ideas?

Presentation > Sections >
and then change the option of “Include in site search” to “No” in each section you don’t want the search to look into.

Offline

#85 2009-11-18 19:22:50

rathersplendid
Plugin Author
From: London
Registered: 2008-05-02
Posts: 163
Website

Re: [plugin] [ORPHAN] cbs_live_search

Cheers buddy, I don’t know why I didn’t think of this, it worked a dream.


Admin Themes Prometheus | Stung | <txp:coder/
My Portfolio | ɹǝpuɐz.com | @MrMartineau
<txp:coder /> – Convert your designs into Textpattern-based websites
jQuery Style | @jquerystyle

Offline

#86 2009-11-20 09:48:49

Noxgenus
Member
Registered: 2009-03-12
Posts: 21

Re: [plugin] [ORPHAN] cbs_live_search

I don’t think the author is paying anymore attention to this thread..

anybody have the v0.6 version of this plugin for me, or know where I can find it? Need the mootools 1.11 version

tried mailing Christophe, but no answer

Offline

#87 2009-11-26 00:56:45

THE BLUE DRAGON
Member
From: Israel
Registered: 2007-11-16
Posts: 638
Website

Re: [plugin] [ORPHAN] cbs_live_search

I still got a problem on all browsers
It’s only display the live-results-list when I’m viewing my site with www.
but without www it’s not working.

Does anyone else got this problem?
and maybe know how to fix it please?

Offline

#88 2009-12-02 20:12:05

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: [plugin] [ORPHAN] cbs_live_search

THE BLUE DRAGON wrote:

It’s only display the live-results-list when I’m viewing my site with www.
but without www it’s not working.

Not sure, but could it be caused by this code?

<form id="live_search" name="live_search" method="get" action="http://www.flash-brothers.com/search">

I haven’t used this plugin for ages so I don’t know if this is what the plugin tag generates, or if you can change it manually to action="/search" (and if that would solve the problem at all…). If not, a possible solution might be to redirect all non-www requests to www in .htaccess.

Offline

#89 2009-12-02 20:38:41

THE BLUE DRAGON
Member
From: Israel
Registered: 2007-11-16
Posts: 638
Website

Re: [plugin] [ORPHAN] cbs_live_search

Els wrote:

or if you can change it manually to action="/search"

ohhh…thank you!
that does solve my problem :)

Last edited by THE BLUE DRAGON (2009-12-02 20:39:15)

Offline

#90 2010-03-17 03:37:43

whaleen
Member
From: Portland
Registered: 2006-05-11
Posts: 373
Website

Re: [plugin] [ORPHAN] cbs_live_search

How to limit search to one section?


txtstrap (Textpattern + Twitter Bootstrap + etc…)

Offline

Board footer

Powered by FluxBB