Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- if (PHP_SAPI === 'cli') {
- // cache config for CLI here
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['extbase_object']['backend'] = 'TYPO3\\CMS\\Core\\Cache\\Backend\\Typo3DatabaseBackend';
- };
- */
- // realurl naming precedence configuration
- $TYPO3_CONF_VARS['FE']['addRootLineFields'] .= ',tx_realurl_pathsegment,alias,title';
- $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',
- ),
- );
- $TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
- 'init' => array(
- 'enableCHashCache' => true,
- 'appendMissingSlash' => 'ifNotFile',
- 'adminJumpToBackend' => true,
- 'enableUrlDecodeCache' => true,
- 'enableUrlEncodeCache' => true,
- 'emptyUrlReturnValue' => '/',
- // Allow for proper SEO 404 handling
- 'postVarSet_failureMode' => ''
- ),
- 'redirects' => array(),
- 'preVars' => array(
- array(
- 'GETvar' => 'no_cache',
- 'valueMap' => array(
- 'nc' => 1
- ),
- 'noMatch' => 'bypass'
- ),
- array(
- 'GETvar' => 'L',
- 'valueMap' => array(
- // Sprachvariable Deutsch
- 'de' => '0',
- ),
- 'noMatch' => 'bypass',
- ),
- ),
- // PAGEPATH mit Standard-Realurl-Konfiguration
- 'pagePath' => array(
- 'type' => 'user',
- 'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
- 'spaceCharacter' => '-',
- 'languageGetVar' => 'L',
- 'rootpage_id' => 1,
- 'expireDays' => 30,
- // Nimmt Sysordner aus der Rootline (aktuell auskommentiert!)
- 'excludeDoktypes' => '254',
- 'segTitleFieldList' => 'tx_realurl_pathsegment,alias,title'
- ),
- 'fixedPostVars' => array(),
- 'postVarSets' => array(
- '_DEFAULT' => array(
- // T3extBLOG
- /* BEGIN COPY */
- 't3extblog-action' => array(
- array(
- 'GETvar' => 'tx_t3extblog_blogsystem[action]',
- 'noMatch' => 'bypass',
- ),
- ),
- 'article' => array(
- array(
- 'GETvar' => 'tx_t3extblog_blogsystem[year]',
- ),
- array(
- 'GETvar' => 'tx_t3extblog_blogsystem[month]',
- ),
- array(
- 'GETvar' => 'tx_t3extblog_blogsystem[day]',
- ),
- array(
- 'GETvar' => 'tx_t3extblog_blogsystem[post]',
- 'lookUpTable' => array(
- 'table' => 'tx_t3blog_post',
- 'id_field' => 'uid',
- 'alias_field' => 'title',
- 'addWhereClause' => ' AND NOT deleted AND NOT hidden',
- 'useUniqueCache' => 1,
- 'useUniqueCache_conf' => array(
- 'strtolower' => 1,
- 'spaceCharacter' => '-',
- ),
- 'enable404forInvalidAlias' => 1,
- 'autoUpdate' => 1,
- 'expireDays' => 180,
- ),
- ),
- ),
- // this is sufficient because we only need to change the controller keyword
- // as create is the default action for comment controller
- 'comment' => array(
- array(
- 'GETvar' => 'tx_t3extblog_blogsystem[controller]',
- 'noMatch' => 'bypass',
- 'valueMap' => array(
- 'new' => 'Comment',
- ),
- ),
- ),
- 'permalink' => array(
- array(
- 'GETvar' => 'tx_t3extblog_blogsystem[permalinkPost]',
- ),
- ),
- 'preview' => array(
- array(
- 'GETvar' => 'tx_t3extblog_blogsystem[previewPost]',
- ),
- ),
- 'tags' => array(
- array(
- 'GETvar' => 'tx_t3extblog_blogsystem[tag]',
- ),
- ),
- 'category' => array(
- array(
- 'GETvar' => 'tx_t3extblog_blogsystem[category]',
- 'lookUpTable' => array(
- 'table' => 'tx_t3blog_cat',
- 'id_field' => 'uid',
- 'alias_field' => 'catname',
- 'addWhereClause' => ' AND deleted !=1 AND hidden !=1',
- 'useUniqueCache' => 1,
- 'useUniqueCache_conf' => array(
- 'strtolower' => 1,
- 'spaceCharacter' => '-',
- ),
- 'enable404forInvalidAlias' => 1,
- 'autoUpdate' => 1,
- 'expireDays' => 180,
- ),
- ),
- ),
- /* END COPY */
- // JPPAGETEASER
- 'teaserseite' => array (
- array (
- 'GETvar' => 'tx_jppageteaser_pi1[pointer]',
- ),
- ),
- // TT_NEWS: Archivparameter
- 'datum' => array(
- array(
- 'GETvar' => 'tx_ttnews[year]'
- ),
- array(
- 'GETvar' => 'tx_ttnews[month]',
- ),
- array(
- 'GETvar' => 'tx_ttnews[day]'
- ),
- ),
- // TT_NEWS Seitenbrowser
- 'npage' => array(
- array(
- 'GETvar' => 'tx_ttnews[pointer]'
- ),
- ),
- // TT_NEWS: Katalogansicht
- 'rubrik' => array (
- array(
- 'GETvar' => 'tx_ttnews[cat]',
- 'lookUpTable' => array(
- 'table' => 'tt_news_cat',
- 'id_field' => 'uid',
- 'alias_field' => 'title',
- 'addWhereClause' => ' AND deleted != 1',
- 'useUniqueCache' => 1,
- 'useUniqueCache_conf' => array(
- 'strtolower' => 1
- ),
- ),
- ),
- ),
- // TT_NEWS: Detailansicht
- 'artikel' => array(
- array(
- 'GETvar' => 'tx_ttnews[tt_news]',
- 'lookUpTable' => array(
- 'table' => 'tt_news',
- 'id_field' => 'uid',
- // MLC Goolge wants uniqueness for spidering
- 'alias_field' => 'concat(title)',
- 'addWhereClause' => ' AND deleted != 1',
- 'useUniqueCache' => 1,
- 'useUniqueCache_conf' => array(
- 'strtolower' => 1,
- 'spaceCharacter' => '-'
- ),
- ),
- ),
- array(
- 'GETvar' => 'tx_ttnews[swords]'
- ),
- array(
- 'GETvar' => 'news_search[search_text]'
- )
- ),
- // NEWLOGINBOX
- 'login' => array(
- array(
- 'GETvar' => 'tx_newloginbox_pi3[showUid]'
- ),
- ),
- 'forgot-login' => array(
- array(
- 'GETvar' => 'tx_newloginbox_pi1[forgot]'
- )
- ),
- // Indexedsearch
- 'Suche' => 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]'
- ),
- ),
- // Modern Linklist
- 'link' => array(
- array(
- 'GETvar' => 'tx_ablinklist_pi1[action]',
- 'valueMap' => array(
- 'kat' => 'getviewcategory',
- 'katalog' => 'getviewcatalog',
- 'neu' => 'getviewaddnewlink',
- 'aktiv' => 'getviewclickedlink',
- 'details' => 'getviewdetailsforlink',
- 'defekt' => 'getviewreportbrokenlink',
- 'bewertung' => 'getviewratelink',
- ),
- ),
- ),
- 'cid' => array (
- array (
- 'GETvar' => 'tx_ablinklist_pi1[cid]',
- ),
- ),
- 'rubrik' => array(
- array(
- 'GETvar' => 'tx_ablinklist_pi1[category_uid]',
- 'valueMap' => array(
- 'start' => '0',
- ),
- 'lookUpTable' => array(
- 'table' => 'tx_ablinklist_category',
- 'id_field' => 'uid',
- 'alias_field' => 'label',
- 'addWhereClause' => ' AND deleted != 1',
- 'useUniqueCache' => 1,
- 'useUniqueCache_conf' => array(
- 'strtolower' => 1,
- 'spaceCharacter' => '-',
- ),
- ),
- ),
- ),
- 'katalog' => array(
- array(
- 'GETvar' => 'tx_ablinklist_pi1[uid]',
- 'lookUpTable' => array(
- 'table' => 'tx_ablinklist_link',
- 'id_field' => 'uid',
- 'alias_field' => 'label',
- 'addWhereClause' => ' AND deleted != 1',
- 'useUniqueCache' => 1,
- 'useUniqueCache_conf' => array(
- 'strtolower' => 1,
- 'spaceCharacter' => '-',
- ),
- ),
- ),
- ),
- 'aktuell' => array(
- array(
- 'GETvar' => 'tx_ablinklist_pi1[pointer]',
- ),
- ),
- // Alphabeticalindex
- 'alpha' => array (
- array (
- 'GETvar' => 'tx_clalphabeticalindex_pi1[achar]',
- ),
- ),
- 'seite' => array (
- array(
- 'GETvar' => 'print',
- 'valueMap' => array(
- 'drucken' => '1',
- ),
- 'noMatch' => 'bypass',
- ),
- ),
- ),
- ),
- 'fileName' => array (
- 'defaultToHTMLsuffixOnPrev' => 1,
- 'index' => array(
- 'sitemap.xml' => array(
- 'keyValues' => array(
- 'type' => 841132,
- ),
- ),
- 'sitemap.txt' => array(
- 'keyValues' => array(
- 'type' => 841131,
- ),
- ),
- 'robots.txt' => array(
- 'keyValues' => array(
- 'type' => 841133,
- ),
- ),
- 'drucken.html' => array(
- 'keyValues' => array(
- 'type' => '98',
- 'print' => '1'
- ),
- ),
- 'index.html' => array(
- 'keyValues' => array(
- 'type' => '0',
- ),
- ),
- // TT_NEWS: Mapping RSS2
- 'rss.xml' => array(
- 'keyValues' => array(
- 'type' => '100',
- ),
- ),
- // TT_NEWS: Mapping RSS0.91
- 'rss091.xml' => array(
- 'keyValues' => array(
- 'type' => '101',
- ),
- ),
- // TT_NEWS: Mapping RDF
- 'rdf.xml' => array (
- 'keyValues' => array(
- 'type' => '102',
- ),
- ),
- // TT_NEWS: Mapping ATOM
- 'atom.xml' => array (
- 'keyValues' => array(
- 'type' => '103',
- ),
- ),
- ),
- 'defaultToHTMLsuffixOnPrev' => 1,
- 'acceptHTMLsuffix' => 1
- ),
- );
Advertisement
Add Comment
Please, Sign In to add comment