realURL und Cal (Calender Base)

Hallo zusammen, für alle die RealURL und CAL benutzen.

Hier diesen Code verwenden für eine schöne URL:
>> http://www.seo4typo3.de/ical/details/termin/event/view-month|page_id-38/tx_cal_phpicalendar/2010/09/17/tag_der_offnen_tuer/

Einfach die CAL Config zwischen den postVarSets kopieren wie hier im Beispiel.

<?php

$GLOBALS&#91;'TYPO3_CONF_VARS'&#93;&#91;'EXTCONF'&#93;&#91;'realurl'&#93; = array ( 
..
..
        'postVarSets' => array (
            '_DEFAULT' => array (
            
            
            // CAL (Calender Base Config)
            'termin'=> array(
				array(
				  'GETvar' => 'tx_cal_controller[view]'
				),
				array(
				  'GETvar' => 'tx_cal_controller[lastview]'
				),
				array(
				  'GETvar' => 'tx_cal_controller[type]'
				),
				array(
				  'GETvar' => 'tx_cal_controller[year]',
				) ,
				array(
				  'GETvar' => 'tx_cal_controller[month]',
				) ,
				array(
				  'GETvar' => 'tx_cal_controller[day]',
				) ,
				array(
					'GETvar' => 'tx_cal_controller[uid]',
					'lookUpTable' => array(
						'table' => 'tx_cal_event',
						'id_field' => 'uid',
						'alias_field' => 'title',
						'addWhereClause'  => ' AND NOT deleted',
						'useUniqueCache' => 1,
						'useUniqueCache_conf' => array(
							'strtolower' => 1,
							'spaceCharacter' => '_',
						),
					),
				),
				array(
					'GETvar' => 'tx_cal_controller[gettime]'
				),
				array(
						'GETvar' => 'tx_cal_controller[preview]'
				),
	
			),
            // Cal Config - END
..
..

); 

?>

Viel Spaß 🙂
Marc

Eine Antwort auf „realURL und Cal (Calender Base)“

  1. ‘termin’=> array(
    array(
    ‘GETvar’ => ‘tx_cal_controller[view]’,
    ),
    array(
    ‘GETvar’ => ‘tx_cal_controller[getdate]’
    ),

    array(
    ‘GETvar’ => ‘tx_cal_controller[type]’
    ),

    array(
    ‘cond’ => array (
    ‘prevValueInList’ => ‘tx_cal_phpicalendar’
    ),
    ‘GETvar’ => ‘tx_cal_controller[uid]’,
    ‘lookUpTable’ => array(
    ‘table’ => ‘tx_cal_event’,
    ‘id_field’ => ‘uid’,
    ‘alias_field’ => ‘title’,
    ‘addWhereClause’ => ‘ AND NOT deleted’,
    ‘useUniqueCache’ => 1,
    ‘useUniqueCache_conf’ => array(
    ‘strtolower’ => 1,
    ‘spaceCharacter’ => ‘-‘,
    ),
    ),
    ),
    array(
    ‘cond’ => array (
    ‘prevValueInList’ => ‘tx_cal_organizer’
    ),
    ‘GETvar’ => ‘tx_cal_controller[uid]’,
    ‘lookUpTable’ => array(
    ‘table’ => ‘tx_cal_organizer’,
    ‘id_field’ => ‘uid’,
    ‘alias_field’ => ‘name’,
    ‘addWhereClause’ => ‘ AND NOT deleted’,
    ‘useUniqueCache’ => 1,
    ‘useUniqueCache_conf’ => array(
    ‘strtolower’ => 1,
    ‘spaceCharacter’ => ‘-‘,
    ),
    ),
    ),
    array(
    ‘cond’ => array (
    ‘prevValueInList’ => ‘tx_cal_location’
    ),
    ‘GETvar’ => ‘tx_cal_controller[uid]’,
    ‘lookUpTable’ => array(
    ‘table’ => ‘tx_cal_location’,
    ‘id_field’ => ‘uid’,
    ‘alias_field’ => ‘name’,
    ‘addWhereClause’ => ‘ AND NOT deleted’,
    ‘useUniqueCache’ => 1,
    ‘useUniqueCache_conf’ => array(
    ‘strtolower’ => 1,
    ‘spaceCharacter’ => ‘-‘,
    ),
    ),
    ),
    array(
    ‘GETvar’ => ‘tx_cal_controller[category]’,
    ‘lookUpTable’ => array(
    ‘table’ => ‘tx_cal_category’,
    ‘id_field’ => ‘uid’,
    ‘alias_field’ => ‘title’,
    ‘addWhereClause’ => ‘ AND NOT deleted’,
    ‘useUniqueCache’ => 1,
    ‘useUniqueCache_conf’ => array(
    ‘strtolower’ => 1,
    ‘spaceCharacter’ => ‘-‘,
    ),

    ),
    ),
    array(
    ‘GETvar’ => ‘tx_cal_controller[lastview]’
    ),
    ),

    ‘datum’=> array(
    array(
    ‘GETvar’ => ‘tx_cal_controller[year]’
    ),
    array(
    ‘GETvar’ => ‘tx_cal_controller[month]’
    ),
    array(
    ‘GETvar’ => ‘tx_cal_controller[day]’
    ),
    array(
    ‘GETvar’ => ‘tx_cal_controller[uid]’,
    ‘lookUpTable’ => array(
    ‘table’ => ‘tx_cal_event’,
    ‘id_field’ => ‘uid’,
    ‘alias_field’ => ‘title’,
    ‘addWhereClause’ => ‘ AND NOT deleted’,
    ‘useUniqueCache’ => 1,
    ‘useUniqueCache_conf’ => array(
    ‘strtolower’ => 1,
    ‘spaceCharacter’ => ‘_’,
    ),
    ),
    ),
    ),
    [/code]

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.