[TYPO3-Solr] Breadcrumb instead of URL for results

Ingo Renner ingo at typo3.org
Thu Aug 4 15:47:05 CEST 2011


Am 02.08.11 16:42, schrieb Olivier Dobberkau:

Hi Werner,

> a) You could store the breadcrumb in a dynamic field thru the Indexing
> Queue. typoscript is your friend.

(preferred way)

> b) you could create your own view helper that renders the breadcrumb at
> listing time (posible performance hoag)

c) add a "virtual" field using 
search.results.fieldRenderingInstructions, have a look at the example 
title2 virtual field. There you can do anything you can do with 
TypoScript. Beware though, that just like with a view helper, this is 
executed with every request... You could also (probably) take the same 
TypoScript and execute it during index time, writing it into a dynamic 
field... add that to index.additionalFields or (probably better) 
index.queue.pages.fields. (with Index Queue in trunk)


best
Ingo

-- 
Ingo Renner
TYPO3 Core Developer, Release Manager TYPO3 4.2, Admin Google Summer of Code

TYPO3 - Open Source Enterprise Content Management System
http://typo3.org

Apache Solr for TYPO3 -
Open Source Enterprise Search meets Open Source Enterprise CMS
http://www.typo3-solr.com


More information about the TYPO3-project-solr mailing list