[Frage] tx_news ignoriert RealURL-Konfiguration TYPO3-Version: 6.1.1

  • 0 x
    23 Beiträge
    1 Hilfreiche Beiträge
    31. 07. 2013, 13:33

    Hallo,

    irgendwie bleibt bei mir die RealURL-Konfiguration absolut ohne Wirkung für das News-Modul (news von Georg Ringer). Bei den statischen Seiten funktioniert es wunderbar. Für jegliche Hinweise wäre ich dankbar, da ich schon seit zwei Tagen nach Lösung suche.

    Das Ding spuckt immer das aus:
    http://domain.tld/news/single-view/?tx_news_pi1%5Bnews%5D=4&cHash=0ad97ba219c47ea2fcc0cd0b3005e816

    Typo3 6.1.1
    realurl 1.12.6
    news 2.2.0

    [b].htaccess[/b]

    1. <IfModule mod_rewrite.c>
    2.  
    3. RewriteEngine On
    4. RewriteCond %{REQUEST_FILENAME} !-f
    5. RewriteCond %{REQUEST_FILENAME} !-d
    6. RewriteCond %{REQUEST_FILENAME} !-l
    7. RewriteRule .* index.php [L]
    8. RewriteRule ^(.+)\.(\d+)\.(php|js|css|png|jpg|gif|gzip)$ $1.$3 [L]
    9. RewriteRule ^fileadmin/(.*/)?_recycler_/ - [F]
    10. RewriteRule ^fileadmin/templates/.*(\.txt|\.ts)$ - [F]
    11. RewriteRule ^typo3conf/ext/[^/]+/Resources/Private/ - [F]
    12. RewriteRule ^(typo3/|t3lib/|fileadmin/|typo3conf/|typo3temp/|uploads/|favicon\.ico) - [L]
    13. RewriteRule ^typo3$ typo3/index_re.php [L]
    14.  
    15. </IfModule>

    [b]realurl_conf.php[/b]

    1. <?php
    2.  
    3. $TYPO3_CONF_VARS['EXTCONF']['realurl'] = array(
    4. '_DEFAULT' => array(
    5.  
    6. 'pagePath' => array(
    7. 'type' => 'user',
    8. 'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
    9. 'spaceCharacter' => '-',
    10. 'languageGetVar' => 'L',
    11. 'expireDays' => 7,
    12. 'rootpage_id' => 1,
    13. ),
    14.  
    15. 'init' => array(
    16. 'enableCHashCache' => TRUE,
    17. 'enableCHashCache' => 1,
    18. 'respectSimulateStaticURLs' => 0,
    19. 'appendMissingSlash' => 'ifNotFile',
    20. 'enableUrlDecodeCache' => 1,
    21. 'enableUrlEncodeCache' => 1,
    22. 'postVarSet_failureMode' => 'redirect_goodUpperDir',
    23. ),
    24.  
    25. 'redirects' => array(),
    26.  
    27. 'preVars' => array(
    28. 'GETvar' => 'no_cache',
    29. 'valueMap' => array(
    30. 'nc' => 1,
    31. ),
    32. 'noMatch' => 'bypass',
    33. ),
    34. 'GETvar' => 'L',
    35. 'valueMap' => array(
    36. 'ru' => '0',
    37. ),
    38. 'noMatch' => 'bypass',
    39. ),
    40. ),
    41.  
    42. 'fixedPostVars' => array(
    43. 'newsDetailConfiguration' => array(
    44. 'GETvar' => 'tx_news_pi1[news]',
    45. 'lookUpTable' => array(
    46. 'table' => 'tx_news_domain_model_news',
    47. 'id_field' => 'uid',
    48. 'alias_field' => 'title',
    49. 'addWhereClause' => ' AND NOT deleted',
    50. 'useUniqueCache' => 1,
    51. 'useUniqueCache_conf' => array(
    52. 'strtolower' => 1,
    53. 'spaceCharacter' => '-'
    54. ),
    55. 'languageGetVar' => 'L',
    56. 'languageExceptionUids' => '',
    57. 'languageField' => 'sys_language_uid',
    58. 'transOrigPointerField' => 'l10n_parent',
    59. 'autoUpdate' => 1,
    60. 'expireDays' => 180,
    61. )
    62. )
    63. ),
    64. 'newsCategoryConfiguration' => array(
    65. 'GETvar' => 'tx_news_pi1[overwriteDemand][categories]',
    66. 'lookUpTable' => array(
    67. 'table' => 'tx_news_domain_model_category',
    68. 'id_field' => 'uid',
    69. 'alias_field' => 'title',
    70. 'addWhereClause' => ' AND NOT deleted',
    71. 'useUniqueCache' => 1,
    72. 'useUniqueCache_conf' => array(
    73. 'strtolower' => 1,
    74. 'spaceCharacter' => '-'
    75. )
    76. )
    77. )
    78. ),
    79. 'newsTagConfiguration' => array(
    80. 'GETvar' => 'tx_news_pi1[overwriteDemand][tags]',
    81. 'lookUpTable' => array(
    82. 'table' => 'tx_news_domain_model_tag',
    83. 'id_field' => 'uid',
    84. 'alias_field' => 'title',
    85. 'addWhereClause' => ' AND NOT deleted',
    86. 'useUniqueCache' => 1,
    87. 'useUniqueCache_conf' => array(
    88. 'strtolower' => 1,
    89. 'spaceCharacter' => '-'
    90. )
    91. )
    92. )
    93. ),
    94. '70' => 'newsDetailConfiguration',
    95. '701' => 'newsDetailConfiguration', // For additional detail pages, add their uid as well
    96. '71' => 'newsTagConfiguration',
    97. '72' => 'newsCategoryConfiguration'
    98. ),
    99.  
    100. 'postVarSets' => array(
    101. '_DEFAULT' => array(
    102. 'controller' => array(
    103. 'GETvar' => 'tx_news_pi1[action]',
    104. 'noMatch' => 'bypass'
    105. ),
    106. 'GETvar' => 'tx_news_pi1[controller]',
    107. 'noMatch' => 'bypass'
    108. ),
    109.  
    110. 'GETvar' => 'tx_news_pi1[day]',
    111. 'noMatch' => 'bypass',
    112. ),
    113. 'GETvar' => 'tx_news_pi1[month]',
    114. 'noMatch' => 'bypass',
    115. ),
    116. 'GETvar' => 'tx_news_pi1[year]',
    117. 'noMatch' => 'bypass',
    118. ),
    119.  
    120. ),
    121. 'dateFilter' => array(
    122. 'GETvar' => 'tx_news_pi1[overwriteDemand][year]',
    123. ),
    124. 'GETvar' => 'tx_news_pi1[overwriteDemand][month]',
    125. ),
    126. ),
    127. 'page' => array(
    128. 'GETvar' => 'tx_news_pi1[@widget_0][currentPage]',
    129. ),
    130. ),
    131. ),
    132. ),
    133.  
    134. ),
    135. );
    136.  
    137. ?>

    [b]TS Setup[/b]

    1. plugin.tx_news {
    2. settings {
    3. link {
    4. skipControllerAndAction = 1
    5. hrDate = 1
    6. hrDate {
    7. day = j
    8. month = n
    9. year = Y
    10. }
    11. }
    12. }
    13. }


  • 1
  • 1