[TYPO3-english] realurl and the same titlies of news
Ralf-Rene Schröder
ralf.rene at online.de
Thu Aug 11 19:48:13 CEST 2011
> It looks such solution works
>
> TS
> plugin.tt_news {
> useHRDates = 0
> useHRDatesSingle = 0
> }
>
> and in realurl_conf.php
>
> array(
> 'GETvar' => 'tx_ttnews[tt_news]',
> 'lookUpTable' => array(
> 'table' => 'tt_news',
> 'id_field' => 'uid',
> 'alias_field' => 'CONCAT(title, " ", FROM_UNIXTIME(crdate,
> "%Y-%m-%d"))',
> 'addWhereClause' => ' AND NOT deleted AND NOT hidden ',
> 'useUniqueCache' => 1,
> 'useUniqueCache_conf' => array(
> 'strtolower' => 1,
> 'spaceCharacter' => '-',
> ),
> ),
> ),
>
> Thank you guys for suggestions.
>
i think this also isn't unique
more than 1 dear-diary at the same day would have an additional
identifier...
--
Ralf-René Schröder
http://if-20.com ... YAML templates for TYPO3
______________________________________________
More information about the TYPO3-english
mailing list