Theming search results for Biblio
julou - May 30, 2008 - 08:39
| Project: | Biblio Facets |
| Version: | 5.x-1.0-beta1 |
| Component: | User interface |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Hello,
Is it possible to theme FS search results. In particular, to add a new category to the display options list.
A patch example would be of great help.
The ultimate goal would be to theme biblio items, searched through by biblio facets. I also posted a feature request on biblio facets issues list.
(#264541: Add the ability to display search results using the biblio module layout)
Thank you in advance for your help,
Thomas

#1
Not a single piece of advice?! Really…
Thank you again for your help,
Thomas
#2
There would be at least a few options.
You could add a new display style by extending the
faceted_search_ui_styleclass in a module (there are examples infaceted_search_ui.inc). For search environments where Biblio and non-Biblio nodes are mixed in results, the display style would probably need a fall-back for non-Biblio nodes.Or you could use the Extracts display style and override the
theme_search_item()function fromsearch.module. You'd have to check the node type in order to support both Biblio and non-Biblio nodes properly.Or you could use a view to display search results, selecting one of the Biblio-specific view styles from the experimental (and unsupported) Biblio Views module.
#3
Related feature request: Display results using Biblio styles.