[TYPO3-english] RealURL & tt_news: Possible to have tt_news_uid and tt_news_title in the URL?

Riccardo De Contardi riccardo.decontardi at bhuman.it
Fri Jun 18 09:22:04 CEST 2010


If it helps you, here is my config:



'article' => array(
	array(
		'GETvar' => 'tx_ttnews[tt_news]',
		'lookUpTable' => array(
			'table' => 'tt_news',
			'id_field' => 'uid',									
			'alias_field' => 'concat(title," ",uid)',
			'addWhereClause' => ' AND deleted != 1',
			'useUniqueCache' => 1,
			'useUniqueCache_conf' => array(
			'strtolower' => 1,
			'spaceCharacter' => '-'
			)
		)
	),
	array(
		'GETvar' => 'tx_ttnews[swords]'
	)
),


Regards


-- 
--------------------------------------------
Riccardo De Contardi - Web Developer
B Human Srl - www.bhuman.it
Via Canzio, 15 - 20131 Milano
TEL +39-02-20.23.271 - FAX +39-02-20.240.561
--------------------------------------------


More information about the TYPO3-english mailing list