We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

LiveSearch

Development and Programming

Lisa Wess's avatar
Lisa Wess
20,502 posts
21 years ago
Lisa Wess's avatar Lisa Wess

nods It is, for me. Thank you so very much, Paul. You are amazing and incredibly helpful and I really really really appreciate it.

       
Lisa Wess's avatar
Lisa Wess
20,502 posts
21 years ago
Lisa Wess's avatar Lisa Wess

Just a minor amendment to the above stuff. If you are running your livesearch on several pages (mine is on every page in my site) you might want to modify ./index.php … to /index.php …. and change the script call to /livesearch.js - that way it’ll always look from the root up and be able to find it. I had this problem momentarily on my individual entry pages since they call from the comments template.

Just fyi! =)

       
Paul Burdick's avatar
Paul Burdick
480 posts
21 years ago
Paul Burdick's avatar Paul Burdick

I am glad you brought it to my attention. With a fair bit of tweaking, this could be made into a much more general and powerful tool. Grabbing data and updating a page (without reloading the page) in real time…quite a few possibilities there. Shoutboxes…private messaging…link lists…Gmail checking…etc.

The only downside is the amount of backend work being done by using a template, but there might be ways to manage that that could be looked into.

       
Paul Burdick's avatar
Paul Burdick
480 posts
21 years ago
Paul Burdick's avatar Paul Burdick

Well, if your entire site is in EE, then ./index.php should still work because really EE is only calling one file ‘index.php’ and everything else is a query string.

       
Chris Curtis's avatar
Chris Curtis
17 posts
21 years ago
Chris Curtis's avatar Chris Curtis

Wow, that’s pretty slick! If you can, you should certainly try porting this over to be a Plugin, Paul. In your copious free time, of course. [grin]

       
Lisa Wess's avatar
Lisa Wess
20,502 posts
21 years ago
Lisa Wess's avatar Lisa Wess

Paul… it definitely wasn’t working on my individual pages which is why I had to go and change it. I guess because it was index.php/weblog/comments/title-of-post/ ? ./ would have been weblog no?

Changing it to / fixed it anyway - just something I had to do to make it work. =)

I think it would be fantastic if this kind of thing were eventually rolled into EE as options or whatever. Cutting edge stuff, very neat. =)

       
Paul Burdick's avatar
Paul Burdick
480 posts
21 years ago
Paul Burdick's avatar Paul Burdick

Hm, I wonder if the browser would not have seen the difference between the page and the query string, so you are likely right. My bad. A browser is not Apache after all, I suppose.

Yes, and now I have visions of wonderful JavaScript widgets available in EE. Focus! I must focus. Developer API first…

       
Lisa Wess's avatar
Lisa Wess
20,502 posts
21 years ago
Lisa Wess's avatar Lisa Wess

drools I’ll tell you, every day that passes I’m more and more happy that I went ahead and switched to EE. You are all amazing and I am really looking forward to seeing what else comes out of the EE geniuses. =)

       
Lisa Wess's avatar
Lisa Wess
20,502 posts
21 years ago
Lisa Wess's avatar Lisa Wess

If this does make it into a plugin, I’d love the ability to search the full text of the post, not just the titles… I tried reading the code so that I could do that but I’m so lost 😉 Or would that be just too much load?

       
Paul Burdick's avatar
Paul Burdick
480 posts
21 years ago
Paul Burdick's avatar Paul Burdick

I wish there was a glutton for punishment smiley. Yes, I would suspect that this would be available as an option. Might take a look at the search module if you want to understand how to make an

       
Lisa Wess's avatar
Lisa Wess
20,502 posts
21 years ago
Lisa Wess's avatar Lisa Wess

Not really, in 3 weeks I start a really difficult two years of study, I’m trying to be as lazy as humanly possible right now… 😉

       
Paul Burdick's avatar
Paul Burdick
480 posts
21 years ago
Paul Burdick's avatar Paul Burdick

Ohhhhhhhh, I see how it is….

       
Lisa Wess's avatar
Lisa Wess
20,502 posts
21 years ago
Lisa Wess's avatar Lisa Wess

grins plus you’re so good at this, Paul. A genius with it. =)

       
Paul Burdick's avatar
Paul Burdick
480 posts
21 years ago
Paul Burdick's avatar Paul Burdick

Flattery will get you everywhere…

       
Vik's avatar
Vik
209 posts
21 years ago
Vik's avatar Vik

I just added this to my site, and it works great. Thanks, Paul!

       
1 2 3 4 Last

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.