[TYPO3-Solr] ViewHelper

Ingo Renner ingo at typo3.org
Thu Sep 1 19:34:26 CEST 2011


Am 31.08.11 17:07, schrieb Heiko Kromm | Paints:

Hi Heiko,

> thanks for your answer.
> Using the hook works.

great!

> Before I build my own date-ViewHelper. There is a data-ViewHelper in the solr-Extension, but it needs a timestamp. In my resultset I don't have the timestamp, but the UTC-Time from solr. ( 2011-08-24T19:35:00Z )
> Is there a way to get a timestamp in the resultset instead the UTC-Time, so I may use your date-ViewHelper?

plugin.tx_solr.search.results.fieldProcessingInstructions.YourFieldNameWithIsoDateContentHere 
= timestamp

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