Das skurille Problem des Standardsettings war, dass Orte und Veranstalter wie Veranstaltungen umgeschlüsselt wurden. Da sind durch das MVC Pattern zwei Dinge vermischt worden, die nicht zusammengehören. Hier macht sich der Einsatz des RealURL Parameters prevValueInList ganz gut. Hier können wir pro Fall einen unterschiedlichen Wert auslesen.
Für eine saubere Konfiguration des Calendar Base (Cal) verwenden wir folgende Einstellung:
'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]' ), ),
Hallo,
ich kann das TS leider nicht komplett lesen, wird rechts abgeschnitten. Habs in firefox, opera und ie8 probiert. könnt ihr da was an der breite machen?
thx
bernd
Hm, du must es wohl rauskopieren und in einen Editor nehmen. Im Prinzip neu sind nur die gefetteten Sektionen:
‚cond‘ => array (
‚prevValueInList‘ => ‚tx_cal_location‘
),
könnt ihr eine .txt als Download anbieten?
Hier:
cal_reaurl_config.txt
Hi,
scheint mit Typo3 4.4.0 und realurl 1.9.3 nicht mehr zu funktionieren.
ich bekomme beim Aufruf eines single-events nur noch die 404 Seite
Kurt
Also ich hab mit 4.4.o und 1.9.3 keine Probleme
Meine Realurl Konfiguration hab ich neulich auch mal gepostet + ein paar Problemlösungen. Vielleicht hilfts ja noch jemandem weiter, wenn er hier verzweifelt…
Greetz
hallo,
auch wenn es schon was älter ist…
array(
‚GETvar‘ => ‚tx_cal_controller[getdate]‘
),
steht der url für event doch im weg hier kommt wieder ein // rein und der name wird nicht richtig aufgelöst…
gibt es dafür schon eine Lösung? ich finde leider keine…
Schöne Grüße
Oliver
Das habe ich wie folgt gelöst:
array(
‚GETvar‘ => ‚tx_cal_controller[getdate]‘,
’noMatch‘ => ‚bypass‘,
),