[TYPO3-english] cooluri news with same title

Jan Bednarik info at bednarik.org
Fri May 15 22:56:45 CEST 2009


Hi,

> I have several news records with same title.
> Realurl adds "-1" "-2" to the end of each title fg
> www.example.com/news/same-title-news/
> www.example.com/news/same-title-news-1/
> www.example.com/news/same-title-news-2/
> What about coolrui? Can't find any example how to change this and I have 
> 4 news with same url which ofcourse point to the same content..

I think it's mentioned in the manual. You can modify the select for 
tt_news like this:

SELECT CONCAT(title,'-',uid) FROM tt_news ...

Regards

-- 
Jan Bednarik
www.bednarik.org - web about Typo3 in czech


More information about the TYPO3-english mailing list