[TYPO3-english] cooluri and calendar base

web web at gfc-consulting.de
Mon Nov 19 21:25:41 CET 2012


 

Hello list members,

 

i just try to find a working solution for calendar base with cool uri.

 

The problem is the query within the <uriparts>

 

Ex.

<part>

       <parameter>tx_cal_controller[uid]</parameter>

       <lookindb>

         <to>SELECT CONCAT( uid , '_', title ) FROM tx_cal_event WHERE
uid=$1</to>

         <translatetoif>

           <match>^[0-9]+$</match>

         </translatetoif>

         <urlize>1</urlize>

       </lookindb>

    </part>

 

Everything is fine for tx_cal_controller[view]=event, but for location
and/or organizer the lookindb fail.

The select is done by using the wrong table.

Location should use the table tx_cal_location and not ex_cal_event. the url
result shows the wrong url including the result of select tx_cal_event.

 

So is there a way to use a if marker or something else?

 

Best regards Oliver



More information about the TYPO3-english mailing list