quicksearch and static pages

Creating and modifying plugins.
Post Reply
carl_galloway
Regular
Posts: 1331
Joined: Sun Dec 04, 2005 5:43 pm
Location: Andalucia, Spain
Contact:

quicksearch and static pages

Post by carl_galloway »

I'm testing the latest nightly and I notice that the quicksearch plugin picks up static pages as well, this is great, however the static pages are listed after the entries which unfortunately also means they are listed after the page footer (previous, number of entries, next etc) and the html use to display the static pages doesn't look anything like the rest of the results.

Is it possible to recode the output so that the static pages search results more closely resemble a normal search result? And can we reposition them so that they aren't at the bottom, or if they are that the page footer is removed or includes the static page count? Hope that makes sense.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: quicksearch and static pages

Post by garvinhicking »

Hi!

Sadly this is not possible without breaking all existing templates. So I chose to go the way that would work with all templates, which is to use the footer hook that exists in all templates.

With some additional CSS for each template, the look of it could be made more pleasing; or with a general CSS that is emitted by the plugin it could also be made prettier.

But formatting them like the entries into the same output pane is impossible without recreating every single theme out there...

Best 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/
carl_galloway
Regular
Posts: 1331
Joined: Sun Dec 04, 2005 5:43 pm
Location: Andalucia, Spain
Contact:

Post by carl_galloway »

Garvin, its a shame this wasn't implemented before it became too hard to change, but I'll have a play with it and maybe suggest some div/span improvements so we can tidy it up for v1.1, is that cool?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Yes, you are right of that. Sadly, afterwards everyone is smarter ;)

We did a few smart moves in many parts of s9y, but in this specific thing we haven't thought of possible future uses. :-/

If you have a proposal how to fix it HTMLwise, it would be cool!

Best 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/
Post Reply