[TYPO3-Solr] TypoScript in ###IF:###
Ingo Renner
ingo at typo3.org
Mon May 7 17:24:38 CEST 2012
Am 04.05.12 02:16, schrieb Lars Peipmann:
Hi Lars,
> In my case it is not working. Did I something wrong, could there be a
> bug in the code or would it be a new feature?
It's basically a missing feature, probably easy to implement. Just have
a look at the template class (tx_solr_Template in
classes/class.tx_solr_template.php)
Condition handling starts at around line 567 with method
processConditions(). You'd need to render the two comparand parameters
as viewhelpers before passing them to evaluateCondition().
The pointer here would likely be renderMarkerViewHelper().
HTH, looking forward to your patch ;)
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