Skip to content

Instantly share code, notes, and snippets.

@czenker
Created April 16, 2013 09:30
Show Gist options
  • Select an option

  • Save czenker/5394645 to your computer and use it in GitHub Desktop.

Select an option

Save czenker/5394645 to your computer and use it in GitHub Desktop.
EXT:cz_simple_cal example Realurl configuration
<?php
// ...
// cz_simple_cal
'calendar' => array(
'0' => array(
'GETvar' => 'tx_czsimplecal_pi1[action]',
'noMatch' => 'bypass'
),
'1' => array(
'GETvar' => 'tx_czsimplecal_pi1[controller]',
'noMatch' => 'bypass'
),
'2' => array(
'GETvar' => 'tx_czsimplecal_pi1[format]',
'noMatch' => 'bypass'
),
'4' => array(
'GETvar' => 'tx_czsimplecal_pi1[event]',
'lookUpTable' => array (
'table' => 'tx_czsimplecal_domain_model_event',
'id_field' => 'uid',
'languageGetVar' => 'L',
'transOrigPointerField' => 'l18n_parent',
'languageField' => 'sys_language_uid',
'alias_field' => "title",
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array (
'defineSpaceCharacters' => ' -+',
'strtolower' => 1,
'spaceCharacter' => '-'
),
'enable404forInvalidAlias' => TRUE,
)
)
),
// ...
[globalVar = GP:tx_czsimplecal_pi1|event > 0]
config.defaultGetVars.tx_czsimplecal_pi1.action = show
[global]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment