3 of 4
3
EE Livesearch
Posted: 11 May 2007 07:10 AM   [ Ignore ]   [ # 37 ]  
Grad Student
Avatar
Rank
Total Posts:  86
Joined  09-08-2006

Great! Thank you Derek, Works as advertised.

 Signature 

Stan Majerski
elemental media

Profile
 
 
Posted: 11 May 2007 08:44 AM   [ Ignore ]   [ # 38 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1184
Joined  01-05-2006

Woo Hoo!!  Thanks Derek!

 Signature 

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

Profile
 
 
Posted: 07 July 2007 02:25 PM   [ Ignore ]   [ # 39 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1401
Joined  01-15-2005

Any plan to bring this ability to the front end so users can search live too?

 Signature 

EE Duration Tags | {view_count_total}

Profile
 
 
Posted: 24 July 2007 05:47 AM   [ Ignore ]   [ # 40 ]  
Lab Assistant
RankRank
Total Posts:  162
Joined  01-22-2007

I’m not sure if anyone is interested in this but I installed this great extensions tonight but I noticed that it was still using the original classic admin colour scheme.

If anyone likes things to look perfect and intergrated here is some updated css code to give it the fresh new look we’re used to with the adminCP.

Around line 432 in the extensions file you will see the original style information.

Change with this:

#livesearch-query { font-weight:bold; }
   
.grey { color:#999; }
   #livesearch-results a { color:#367caf; }
   #livesearch-results a:hover { color: #367caf ; }
   #livesearch-results { position:absolute;top:1em;right:29px;margin-top:30px;width:200px;background:#e0e8ea;padding:0;list-style:none;text-align:left;color:#367caf;border:1px solid #ccc; }
   #livesearch-results div { color:#ADC0CB;font-size:12px;padding:6px 10px;background: #142129 url(".$img_path."tab_inactive.gif) repeat-x left bottom; }
   #livesearch-results ol { margin-left:0; padding-left:0; list-style-position:inside; }
   #livesearch-results ol li { padding:3px 5px; }
   /*#livesearch-results ol li:hover,*/
   #livesearch-results ol li.selected {color: #367caf; background: #c1dbea; }
   /*#livesearch-results ol li:hover a,*/
   #livesearch-results ol li.selected a { color:#367caf; }

Save and you should be good to go!

Thanks to Mark for the extensions and Jesse Bennett-Chamberlain for the great looking AdminCP

Profile
 
 
Posted: 24 July 2007 05:52 AM   [ Ignore ]   [ # 41 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1184
Joined  01-05-2006

thanks, danethomas.  I’ve updated the extension to the new look and feel based on your code.  the only thing i changed was making the selected color green to call it out a little more.

 Signature 

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

Profile
 
 
Posted: 24 July 2007 06:20 AM   [ Ignore ]   [ # 42 ]  
Lab Assistant
RankRank
Total Posts:  162
Joined  01-22-2007

Thanks Mark!

I noticed some comments earlier in the thread about making it so that esc closes the dropdown - or as i thought maybe just a subtle x to close the box would be nice. I know that removing the contents of the search removed the box but something that can be a little fiddly (yes I know only 0.4 of a second more).

Actually probably more intuiative would just be for a click outside of the dropdown removes it - similar to the Google Suggest (http://www.google.com/webhp?complete=1&hl=en) dropdown list.

Profile
 
 
Posted: 24 July 2007 06:42 AM   [ Ignore ]   [ # 43 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1184
Joined  01-05-2006

@danethomas the new version should now remove the list on blur and reappear on focus again.

 Signature 

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

Profile
 
 
Posted: 24 July 2007 06:45 AM   [ Ignore ]   [ # 44 ]  
Lab Assistant
RankRank
Total Posts:  162
Joined  01-22-2007

Oh thats just brilliant - looks good and is a lot snappier to use now.

Many thanks!

Profile
 
 
Posted: 24 July 2007 06:46 AM   [ Ignore ]   [ # 45 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1184
Joined  01-05-2006

great, glad it worked out!

 Signature 

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

Profile
 
 
Posted: 01 August 2007 03:24 PM   [ Ignore ]   [ # 46 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  240
Joined  09-30-2005

Hi Mark!

Looking at all your plugin’s…. amazing! Thank you for your contribution!

I have one request though… is there any way to implement this/a Live Search on the FRONT end? Perhaps a way to filter weblogs and catagories as well. That would be awesome if it’s not too troublesome! smile

Thank you!

Profile
 
 
Posted: 08 October 2007 09:45 PM   [ Ignore ]   [ # 47 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1726
Joined  03-26-2006

I’ve used this on just about every site I’ve done - but on the last few it hasn’t worked at all and I’d been utterly nonplussed - when I realized that it’s because I’ve started to mask access to the control panel on my most recent builds.

I’ll take a look under the hood to see if there is any quick fix for that (that I can handle myself, we’ll see…), but I thought I’d bring it to your attention that this doesn’t seem to be working when masking access to the control panel.

 Signature 

ryan masuga
—————
Masuga Design | Member, EE Pro Network
My EE Add-Ons | {devot:ee}
Twitter: masuga | masugadesign | devot_ee

Profile
 
 
Posted: 09 October 2007 10:12 AM   [ Ignore ]   [ # 48 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1184
Joined  01-05-2006

@mdesign - Whoops, that should be fixed now (v1.0.8)....assuming your control panel is at the root of your server, /admin, /system, /cp or something like that.

 Signature 

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

Profile
 
 
Posted: 09 October 2007 10:27 AM   [ Ignore ]   [ # 49 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1726
Joined  03-26-2006

Thanks, Mark, that was fast. I’ll give it a go.

 Signature 

ryan masuga
—————
Masuga Design | Member, EE Pro Network
My EE Add-Ons | {devot:ee}
Twitter: masuga | masugadesign | devot_ee

Profile
 
 
Posted: 09 October 2007 10:30 AM   [ Ignore ]   [ # 50 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1184
Joined  01-05-2006

@mdesign - Excellent, let me know how everything goes.  It was actually a relatively simple fix.  For my own reference though, what usually causes you to mask the CP.  I think I’m just not understanding why people need this feature?

 Signature 

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

Profile
 
 
Posted: 09 October 2007 10:34 AM   [ Ignore ]   [ # 51 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1726
Joined  03-26-2006

For the record, this worked - so thanks for the update.

I just started doing this for clients. I’m not sure how much added security it is, but it’s certainly a selling point to some of the more paranoid clients. The job I have now is for a very good sized company and they’re quite concerned about security. It’s easy enough to do, so I thought I’d try it out.

 Signature 

ryan masuga
—————
Masuga Design | Member, EE Pro Network
My EE Add-Ons | {devot:ee}
Twitter: masuga | masugadesign | devot_ee

Profile
 
 
Posted: 09 October 2007 10:37 AM   [ Ignore ]   [ # 52 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1184
Joined  01-05-2006

Huh, so I guess masking the CP means potential hackers don’t know the location of /system/core/core.system.php even if they know your login location is /admin.php.  Makes sense, thanks!

 Signature 

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

Profile
 
 
Posted: 09 October 2007 11:46 AM   [ Ignore ]   [ # 53 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  135
Joined  05-25-2002

Mark, I’ve updated to 1.08 and suggestion menu not shown. 1.07 works still perfectly.

And here is the little feature request: could you create language part of the extension for possibility localize extension to native languages?

 Signature 

Caleydon Media

+ CM Strange URL Interpreter
+ CM Textarea Resizer
+ CM Template Editor (EditArea)

Profile
 
 
Posted: 09 October 2007 12:31 PM   [ Ignore ]   [ # 54 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1184
Joined  01-05-2006

@Gabriel - Strange.  Would you be able to enlighten me with the location to your system folder?  Is it something like ‘/system’ or deeper like ‘/ee/admin’?  Also is ‘system_folder’ correctly set in your system/config.php file? I can probably add localization with the next update as there’s only three words that need to be localized, I think.

 Signature 

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

Profile
 
 
   
3 of 4
3
 
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 09:33 AM
Total Registered Members: 64904 Total Logged-in Users: 51
Total Topics: 81848 Total Anonymous Users: 27
Total Replies: 440045 Total Guests: 239
Total Posts: 521893    
Members ( View Memberlist )