[TYPO3-english] optimizing COOLuri for cal

Mario Matzulla mario at matzullas.de
Tue Jul 13 21:32:07 CEST 2010


Hi guys,

when you have the "perfect" configuration I would be happy, if you could 
send it to me. I will than include it as an example in cal :)

Thanks,
Mario

Am 13.07.10 17:36, schrieb Joe Berger:
> Hi Jan,
>
> with<part after="-">  I got a perfect link. Thank you!
>
>
>
> The other problem still remains. :-)
>
> My xml-Configuration:_
>
>    <uriparts>
>
> (...)
> 	<part>
> 		<parameter>tx_cal_controller[uid]</parameter>
> 		<lookindb>
> 			<to>SELECT name FROM tx_cal_location WHERE uid=$1</to>
> 			<translatetoif><match>^[0-9]+$</match></translatetoif>
> 			<urlize>1</urlize>
> 		</lookindb>
> 	</part>
>
> 	<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>
>
>   <predefinedparts>
> (...)
> 	<part><parameter>tx_cal_controller[view]</parameter></part>
> 	<part><parameter>tx_cal_controller[lastview]</parameter></part>	
> 	<part><parameter>tx_cal_controller[type]</parameter></part>
> (...)
>    </predefinedparts>
>
>
> http://www.xxx.de/veranstaltungen/artikel/2010-07-13/event_title.html
> http://www.xxx.de/veranstaltungen/ort/4.html?tx_cal_controller[getdate]=2010
> 0713
>
> 4 is the uid of the location.
>
>
> Changing
>
> <parameter>tx_cal_controller[location]</parameter>
> to
> <parameter>tx_cal_controller[uid]</parameter>
>
> I get the links
>
> http://www.xxx.de/veranstaltungen/artikel/2010-07-13/event-title/event-title
> .html
> http://www.xxx.de/veranstaltungen/ort/4.html?tx_cal_controller[getdate]=2010
> 0713
>
>
> Changing the order of the parts too, I get the following links
>
> http://www.xxx.de/veranstaltungen/artikel/2010-07-16/1261/1261.html
> http://www.xxx.de/veranstaltungen/ort/location/location.html?tx_cal_controll
> er[getdate]=20100713
>
>
> One last question:
>
> Is there a simple way to remove 'tx_cal_controller[getdate]=20100713' at the
> end of the link?
>
> Thanks for your great patience and support.
>
> Joe
>
>
>



More information about the TYPO3-english mailing list