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

Leevi Graham's avatar
Leevi Graham
1,143 posts
17 years ago
Leevi Graham's avatar Leevi Graham

This is such a great and useful extension!

One thing I didn’t like tho was the styling so I updated it. If you would like the code I have pasted the change below. Look in ext.livesearch.php around line 450 and change the css to:

$new_styles = "
        #livesearch-query { background:#26333B; font-weight:bold; padding:5px; border:1px solid #3D525F; color:#45A7DC;}
        .grey { color:#999; }
        #livesearch-results a { color:#1D7FC6; }
        
        #livesearch-results {
          position:absolute;
          top:38px;
          right:30px;
          width:210px;
          background:#fff;
          padding:0;
          list-style:none;
          text-align:left;
          color:#333;
          border:1px solid #ccc;
          font-size:11px; 
        }
        
        #livesearch-results div {
          color:white;
          font-size:11px;
          font-weight:bold;
          padding:7px 6px;
          background:#768E9D url(".$img_path."bg_table_heading.gif) repeat-x scroll left bottom
        }
        #livesearch-results ol { margin-left:0; margin-top:0; padding-left:0; list-style-position:inside; }
        #livesearch-results ol li { padding:5px 5px; }
        /*#livesearch-results ol li:hover,*/
        #livesearch-results ol li.selected {background:#EEF4F9; }
        ";
       
Leevi Graham's avatar
Leevi Graham
1,143 posts
17 years ago
Leevi Graham's avatar Leevi Graham

Hey Paul,

I’m running LIve Search fine on EE 1.6.2 so I don’t think its causing the issue. What else do you have installed?

Cheers

Hi Mark, I’ve recently had a bit of an issue with regard to moving a site to a new server. I’ve narrowed down a “display” problem to a conflict (EE 1.6.2) with extensions and the one I believe is preventing the Control Panel from displaying seems to be Live Search. If I delete the extension entirely, upon login, I get an error message stating “live search extension can’t be found”. What else, files, etc. need to be deleted in order to remove Live Search entirely? thanks, -p
Update: Remove tables from database
       
minimal design's avatar
minimal design
356 posts
17 years ago
minimal design's avatar minimal design

Does anyone know of a similar plugin for the front end?

Thanks!

       
Ryan M.'s avatar
Ryan M.
1,511 posts
17 years ago
Ryan M.'s avatar Ryan M.
Does anyone know of a similar plugin for the front end?

I agree - I’m getting requests for this sort of thing now, and I don’t have a “go-to” solution for live search on the front end. Wondering how hard it would be to take what Mark has done and apply to the front end?

       
seajay's avatar
seajay
109 posts
17 years ago
seajay's avatar seajay

Works great right out of the “box”.

Why does the documentation redirect to <http://hcphilly.com> where there is nothing?

       
Euan's avatar
Euan
214 posts
16 years ago
Euan's avatar Euan

Got this working on the admin side of things.

Has anyone implemented it on the site side of things that visitors can use to search entries?

       
Danny T.'s avatar
Danny T.
426 posts
16 years ago
Danny T.'s avatar Danny T.

<

blockquote author=”mdesign” date=”1205890387”>

Does anyone know of a similar plugin for the front end?

I believe there is a front-end solution for this. I’m not sure if this is what you guys are looking for, but it seems to actually be quite popular as well. It’s the Live Search Plugin for ExpressionEngine.

Hope this helps! :D

       
emagine media's avatar
emagine media
65 posts
15 years ago
emagine media's avatar emagine media

This works perfectly, and shows on every page in my admin, nice work!

What would I need to do to make this work on only one page of my CP, as I want to put it to one page and not every single one? I have a custom module and was hoping to call it from within my mcp to put on a specific page.

I can see where it is appending the search to the new tabs lang call, but wondering is there another way to do this? I tried simply changing the lang call to one on my custom view, but to no avail.

Any hints or pointers would be great.

       
First 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.