2 of 4
2
EE Livesearch
Posted: 03 December 2006 04:40 AM   [ Ignore ]   [ # 19 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  151
Joined  05-15-2004

I’ve updated to 1.0.5, still does not work. Except that when I enter American Express, I get the blue line as if I entered Morgan Stanley (see my screenshots here)

 Signature 

Lyubov Berezina
http://www.retrobox.ru

Profile
 
 
Posted: 21 December 2006 08:54 PM   [ Ignore ]   [ # 20 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  116
Joined  12-29-2004

Not sure if this is related to Jinjiru’s problem, but Mark I just installed your (excellent) Live-search extension on a client’s server running PHP 4.2.2 and it won’t work. So after calling a query directly to the extension I realized the problem is that you’re calling

mysql_real_escape_string()

which is doesn’t exist prior to PHP 4.3.

I fixed the problem by breaking it out and calling the older and deprecated

mysql_escape_string()

Don’t know if it’s worth Mark’s time doing anything about this, but thought I’d bring it up in case it helps anyone…I don’t think this extension is “silly” as mark said, I think it’s become pretty darn handy to me.

And as always, have to reiterate my thanks to Mark for all his awesome work.

 Signature 

imagehat studio
the forum user formerly known as lavalamp

Profile
 
 
Posted: 22 December 2006 11:51 AM   [ Ignore ]   [ # 21 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  495
Joined  04-23-2006

installed quickly and easily.
i wanted to make my input field a bit longer (from 200px to 400px), as well as show more characters (instead of capping off at 25, increased to 50).

here is a quick little hack to extend the size of your search query text field, and the resulting drop down box
i’ve just done this this morning, so i highly recommend you keep your original ext.livesearch.php safely stored just incase of some error (back up your backups smile).

line #436:
change this: width:200px
to this
: width:400px

#447:
width:200px
width
:400px

#492: (this appears twice)
> 25) ?
>
50) ?

#492:
, 25)).
,
50)).

#513: (this appears twice)
> 25) ?
>
50) ?

#513:
, 25))
,
50))

little screenshot below.
i hope it’s clear.
smile

Image Attachments
before and after.png
Click thumbnail to see full-size image
 Signature 

OLD username was jammo, NEW username is OrganizedFellow

It’s a struggle even to keep focused. This is the best of my AD/HD & GTD.
The exceptionally slow growth of my web dev projects is eclipsed by my patience, understanding and desire to learn AS MUCH AS POSSIBLE as I slowly progress.

Profile
 
 
Posted: 11 January 2007 12:59 PM   [ Ignore ]   [ # 22 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  950
Joined  12-20-2002

Trying out your various extensions, and this is another winner. Great stuff!

 Signature 

Who ain’t a slave? - Ishmael

Profile
 
 
Posted: 12 April 2007 07:50 AM   [ Ignore ]   [ # 23 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  510
Joined  04-24-2004

This is very handy Mark, esp on sites with thousands of entries, thanks for releasing it!

I just had one tiny feature request - would it be possible to include something that allows you to hit [esc] to close the search results box? Unless I’ve missed something obvious, once the live search is invoked, the results stay there, and the only way to close it is to refresh, as far as I can tell (FF 2.0).

Thanks! smile

 Signature 

lukestevensdesign.com · Design 2.0 · Pro Network member

Profile
 
 
Posted: 12 April 2007 08:08 AM   [ Ignore ]   [ # 24 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1183
Joined  01-05-2006

or just clear out your search term and the results should go away.

 Signature 

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

Profile
 
 
Posted: 12 April 2007 09:14 AM   [ Ignore ]   [ # 25 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  510
Joined  04-24-2004

Ah true, I just found myself hitting escape on auto-pilot to try and get out of the results, and thought it might surprise users if it had no effect. Ctrl/cmd-a, delete is pretty quick too I guess in terms of workflow, but maybe not as intuitive?

 Signature 

lukestevensdesign.com · Design 2.0 · Pro Network member

Profile
 
 
Posted: 07 May 2007 03:22 PM   [ Ignore ]   [ # 26 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  297
Joined  10-01-2003
Mark Huot - 19 September 2006 02:46 PM
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.

I was just wondering about some way to do this last night. i have to give your plugin a go. It may do what i need: .... i am finding it cumbersome to work in the edit field of my EDIT/PUNLISH template. I have to scroll long entries looking for various strings of text to correct / change etc , ... is there a tip to make working with long entries easier?

Profile
 
 
Posted: 07 May 2007 04:12 PM   [ Ignore ]   [ # 27 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1183
Joined  01-05-2006

Honestly, for _really_ long entries, I find myself copying/pasting the text into Apple’s Pages or Textmate to doing my editing in there.

 Signature 

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

Profile
 
 
Posted: 10 May 2007 04:48 PM   [ Ignore ]   [ # 28 ]  
Grad Student
Avatar
Rank
Total Posts:  81
Joined  09-08-2006

Mark, thanks for this great extension, saves a lot of time.

My concern is that it does not work with CLONE ENTRIES extension. Nothing breaks but Livesearch disappears from CP when Cloen is turned on. is that fixable?

using v 1.0.5

 Signature 

Stan Majerski
elemental media

Profile
 
 
Posted: 10 May 2007 04:53 PM   [ Ignore ]   [ # 29 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1183
Joined  01-05-2006

Do you have a link to the clone entries extension?  I’m not familiar with that.

 Signature 

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

Profile
 
 
Posted: 10 May 2007 06:47 PM   [ Ignore ]   [ # 30 ]  
Grad Student
Avatar
Rank
Total Posts:  81
Joined  09-08-2006

Sure. http://expressionengine.com/downloads/details/cloner/ made by Paul Burdick.
Thanks Mark for looking into it.

 Signature 

Stan Majerski
elemental media

Profile
 
 
Posted: 10 May 2007 06:53 PM   [ Ignore ]   [ # 31 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15287
Joined  06-03-2002

He may be referring to this one, Mark.

Edit: refresh, refresh, refresh

 Signature 
Profile
MSG
 
 
Posted: 10 May 2007 06:55 PM   [ Ignore ]   [ # 32 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1183
Joined  01-05-2006

Ok, It looks like the `remove_entryid` does not take advantage or check for the $EXT->last_call variable.  That’s why it’s overriding the livesearch changes.  Is there anyway someone on the EE team can update the cloner extension?

Thanks
mark.

 Signature 

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

Profile
 
 
Posted: 10 May 2007 06:58 PM   [ Ignore ]   [ # 33 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15287
Joined  06-03-2002

Oh, naughty.  Sure, I’ll take care of it tonight, Mark.  Heading out the house right now though, so it will be later in the evening.

 Signature 
Profile
MSG
 
 
Posted: 10 May 2007 07:00 PM   [ Ignore ]   [ # 34 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1183
Joined  01-05-2006

eh, when you get a chance derek.  i don’t think this issue is too hot right now.  thanks again!

 Signature 

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

Profile
 
 
Posted: 10 May 2007 07:06 PM   [ Ignore ]   [ # 35 ]  
Grad Student
Avatar
Rank
Total Posts:  81
Joined  09-08-2006

Great guys. No rush at all. I am glad you found the cause.

 Signature 

Stan Majerski
elemental media

Profile
 
 
Posted: 11 May 2007 08:04 AM   [ Ignore ]   [ # 36 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15287
Joined  06-03-2002

Version 1.1 of the Cloner extension is available for download.

 Signature 
Profile
MSG
 
 
   
2 of 4
2
 
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: 62613 Total Logged-in Users: 17
Total Topics: 77114 Total Anonymous Users: 13
Total Replies: 416395 Total Guests: 148
Total Posts: 493509    
Members ( View Memberlist )