encodeSpURL'; $TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tstemplate.php']['linkData-PostProc']['tx_realurl'] = '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']['tslib/class.tslib_fe.php']['checkAlternativeIdMethods-PostProc']['tx_realurl'] = 'EXT:realurl/class.tx_realurl.php:&tx_realurl->decodeSpURL'; $TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearPageCacheEval']['tx_realurl'] = 'EXT:realurl/class.tx_realurl.php:&tx_realurl->clearPageCacheMgm'; $TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearAllCache_additionalTables']['tx_realurl_urldecodecache'] = 'tx_realurl_urldecodecache'; #$TYPO3_CONF_VARS['FE']['addRootLineFields'].= ',tx_realurl_pathsegment'; $TYPO3_CONF_VARS['FE']['addRootLineFields'].= ',tx_realurl_pathsegment,alias,nav_title,title'; $TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array( 'init' => array( 'enableCHashCache' => 1, 'enableUrlDecodeCache' => 1, 'enableUrlEncodeCache' => 1, 'appendMissingSlash' => 'ifNotFile', 'enableDomainLookup' => 1, ), 'rewrite' => array(), 'preVars' => array( array( 'GETvar' => 'L', 'valueMap' => array( 'en' => '0', 'de' => '1', 'fr' => '2', 'it' => '3', ), 'valueDefault' => 'de', // 'noMatch' => 'bypass', ), ), 'pagePath' => array( 'type' => 'user', 'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main', 'spaceCharacter' => '-', 'languageGetVar' => 'L', 'expireDays' => 30, /* rootpage_id - Defines the root page uid of the site for which the configuration is made. This setting is mandatory if you run multiple sites in the same database using real urls for more than one site. This setting makes possible for the Òpath-to-idÓ algorithms to distinguish the sites. For instance two sites might have the same page title on the first level that will generate the same speaking url path. In such case two different IDs are associated with the same page path and something is needed to distinguish the look ups. In order to configure different sites you simply use the possibility to make different configuration for different domains. See the main section about configuration. It is important that you use the uid of the root page in the sites. Otherwise the fall-back look up of page paths will not work correctly. You do not need to set this setting if you have only one site in realurl configuration. See example in the tx_realurl_advanced section. */ 'rootpage_id' => 1, // 'disablePathCache' => 1, ), 'fileName' => array( 'defaultToHTMLsuffixOnPrev' => 0, 'index' => array( 'page.html' => array( 'keyValues' => array( 'type' => 1, ), ), 'print.html' => array( 'keyValues' => array( 'type' => 98, ), ), ), /*acceptHTMLsuffix boolean/string If URL contains Ò.htmlÓ suffix and this property is enabled, then this suffix will be stripped from url. This allows you to easily migrate old site to TYPO3, keep all incoming external links working but use urls with another suffix (through defaultToHTMLsuffixOnPrevid is ) or without suffix at all. */ // 'acceptHTMLsuffix' => '.cfm' ), 'fixedPostVars' => array( '_DEFAULT' => array( array( 'GETvar' => 'no_cache', 'valueMap' => array( 'dir' => 1, ), ), ), ), 'postVarSets' => array( '_DEFAULT' => array( 'period' => array( array( 'condPrevValue' => -1, 'GETvar' => 'tx_ttnews[pS]', // 'valueMap' => array(), ), array( 'GETvar' => 'tx_ttnews[pL]', // 'valueMap' => array(), ), array( 'GETvar' => 'tx_ttnews[arc]', 'valueMap' => array( 'non-archived' => -1, ), ), ), 'browse' => array( array( 'GETvar' => 'tx_ttnews[pointer]', ), ), 'select' => 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, 'spaceCharacter' => '-', ), ), ), ), 'article' => array( array( 'GETvar' => 'tx_ttnews[backPid]', 'valueMap' => array(), ), array( 'GETvar' => 'tx_ttnews[tt_news]', 'lookupTable' => array( 'table' => 'tt_news', 'id_field' => 'uid', 'alias_field' => 'title', 'maxLength' => 12, 'addWhereClause' => 'AND NOT deleted', 'useUniqueCache' => 1, 'useUniqueCache_conf' => array( 'strtolower' => 1, 'spaceCharacter' => '-', ), ), ), ), 'reg' => array( array( 'GETvar' => 'tx_srfeuserregister_pi1[rU]', ), array( 'GETvar' => 'tx_srfeuserregister_pi1[cmd]', 'valueMap' => array( 'sf' => 'setfixed', 'im' => 'infomail', 'l' => 'login', 'e' => 'edit', 'c' => 'create', 'd' => 'delete', ), ), array( 'GETvar' => 'tx_srfeuserregister_pi1[sFK]', 'valueMap' => array( 'A1' => 'APPROVE', 'A2' => 'ACCEPT', 'E' => 'ENTER', 'D' => 'DELETE', 'R' => 'REFUSE', ), ), array( 'GETvar' => 'tx_srfeuserregister_pi1[aC]', ), array( 'GETvar' => 'tx_srfeuserregister_pi1[preview]', ), array( 'GETvar' => 'fD[_FIELDLIST]', 'valueMap' => array( '1' => 'uid%2Cpid%2Cusergroup', '2' => 'uid%2Cpid', ), ), array( 'GETvar' => 'fD[usergroup]', ), array( 'GETvar' => 'fD[disable]', ), array( 'GETvar' => 'tx_srfeuserregister_pi1[pointer]', ), array( 'GETvar' => 'tx_srfeuserregister_pi1[mode]', ), array( 'GETvar' => 'tx_srfeuserregister_pi1[sword]', ), array( 'GETvar' => 'tx_srfeuserregister_pi1[sort]', ), array( 'GETvar' => 'tx_srfeuserregister_pi1[backURL]', ), ), ), ), ); // . . . using just products (without articles). cHash and BasketHash remain as ordinary GETVars. Ê // product categories 'cat' => array( array( 'GETvar' => 'tx_commerce_pi1[catUid]', 'lookUpTable' => array( 'table' => 'tx_commerce_categories', 'id_field' => 'uid', 'alias_field' => 'title', 'addWhereClause' => ' AND NOT deleted', 'enable404forInvalidAlias' => '1', 'useUniqueCache' => 1, 'useUniqueCache_conf' => array( 'strtolower' => 1, 'spaceCharacter' => '-', ), ), ), ), // product 'pr' => array( array( 'GETvar' => 'tx_commerce_pi1[showUid]', 'lookUpTable' => array( 'table' => 'tx_commerce_products', 'id_field' => 'uid', 'alias_field' => 'title', 'addWhereClause' => ' AND NOT deleted', 'enable404forInvalidAlias' => '1', 'useUniqueCache' => 1, 'useUniqueCache_conf' => array( 'strtolower' => 1, 'spaceCharacter' => '-', ), ), ), ), ?>