[TYPO3-english] cooluri and tt_news
Joe Berger
joeberger at gmx.de
Fri Apr 23 22:16:38 CEST 2010
Hi,
I got a problem with coolURI 1.0.19 and tt_news 3.0.1 (TYPO3 4.3.3). After a
while coolURI starts to create several links of the same news and the news
can't be found anymore. Here an example:
news/xxx-in-muenchen
cHash=7880bee45a16aad0f6e78bb03d3e8991&id=1543&tx_ttnews[tt_news]=397
2010-04-23 19:15:55 2010-04-23 19:15:55
news/xxx-in-muenchen/1
cHash=307fa338318ee4f6ee3955daba3d0930&id=1543&tx_ttnews[pointer]=1&tx_ttne
ws[tt_news]=397 2010-04-23 19:17:47 2010-04-23 19:17:47
news/xxx-in-muenchen/2
cHash=a0700d5f2dcc83b95746ef68e21c0100&id=1543&tx_ttnews[pointer]=2&tx_ttne
ws[tt_news]=397 2010-04-23 19:17:47 2010-04-23 19:17:47
news/xxx-in-muenchen/3
cHash=6c77e0d73d6098c4dbc23884aa2cfd47&id=1543&tx_ttnews[pointer]=3&tx_ttne
ws[tt_news]=397 2010-04-23 19:17:47 2010-04-23 19:17:47
news/xxx-in-muenchen/4
cHash=69921bcac0df3c9f5a56f21d66110fab&id=1543&tx_ttnews[pointer]=4&tx_ttne
ws[tt_news]=397 2010-04-23 19:17:47 2010-04-23 19:17:47
This is my coolURI-configuration:
<uriparts>
<part>
<parameter>tx_ttnews[tt_news]</parameter>
<lookindb>
<!-- to>SELECT title FROM tt_news WHERE uid=$1</to -->
<!-- if you have news items in different languages in one folder,
use this sql -->
<to>SELECT title FROM tt_news WHERE (uid=$1 or l18n_parent=$1) AND
sys_language_uid={L=0}</to>
<translatetoif>
<match>^[0-9]+$</match>
</translatetoif>
<t3conv>1</t3conv>
</lookindb>
</part>
<part>
<parameter>cHash</parameter>
</part>
<part key="page([0-9]+)" regexp="1">
<parameter>tx_ttnews[pointer]</parameter>
</part>
</uriparts>
Thanks for any help :-)
Joe
More information about the TYPO3-english
mailing list