Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $TYPO3_CONF_VARS['FE']['addRootLineFields'].= ',tx_realurl_pathsegment';
- $TYPO3_CONF_VARS['EXTCONF']['realurl'] = array(
- 'encodeSpURL_postProc' => array(
- 'yag' => 'EXT:yag/Classes/Hooks/RealUrlHook.php:user_Tx_Yag_Hooks_RealUrl->encodeSpURL_postProc',
- ),
- 'decodeSpURL_preProc' => array(
- 'yag' => 'EXT:yag/Classes/Hooks/RealUrlHook.php:user_Tx_Yag_Hooks_RealUrl->decodeSpURL_preProc',
- ),
- '_DEFAULT' => array(
- 'pagePath' => array(
- 'type' => 'user',
- 'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
- 'spaceCharacter' => '-',
- 'languageGetVar' => 'L',
- 'expireDays' => '3',
- 'rootpage_id' => 1
- #'firstHitPathCache'=> 1
- ),
- 'init' => array(
- 'enableCHashCache' => TRUE,
- 'enableCHashCache' => 1,
- 'respectSimulateStaticURLs' => 1,
- 'enableUrlDecodeCache' => 1,
- 'enableUrlEncodeCache' => 1,
- 'appendMissingSlash' => 'ifNotFile'
- ),
- 'preVars' => array(
- '0' => array (
- 'GETvar' => 'no_cache',
- 'valueMap' => array (
- 'nc' => '1',
- ),
- 'noMatch' => 'bypass'
- ),
- ),
- 'fileName' => array (
- //
- // if you don't want .html-URLs set the following to "false" (e.g. 'defaultToHTMLsuffixOnPrev' => false,)
- // then you get http://www.yourdomain.com/imprint/ instead of http://www.yourdomain.com/imprint.html
- //
- 'defaultToHTMLsuffixOnPrev' => true,
- 'index' => array (
- 'sitemap.xml' => array (
- 'keyValues' => array (
- 'type' => '776',
- ),
- ),
- 'rss-newsfeed.xml' => array (
- 'keyValues' => array (
- 'type' => '9818',
- ),
- ),
- 'rss-newsfeed.html' => array (
- 'keyValues' => array (
- 'type' => '9818',
- ),
- ),
- ),
- ),
- 'fixedPostVars' => array(
- 'newsDetailConfiguration' => array(
- array(
- 'GETvar' => 'tx_news_pi1[news]',
- 'lookUpTable' => array(
- 'table' => 'tx_news_domain_model_news',
- 'id_field' => 'uid',
- 'alias_field' => 'title',
- 'addWhereClause' => ' AND NOT deleted',
- 'useUniqueCache' => 1,
- 'useUniqueCache_conf' => array(
- 'strtolower' => 1,
- 'spaceCharacter' => '-'
- ),
- ),
- ),
- ),
- 'newsCategoryConfiguration' => array(
- array(
- 'GETvar' => 'tx_news_pi1[overwriteDemand][categories]',
- 'lookUpTable' => array(
- 'table' => 'tx_news_domain_model_category',
- 'id_field' => 'uid',
- 'alias_field' => 'title',
- 'addWhereClause' => ' AND NOT deleted',
- 'useUniqueCache' => 1,
- 'useUniqueCache_conf' => array(
- 'strtolower' => 1,
- 'spaceCharacter' => '-'
- ),
- ),
- ),
- ),
- 'newsTagConfiguration' => array(
- array(
- 'GETvar' => 'tx_news_pi1[overwriteDemand][tags]',
- 'lookUpTable' => array(
- 'table' => 'tx_news_domain_model_tag',
- 'id_field' => 'uid',
- 'alias_field' => 'title',
- 'addWhereClause' => ' AND NOT deleted',
- 'useUniqueCache' => 1,
- 'useUniqueCache_conf' => array(
- 'strtolower' => 1,
- 'spaceCharacter' => '-'
- ),
- ),
- ),
- ),
- # Set page IDs
- '58' => 'newsDetailConfiguration',
- #'71' => 'newsTagConfiguration',
- #'72' => 'newsCategoryConfiguration',
- ),
- 'postVarSets' => array(
- '_DEFAULT' => array(
- 'controller' => array(
- array(
- 'GETvar' => 'tx_news_pi1[action]',
- 'noMatch' => 'bypass'
- ),
- array(
- 'GETvar' => 'tx_news_pi1[controller]',
- 'noMatch' => 'bypass'
- ),
- ),
- 'dateFilter' => array(
- array(
- 'GETvar' => 'tx_news_pi1[overwriteDemand][year]',
- ),
- array(
- 'GETvar' => 'tx_news_pi1[overwriteDemand][month]',
- ),
- ),
- ),
- ),
- )
- );
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement