[TYPO3-english] optimizing COOLuri for cal

Joe Berger thomas.muench at hfm-wuerzburg.de
Mon Jul 12 21:44:02 CEST 2010


Hi Jan,

thanks for your answer with the hints.

I gave them a try immediately.

With <part> 
	<parameter>tx_cal_controller[year]</parameter> 
	<after>-</after> 
</part>


nothing changed. The link is still: 

http://www.xxxx.de/veranstaltungen/artikel/2010/06/28/oboenabend.html 


The part for the location I modified a little bit:

	<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>


Now I get the link: 
http://www.xxx.de/veranstaltungen/ort/name-of-location/name-of-location.html
?tx_cal_controller[getdate]=20100712 


The name of the location is shown now, very nice - but twice :-)


and the link to the event view shows the uid and not the title

http://www.xxx.de/veranstaltungen/artikel/2010/07/12/1207/1207.html

I still would like to have:

http://www.xxxx.de/veranstaltungen/ort/name-of-location.html 


Regards

Joe

>>> Jan Bednarik<info at bednarik.org> schrieb am 12.07.2010 um 07:45 in
Nachricht
<mailman.1.1278913825.31560.typo3-english at lists.typo3.org>:
> Hi,
> 
> 
>>
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 
>>
>> 			<to>SELECT name FROM tx_cal_location WHERE uid=$1</to>
> 
> does this query return for uid=3 value "name of location" ?
> 
>> 2) The link to the event view ist right now:
>>
>> http://www.xxxx.de/veranstaltungen/artikel/2010/06/28/oboenabend.html 
>> http://www.xxxx.de/veranstaltungen/artikel/2010‑06‑28/oboenabend.html

> 
> Try:
> 
> <part>
> 	<parameter>tx_cal_controller[year]</parameter>
> 	<after>‑</after>
> </part>
> 
> <part>
> 	<parameter>tx_cal_controller[month]</parameter>
> 	<after>‑</after>
> </part>
> 
> Regards
 


More information about the TYPO3-english mailing list