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

EE Livesearch

Development and Programming

Mark Huot's avatar
Mark Huot
587 posts
18 years ago
Mark Huot's avatar Mark Huot

A sort of silly extension, but for my project with 2000+ entries this seemed to work the best. Enabling this adds a “Livesearch” field to the top of the admin pages. Typing in there will select entries and comments containing the inputted text. Give it a whirl and let me know how it works.

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

Mark, I hope you’ll add your extensions and modules to the lists on the wiki:

http://expressionengine.com/wiki/Extensions http://expressionengine.com/wiki/Modules

Thanks for sharing these with us. =)

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

Just a few notes

1) This is marvellous, thank you. 2) The settings tab seems to want to work, but there is no lang file in the zip - so clicking it brings up a missing language file error 3) Searching for “Other’s” doesn’t work - though I have a post with that as part of the title, that it does find if I use a different keyword. Apostrophe issue? 4) Gettng Notice: Undefined index: S in .. /ext.livesearch.php on line 101

I love this, thank you.

       
Mark Huot's avatar
Mark Huot
587 posts
18 years ago
Mark Huot's avatar Mark Huot

I updated the extension to fix those few bugs, as well as removed the settings=’y’ call. See first post for the most up to date extension.

       
Mark Huot's avatar
Mark Huot
587 posts
18 years ago
Mark Huot's avatar Mark Huot

One final update to fix a small formatting bug in IE, see first post for updated extension.

       
Lyubov Berezina's avatar
Lyubov Berezina
42 posts
18 years ago
Lyubov Berezina's avatar Lyubov Berezina

Sorry for disturbing, but I’ve downloaded your extension and installed it into my EE1.5.1. And there’s no Livesearch field anywhere as well as any setting link :( (I’ve attached a screenshot). And Documentation links leads to http://www.hcphilly.com which is a blank page :(

Can you please help me?

Thank you!

       
Mark Huot's avatar
Mark Huot
587 posts
18 years ago
Mark Huot's avatar Mark Huot
  1. There should not be settings. I accidently left them on in the first release, then turned them off in a later version.
  2. This may be because your not using English. I believe I hardcoded in an English word to look for, and when it’s not there it doesn’t show up. I will check this out and post back later today.
       
Lyubov Berezina's avatar
Lyubov Berezina
42 posts
18 years ago
Lyubov Berezina's avatar Lyubov Berezina

Mark Huot, switching to English really helps, thank you! But my users would like to keep Russian as a system language - is it possible to get Livesearch form without switching back to English?

       
Mark Huot's avatar
Mark Huot
587 posts
18 years ago
Mark Huot's avatar Mark Huot

Alright, 1.0.4 should fix any language problems. Find it at the top of the thread.

       
Lyubov Berezina's avatar
Lyubov Berezina
42 posts
18 years ago
Lyubov Berezina's avatar Lyubov Berezina

It now appears indeed, thank you. But I guess I does not work as intended - I enter a word (I’m sure there is such an entry) and there’s no result :(

       
Mark Huot's avatar
Mark Huot
587 posts
18 years ago
Mark Huot's avatar Mark Huot

Does the word have any foreign characters in it? Something like é, å, ô? Are you looking for the entry by title? or a custom field?

       
Lyubov Berezina's avatar
Lyubov Berezina
42 posts
18 years ago
Lyubov Berezina's avatar Lyubov Berezina

It does not work with either russian or english words. I enter, for example, American (there.s an entry with a title starting with “American Express’) and just nothing happens.

       
Lyubov Berezina's avatar
Lyubov Berezina
42 posts
18 years ago
Lyubov Berezina's avatar Lyubov Berezina

Ok, here are some screenshots 😊

  1. Nothing is entered into the Livesearch form
  2. There’s an entry with a title starting with Morgan Stanley. See this blue line? Looks like something is trying to happen but to no avail.
  3. There’s an entry with a title including (but not startin with) American Express. No blue line.
       
sigork's avatar
sigork
155 posts
18 years ago
sigork's avatar sigork

A small problem with some final characters.

Please look at Entry No. 9 and the Title (compare them).

The Title is correct. But LS shows a strange symbol at the end.

1.0.4

       
Lyubov Berezina's avatar
Lyubov Berezina
42 posts
18 years ago
Lyubov Berezina's avatar Lyubov Berezina
A small problem with some final characters. Please look at Entry No. 9 and the Title (compare them). The Title is correct. But LS shows a strange symbol at the end. 1.0.4

А у меня с русским языком вообще не работает :(

       
1 2 3 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.