[TYPO3-ttnews] news: how to add a custom constraint in repository?

Stefano Cecere scecere at krur.com
Wed Feb 27 00:29:31 CET 2013


Hi

what if i want to add to the news repository 
createConstraintsFromDemand() an additional constraint with a value from 
typoscript?

something like:

$constraints[] = $query->contains('customselector', 
$settings['selected_value']);

do you think it's easily possibile, or should i go with a full 
personalized action + repo search?

thank you



-- --- ----- -------

Stefano Cecere
KRUR studio - http://krur.com


More information about the TYPO3-project-tt-news mailing list