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

elemental's avatar
elemental
77 posts
18 years ago
elemental's avatar elemental

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

       
Derek Jones's avatar
Derek Jones
7,561 posts
18 years ago
Derek Jones's avatar Derek Jones

He may be referring to this one, Mark.

Edit: refresh, refresh, refresh

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

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.

       
Derek Jones's avatar
Derek Jones
7,561 posts
18 years ago
Derek Jones's avatar Derek Jones

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.

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

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

       
elemental's avatar
elemental
77 posts
18 years ago
elemental's avatar elemental

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

       
Derek Jones's avatar
Derek Jones
7,561 posts
18 years ago
Derek Jones's avatar Derek Jones

Version 1.1 of the Cloner extension is available for download.

       
elemental's avatar
elemental
77 posts
18 years ago
elemental's avatar elemental

Great! Thank you Derek, Works as advertised.

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

Woo Hoo!! Thanks Derek!

       
EE lover's avatar
EE lover
50 posts
18 years ago
EE lover's avatar EE lover

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

       
Dane Thomas's avatar
Dane Thomas
139 posts
18 years ago
Dane Thomas's avatar Dane Thomas

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

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

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.

       
Dane Thomas's avatar
Dane Thomas
139 posts
18 years ago
Dane Thomas's avatar Dane Thomas

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.

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

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

       
Dane Thomas's avatar
Dane Thomas
139 posts
18 years ago
Dane Thomas's avatar Dane Thomas

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

Many thanks!

       
1 2 3 4 5

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.