Hi,
I am currently theming the search results page for a website using custom_search. I chose to use

    /
  • tags because the search is quite different, and does not follow the pattern definition term (dt) / definition description (dd).
    But I just realize that custom_search appends a
    tag at the beginning of $search_results variable, and does not encapsulate it in a theme_ function. Which leads to my point : I am stuck with definition list
    for search results as soon as I am using custom_search. That is, from my point of view, a limitation.

    Regards,

    David

Comments

David Stosik’s picture

Oh, well... some tags got interpreted... Here is my original post:

I am currently theming the search results page for a website using custom_search. I chose to use ul / li tags because the search is quite different, and does not follow the pattern definition term (dt) / definition description (dd).
But I just realize that custom_search appends a dd tag at the beginning of $search_results variable, and does not encapsulate it in a theme_ function. Which leads to my point : I am stuck with definition list (dl) for search results as soon as I am using custom_search. That is, from my point of view, a limitation.

jdanthinne’s picture

Status: Active » Needs review

Ok, I needed to rework all the theming thing.
Now, the filter is outside the definition list (dl) in its own div, and I'm using .tpl files to override the default search.
Please review the DEV version.

jdanthinne’s picture

Status: Needs review » Closed (fixed)