Sie sind hier: CodeBase / Typoscript - Typo3 / RealURL / Standard RealURL Konfiguration
6.1.2009 : 13:54 : +0100

Standard RealURL Konfiguration

  1. $TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
  2. 'init' => array(
  3. 'enableCHashCache' => 1,
  4. 'appendMissingSlash' => 'ifNotFile',
  5. 'enableUrlDecodeCache' => 1,
  6. 'enableUrlEncodeCache' => 1,
  7. 'respectSimulateStaticURLs' => 0,
  8. 'postVarSet_failureMode'=>'redirect_goodUpperDir',
  9. ),
  10. 'redirects_regex' => array (
  11.  
  12. ),
  13. 'preVars' => array(
  14. 'GETvar' => 'no_cache',
  15. 'valueMap' => array(
  16. 'no_cache' => 1,
  17. ),
  18. 'noMatch' => 'bypass',
  19. ),
  20. 'GETvar' => 'L',
  21. 'valueMap' => array(
  22. 'en' => '1',
  23. ),
  24. 'noMatch' => 'bypass',
  25. ),
  26. ),
  27. 'pagePath' => array(
  28. 'type' => 'user',
  29. 'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
  30. 'spaceCharacter' => '-',
  31. 'languageGetVar' => 'L',
  32. 'expireDays' => 7,
  33. 'rootpage_id' => 1,
  34. ),
  35.  
  36.  
  37. 'postVarSets' => array(
  38. '_DEFAULT' => array(
  39. // news archive parameters
  40. 'archive' => array(
  41. 'GETvar' => 'tx_ttnews[year]' ,
  42. ),
  43. 'GETvar' => 'tx_ttnews[month]' ,
  44. 'valueMap' => array(
  45. 'january' => '01',
  46. 'february' => '02',
  47. 'march' => '03',
  48. 'april' => '04',
  49. 'may' => '05',
  50. 'june' => '06',
  51. 'july' => '07',
  52. 'august' => '08',
  53. 'september' => '09',
  54. 'october' => '10',
  55. 'november' => '11',
  56. 'december' => '12',
  57. )
  58. ),
  59. ),
  60. // news pagebrowser
  61. 'browse' => array(
  62. 'GETvar' => 'tx_ttnews[pointer]',
  63. ),
  64. ),
  65. // news categories
  66. 'select_category' => array (
  67. 'GETvar' => 'tx_ttnews[cat]',
  68. ),
  69. ),
  70. // news articles and searchwords
  71. 'article' => array(
  72. 'GETvar' => 'tx_ttnews[tt_news]',
  73. 'lookUpTable' => array(
  74. 'table' => 'tt_news',
  75. 'id_field' => 'uid',
  76. 'alias_field' => 'title',
  77. 'addWhereClause' => ' AND NOT deleted',
  78. 'useUniqueCache' => 1,
  79. 'useUniqueCache_conf' => array(
  80. 'strtolower' => 1,
  81. 'spaceCharacter' => '-',
  82. ),
  83. ),
  84. ),
  85. 'GETvar' => 'tx_ttnews[swords]',
  86. ),
  87. ),
  88. ),
  89. ),
  90.  
  91. 'fileName' => array(
  92. 'defaultToHTMLsuffixOnPrev'=>1,
  93. 'index' => array(
  94. 'rss.xml' => array(
  95. 'keyValues' => array(
  96. 'type' => 100,
  97. ),
  98. ),
  99. 'rss091.xml' => array(
  100. 'keyValues' => array(
  101. 'type' => 101,
  102. ),
  103. ),
  104. 'rdf.xml' => array(
  105. 'keyValues' => array(
  106. 'type' => 102,
  107. ),
  108. ),
  109. 'atom.xml' => array(
  110. 'keyValues' => array(
  111. 'type' => 103,
  112. ),
  113. ),
  114. ),
  115. ),
  116. );
  117.