[TYPO3-english] optimizing COOLuri for cal
Joe Berger
joeberger at gmx.de
Sun Jun 27 13:13:47 CEST 2010
Hi,
I try to optimize my COOLuri-Configuration for cal and have two questions.
1) The link to location view ist right now:
http://www.xxxx.de/veranstaltungen/ort/3.html?tx_cal_controller[getdate]=201
00627
I would prefer
http://www.xxxx.de/veranstaltungen/ort/name-of-location.html
and tried it this way without success
<uriparts>
(...)
<part>
<parameter>tx_cal_controller[location]</parameter>
<lookindb>
<to>SELECT name FROM tx_cal_location WHERE uid=$1</to>
<translatetoif>
<match>^[0-9]+$</match>
</translatetoif>
<urlize>1</urlize>
</lookindb>
</part>
</uriparts>
2) The link to the event view ist right now:
http://www.xxxx.de/veranstaltungen/artikel/2010/06/28/oboenabend.html
with this configuration
<part>
<parameter>tx_cal_controller[year]</parameter>
</part>
<part>
<parameter>tx_cal_controller[month]</parameter>
</part>
<part>
<parameter>tx_cal_controller[day]</parameter>
</part>
<part>
<parameter>tx_cal_controller[uid]</parameter>
<lookindb>
<to>SELECT title FROM tx_cal_event WHERE uid=$1</to>
<translatetoif>
<match>^[0-9]+$</match>
</translatetoif>
<urlize>1</urlize>
</lookindb>
</part>
I would prefer to have:
http://www.xxxx.de/veranstaltungen/artikel/2010-06-28/oboenabend.html
Thanks for any hints.
Regards
Joe
More information about the TYPO3-english
mailing list