[TYPO3-german] RealUrl ... ich kriegs einfach net hin ... :-(

Fabian Koenig koenig at bluhouse.de
Thu May 31 11:23:00 CEST 2007


Wofuer sind diese SC_OPTIONS in deiner localconf?
(Rein interessehalber weil ich das in meiner localconf nicht drinstehen 
habe..)

Matthias Bareuther schrieb:
> $TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tstemplate.php']['linkData-PostProc'][]='EXT:realurl/class.tx_realurl.php:&tx_realurl->encodeSpURL'; 
> 
> $TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_fe.php']['checkAlternativeIdMethods-PostProc'][]='EXT:realurl/class.tx_realurl.php:&tx_realurl->decodeSpURL'; 
> 
> $TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearAllCache_additionalTables']['tx_realurl_urldecodecache']='tx_realurl_urldecodecache'; 
> 
> $TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearAllCache_additionalTables']['tx_realurl_urlencodecache']='tx_realurl_urlencodecache';



Hier mal mein localconf-Bereich fuer realURL:

$TYPO3_CONF_VARS['FE']['addRootLineFields'].= ',tx_realurl_pathsegment';
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
   'init' => array(
     'enableCHashCache' => 1
   ),
   'preVars' => array(
     '0' => array (
         'GETvar' => 'no_cache',
         'valueMap' => array (
             'nc' => '1',
         ),
         'noMatch' => 'bypass'
     ),
     '1' => array (
         'GETvar' => 'L',
         'valueMap' => array (
             'de' => '0',
             'en' => '2',
         ),
         'noMatch' => 'bypass',
     ),
     '2' => array (
         'GETvar' => 'lang',
         'valueMap' => array (
             'de' => 'de',
             'en' => 'en',
         ),
         'noMatch' => 'bypass',
     ),
   ),
   'fileName' => array (
     'defaultToHTMLsuffixOnPrev' => true,
     'index' => array(
       'backend.php' => array(
         'keyValues' => array (
           'type' => 100,
         )
       ),
       'print' => array(
         'keyValues' => array(
           'type' => 98,
         )
       ),
     ),
   ),
   'fixedPostVars' => array (
   ),
   'postVarSets' => array(
     '_DEFAULT' => array (
       'article' => array (
         '0' => 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' => '-',
             ),
           ),
         ),
         '1' => array (
           'GETvar' => 'tx_ttnews[swords]',
         ),
       ),
     ),
   ),
   'pagePath' => array(
     'type' => 'user',
     'userFunc' => 
'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
     'spaceCharacter' => '-',
     'languageGetVar' => 'L',
     'expireDays' => 3,
     'rootpage_id' => '1',
   ),
);


Vielleicht findeste ja 'ne ungereimtheit,
weil mein's funktioniert gut (auch mehrsprachigkeit!) und mein 
TypoScript (usw) ist genauso wie bei dir..


More information about the TYPO3-german mailing list