Page 1 of 1

quicksearch and static pages

Posted: Wed May 03, 2006 10:17 pm
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.

Re: quicksearch and static pages

Posted: Thu May 04, 2006 10:59 am
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

Posted: Fri May 05, 2006 6:49 am
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?

Posted: Fri May 05, 2006 10:02 am
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