ingeniumdesign blog

TYPO3, SEO und Magento

TYPO3 – tt_news mit real_url

Wenn Ihr real_url mit tt_news verwenden wollt, dann müsst Ihr diese TypoScript Befehle unbedingt mit einbinden:
plugin.tt_news.useHRDatesSingle = 1 plugin.tt_news.useHRDatesSingleWithoutDay = 0 plugin.tt_news.dontUseBackPid = 1 plugin.tt_news.useHRDates = 1
[ad#posting]   Hier noch meine: realurl_conf.php
<?php $TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array( 'init' => array( 'useCHashCache' => '0', 'enableCHashCache' => 1, 'respectSimulateStaticURLs' => 'TRUE', 'appendMissingSlash' => 'ifNotFile', 'enableUrlDecodeCache' => '1', 'enableUrlEncodeCache' => '1', ), 'preVars' => array( array( 'GETvar' => 'no_cache', 'valueMap' => array( 'no_cache' => 1, 'nc' => 1, ), 'noMatch' => 'bypass', ), array( 'GETvar' => 'L', 'valueMap' => array( 'de' => '0', 'en' => '1', ), 'noMatch' => 'bypass', ), ), 'pagePath' => array( 'type' => 'user', 'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main', 'spaceCharacter' => '-', 'segTitleFieldList' => 'alias,tx_realurl_pathsegment,nav_title,title', 'languageGetVar' => 'L', 'expireDays' => 1, 'disablePathCache' => 1, 'rootpage_id' => 1, ), 'fileName' => array( 'defaultToHTMLsuffixOnPrev' => '.html', 'index' => array( 'rss.xml' => array( 'keyValues' => array( 'type' => 100, ), ), 'rss091.xml' => array( 'keyValues' => array( 'type' => 101, ), ), 'rdf.xml' => array( 'keyValues' => array( 'type' => 102, ), ), 'atom.xml' => array( 'keyValues' => array( 'type' => 103, ), ), ), ), 'postVarSets' => array( '_DEFAULT' => array( 'browse' => array( array( 'GETvar' => 'tx_ttnews[pointer]', 'valueMap' => array('weiter' => '1','weiter' => '2',)),), // news kategorien 'kategorie' => 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' => '-', ),),),), // news artikel 'datum' => array( array('GETvar' => 'tx_ttnews[year]' , ), array('GETvar' => 'tx_ttnews[month]' , ), array('GETvar' => 'tx_ttnews[day]' , ), 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' => '-', ),),),), ),), ); ?>

Andere interessante News:

Ein Kommentar, Kommentar schreiben oder Ping

  1. Danke für die Anleitung! Geht das auch ohne /datum/03-05-10 ?
    danke!

Schreibe zu “TYPO3 – tt_news mit real_url

*