[Typo3] weird tt_news and realurl problem: link doesn't work

Christoph Koehler christoph.koehler at gmail.com
Tue Aug 2 20:07:17 CEST 2005


Hey there!

I have a latest list of news on my main website. Now, whenever I release a  
new news item, it shows up on the frontpage, but the link to the whole  
story (single view) doesn't work.
Any idea what might cause that? It works again once I go into phpmyadmin  
and delete all the realurl entries and clear all cache and everything.

Here is my localconf for realurl:

$TYPO3_CONF_VARS['EXTCONF']['realurl'] = array(
     '_DEFAULT' => array(
         'init' => array(
           'enableCHashCache' => 1,
           'appendMissingSlash' => 'ifNotFile',
           'enableUrlDecodeCache' => 1,
           'enableUrlEncodeCache' => 1,
         ),
           'preVars' => array (
/*            array(
               'type' => 'action',        // "type" action
               'index' => array(
                 '/' => '',    // Just bypass
                 'admin' => array(
                   'type' => 'admin'    // Jump BE login OR setting  
frontend edit flags...
                 ),
                 'search' => array(
                   'type' => 'redirect',    // Redirect...
                   'url' =>  
'index.php?id=1344&tx_indexedsearch[sword]=###REMAIN_PATH###',
                 ),
                 'ext' => array(
                   'type' => 'redirect',    // Redirect...
                   'url' => 'cms/1383/list/###REMAIN_PATH###/index.html',
                 ),
                 '_DEFAULT' => array(
                   'type' => 'notfound'    // If key was not found in  
index, throw "404" not found.
                 ),
               ),
             ),*/
           ),
           'pagePath' => array(
             'type' => 'user',
             'userFunc' =>  
'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
             'spaceCharacter' => '-',
             'languageGetVar' => 'L',
             'expireDays' => 7,
             'rootpage_id' => 19,
          ),
           'fixedPostVars' => array(),
           'fileName' => array(
             'index' => array (
               'rss.xml' => array(
                 'keyValues' => array(
                   'type' => 100,
                 )
               ),
               '_DEFAULT' => array(
                 'keyValues' => array(
                 )
               ),
             ),
           ),
           'postVarSets' => array(
             '_DEFAULT' => array(
               'browse' => array(
                 array(
                   'GETvar' => 'tx_veguestbook_pi1[pointer]',
                 ),
               ),

               // news archive parameters
               'archive' => array(
                   array(
                     'GETvar' => 'tx_ttnews[year]' ,
                   ),
                   array(
                     'GETvar' => 'tx_ttnews[month]' ,
                       'valueMap' => array(
                         'january' => '01',
                         'february' => '02',
                         'march' => '03',
                         'april' => '04',
                         'may' => '05',
                         'june' => '06',
                         'july' => '07',
                         'august' => '08',
                         'september' => '09',
                         'october' => '10',
                         'november' => '11',
                         'december' => '12',
                       )
                   ),
               ),
               // news pagebrowser
               'browse' => array(
                   array(
                       'GETvar' => 'tx_ttnews[pointer]',
                   ),
               ),
               // news categories
               'select_category' => array (
                   array(
                       'GETvar' => 'tx_ttnews[cat]',
                   ),
               ),
               // news articles and searchwords
               'article' => array(
                   array(
                       'GETvar' => 'tx_ttnews[tt_news]',
                           'lookUpTable' => array(
                             'table' => 'tt_news',
                             'id_field' => 'uid',
                             'alias_field' => 'title',
                             'addWhereClause' => ' AND NOT deleted',
                             'useUniqueCache' => 1,
                             'useUniqueCache_conf' => array(
                                 'strtolower' => 1,
                                 'spaceCharacter' => '-',
                                 ),
                             ),
                   ),
                   array(
                       'GETvar' => 'tx_ttnews[swords]',
                   ),
               ),

             ),

           ),
     ),
);



More information about the TYPO3-english mailing list