Customizing result templates for eZ Find is similar to customizing templates for the regular search in Exponential, with the exception that eZ Find also offers some additional options. The eZ Find fetch function will return some extra information compared to the default search in Exponential, including:
The default search in Exponential returns a list of eZContentObjectTreeNode objects. To provide extra information, eZ Find returns a list of eZFindResultTree objects which contains the following extra attributes:
These values are accessible as regular attributes in the templates.
The default eZ Find result templates are stored in the exponential_legacy/extension/ezfind/design/standard/templates/content/ folder. Custom templates for the Website Interface are provided with eZ Find. An example of the result item is shown below:
( from exponential_legacy/extension/ezfind/design/ezwebin/templates/node/view/ezfind_line.tpl, where $node is an instance of eZFindResultTree)