Georg Ringer wrote: > Xavier Perseguers wrote: >> What should I do? > > adding the realurl conf here? or do you prefer the only answer someone > can give without it: make it right and it works
OK, here you are: <?php $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'; // MLC clear cache on this destroys old urls as well // $TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearAllCache_additionalTables']['tx_realurl_pathcache'] = 'tx_realurl_pathcache'; $TYPO3_CONF_VARS['FE']['addRootLineFields'] .= ',tx_realurl_pathsegment,alias,nav_title,title'; $TYPO3_CONF_VARS['EXTCONF']['realurl'] = array(); $TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array( 'init' => array( 'enableCHashCache' => 1 // disable enableUrlDecodeCache for multiple domains as no root pid is // caught and the system check to see if correct page path is grabbed , 'enableUrlDecodeCache' => 0 , 'enableUrlEncodeCache' => 0 , 'appendMissingSlash' => 'ifNotFile' , 'respectSimulateStaticURLs' => 0 //, 'postVarSet_failureMode' => 'redirect_goodUpperDir' ) , 'redirects' => array() , 'preVars' => array( array( 'GETvar' => 'no_cache', 'valueMap' => array( 'no_cache' => 1, ), 'noMatch' => 'bypass', ) ) , 'pagePath' => array( 'type' => 'user' , 'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main' , 'spaceCharacter' => '-' , 'languageGetVar' => 'L' , 'disablePathCache' => 0 , 'expireDays' => 3 , 'segTitleFieldList' => 'tx_realurl_pathsegment,alias,nav_title,title' , 'excludePageIds' => null ) , 'fixedPostVars' => array() , 'postVarSets' => array( '_DEFAULT' => array( 'hash' => array( array( 'GETvar' => 'cHash' ) ) // news item , 'news' => 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[backPid]' , 'noMatch' => 'bypass' ) , array( 'GETvar' => 'tx_ttnews[swords]' , 'noMatch' => 'bypass' ) ) // news page browser , 'news-browse' => array( array( 'GETvar' => 'tx_ttnews[pointer]' ) ) // news archive , 'news-archive' => array( array( 'condPrevValue' => -1 , 'GETvar' => 'tx_ttnews[pS]' ) , array( 'GETvar' => 'tx_ttnews[pL]' ) , array( 'GETvar' => 'tx_ttnews[arc]' , 'valueMap' => array( 'archived' => 1 , 'non-archived' => -1 ) ) ) , 'news-period' => array( array( 'condPrevValue' => -1 , 'GETvar' => 'tx_ttnews[pS]' ) , array( 'GETvar' => 'tx_ttnews[pL]' ) , array( 'GETvar' => 'tx_ttnews[arc]' , 'valueMap' => array( 'archived' => 1 , 'non-archived' => -1 ) ) ) , 'indexed-search' => array( array( 'GETvar' => 'tx_indexedsearch[sword]' ) , array( 'GETvar' => 'tx_indexedsearch[ext]' ) , array( 'GETvar' => 'tx_indexedsearch[submit_button]' ) , array( 'GETvar' => 'tx_indexedsearch[_sections]' ) , array( 'GETvar' => 'tx_indexedsearch[pointer]' ) ) , 'slide-show' => array( array( 'GETvar' => 'tx_gsislideshow_pi1[total]' ) , array( 'GETvar' => 'tx_gsislideshow_pi1[lastUid]' , 'noMatch' => 'bypass' ) , array( 'GETvar' => 'tx_gsislideshow_pi1[firstUid]' , 'noMatch' => 'bypass' ) , array( 'GETvar' => 'tx_gsislideshow_pi1[current]' ) , array( 'GETvar' => 'tx_gsislideshow_pi1[showUid]' , 'lookUpTable' => array( 'table' => 'tx_gsislideshow_images' , 'id_field' => 'uid' , 'alias_field' => 'caption' , 'addWhereClause' => ' AND NOT deleted' , 'useUniqueCache' => 1 , 'useUniqueCache_conf' => array( 'strtolower' => 1 , 'spaceCharacter' => '-' ) ) ) ) , 'news-category' => array ( array( 'GETvar' => 'tx_ttnews[cat]' , 'lookUpTable' => array( 'table' => 'tt_news_cat' , 'id_field' => 'uid' , 'alias_field' => 'title' , 'addWhereClause' => ' AND NOT deleted' , 'useUniqueCache' => 1 , 'useUniqueCache_conf' => array( 'strtolower' => 1 ), ), ), ) ) ) , 'fileName' => array ( 'index' => array( 'index.html' => array( 'keyValues' => array( 'type' => 0, ) ) , 'atom.xml' => array( 'keyValues' => array( 'type' => 122, ) ) , '_DEFAULT' => array( 'keyValues' => array() ) ) , 'defaultToHTMLsuffixOnPrev' => 1 ) ); ?> _______________________________________________ TYPO3-english mailing list TYPO3-english@lists.netfielders.de http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english