1 of 4
1
EE Livesearch
Posted: 19 September 2006 02:46 PM   [ Ignore ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1183
Joined  01-05-2006

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.

File Attachments
ext.livesearch_108.zip  (File Size: 5KB - Downloads: 350)
 Signature 

================================================
    Mark Huot
    http://markhuot.com
================================================

Profile
 
 
Posted: 19 September 2006 03:02 PM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  32150
Joined  05-14-2004

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. =)

 Signature 
Profile
MSG
 
 
Posted: 19 September 2006 03:06 PM   [ Ignore ]   [ # 2 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  32150
Joined  05-14-2004

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.

 Signature 
Profile
MSG
 
 
Posted: 19 September 2006 04:16 PM   [ Ignore ]   [ # 3 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1183
Joined  01-05-2006

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.

 Signature 

================================================
    Mark Huot
    http://markhuot.com
================================================

Profile
 
 
Posted: 19 September 2006 05:37 PM   [ Ignore ]   [ # 4 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1183
Joined  01-05-2006

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

 Signature 

================================================
    Mark Huot
    http://markhuot.com
================================================

Profile
 
 
Posted: 30 November 2006 06:35 AM   [ Ignore ]   [ # 5 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  151
Joined  05-15-2004

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!

Image Attachments
snapshot1.png
Click thumbnail to see full-size image
 Signature 

Lyubov Berezina
http://www.retrobox.ru

Profile
 
 
Posted: 30 November 2006 08:50 AM   [ Ignore ]   [ # 6 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1183
Joined  01-05-2006

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.

 Signature 

================================================
    Mark Huot
    http://markhuot.com
================================================

Profile
 
 
Posted: 30 November 2006 09:06 AM   [ Ignore ]   [ # 7 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  151
Joined  05-15-2004

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?

 Signature 

Lyubov Berezina
http://www.retrobox.ru

Profile
 
 
Posted: 30 November 2006 09:25 AM   [ Ignore ]   [ # 8 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1183
Joined  01-05-2006

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

 Signature 

================================================
    Mark Huot
    http://markhuot.com
================================================

Profile
 
 
Posted: 30 November 2006 10:18 AM   [ Ignore ]   [ # 9 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  151
Joined  05-15-2004

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 :(

 Signature 

Lyubov Berezina
http://www.retrobox.ru

Profile
 
 
Posted: 30 November 2006 10:20 AM   [ Ignore ]   [ # 10 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1183
Joined  01-05-2006

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

 Signature 

================================================
    Mark Huot
    http://markhuot.com
================================================

Profile
 
 
Posted: 30 November 2006 10:36 AM   [ Ignore ]   [ # 11 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  151
Joined  05-15-2004

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.

 Signature 

Lyubov Berezina
http://www.retrobox.ru

Profile
 
 
Posted: 30 November 2006 10:46 AM   [ Ignore ]   [ # 12 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  151
Joined  05-15-2004

Ok, here are some screenshots smile

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.

Image Attachments
snapshot2.pngsnapshot3.pngsnapshot4.png
Click thumbnail to see full-size image
 Signature 

Lyubov Berezina
http://www.retrobox.ru

Profile
 
 
Posted: 02 December 2006 04:25 AM   [ Ignore ]   [ # 13 ]  
Research Assistant
RankRankRank
Total Posts:  970
Joined  06-13-2005

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

Image Attachments
live.gif
Click thumbnail to see full-size image
 Signature 

tulks.com

Profile
 
 
Posted: 02 December 2006 04:57 AM   [ Ignore ]   [ # 14 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  151
Joined  05-15-2004
sigork - 02 December 2006 04:25 AM

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

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

 Signature 

Lyubov Berezina
http://www.retrobox.ru

Profile
 
 
Posted: 02 December 2006 05:05 PM   [ Ignore ]   [ # 15 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1183
Joined  01-05-2006

Alright version 1.0.5 should fix a few of these bugs.  Please let me know what still remains.  Also do you have Auto Convert High ASCII turned “On” or “Off”?  You can find it here: CP Home ›  Admin ›  Weblog Administration ›  Global Weblog Preferences

 Signature 

================================================
    Mark Huot
    http://markhuot.com
================================================

Profile
 
 
Posted: 02 December 2006 05:21 PM   [ Ignore ]   [ # 16 ]  
Research Assistant
RankRankRank
Total Posts:  970
Joined  06-13-2005

The picture is w/o changes.

Automatically Convert High ASCII Text to Entities : No
 Signature 

tulks.com

Profile
 
 
Posted: 02 December 2006 08:02 PM   [ Ignore ]   [ # 17 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1183
Joined  01-05-2006

sigork, have you tried version 1.0.5?

 Signature 

================================================
    Mark Huot
    http://markhuot.com
================================================

Profile
 
 
Posted: 03 December 2006 01:43 AM   [ Ignore ]   [ # 18 ]  
Research Assistant
RankRankRank
Total Posts:  970
Joined  06-13-2005

yes, 1.0.5 was used, the same picture (like in a previous post of mine above, with the strange symbol at the end in some entries).

 Signature 

tulks.com

Profile
 
 
   
1 of 4
1
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 10:33 AM
Total Registered Members: 62691 Total Logged-in Users: 32
Total Topics: 77272 Total Anonymous Users: 15
Total Replies: 417102 Total Guests: 171
Total Posts: 494374    
Members ( View Memberlist )