change quicksearch plugin

Creating and modifying plugins.
Post Reply
MySchizoBuddy
Regular
Posts: 340
Joined: Sun Jun 12, 2005 5:28 am

change quicksearch plugin

Post by MySchizoBuddy »

Any idea how to make quicksearch behave like search on this website.
http://centripetalnotion.com/

right now quicksearch does search dynamically, but it doesn't allow keyboard navigation through the result like that site does.
Image
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

Holy Cow. It's neat, but requires a huge Javascript to support it. View source and have a look; all that would need to be duplicated to provide the same functionality.

And the site scrolls slow on my computer, besides.
MySchizoBuddy
Regular
Posts: 340
Joined: Sun Jun 12, 2005 5:28 am

Post by MySchizoBuddy »

it is cool
all i need is the keyboard capability. the rest is already thre.
Image
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

But the livesearch plugin does allow to use keyboard navigation?!?!

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
MySchizoBuddy
Regular
Posts: 340
Joined: Sun Jun 12, 2005 5:28 am

Post by MySchizoBuddy »

hmm i was using live search on S9Y blog and dind't seem to allow keyboard navigation
Image
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Go to my blog at http://blog.garv.in/ and enter "emba" in the searchbox on the right as soon as it's green bordered.

Wait until results appear. Then press the "down arrow" key on your keyboard...is this what you're looking for?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
MySchizoBuddy
Regular
Posts: 340
Joined: Sun Jun 12, 2005 5:28 am

Post by MySchizoBuddy »

how do i get quicksearch to display outside the sidebar. perhaps in the footer. I cannot use CSS to do that. cause it is wrapped around the sidebar class.
Image
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

You might need to edit the javascript of the livesearch plugin.

You can set the quicksearch plugin to "hidden" and call the plugin within your *.tpl files wherever you like, via the {smarty_showPlugin} function. See the docs for specifics.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
MySchizoBuddy
Regular
Posts: 340
Joined: Sun Jun 12, 2005 5:28 am

Post by MySchizoBuddy »

unable to find the smarty function u mentioned

So hide the current quicksearch plugins by using display:none
and change the javascript and give it a new name and all.
Image
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Look here: http://www.s9y.org/78.html, the third function.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
MySchizoBuddy
Regular
Posts: 340
Joined: Sun Jun 12, 2005 5:28 am

Post by MySchizoBuddy »

garvinhicking wrote:Look here: http://www.s9y.org/78.html, the third function.
Ahh i was looking in smarty documentation
:)
Image
Post Reply