Nach endloser Suche bei der großen Suchmaschine und hier im Forum habe ich mich entschieden doch meine Frage auf Euch los zu lassen:
Meine Installation t3 4.2.1 läuft super, realurl (1.5.1) mit tt_news (2.5.2) und danp_realurlconfigurator (1.0.3) habe ich so eingerichtet, wie in den diversen tutorials gefordert, und alles klappt. Bis auf die Ausgabe des Datums ... ich bekomme z. B. folgende URL:
Problem dabei ist eben daß zwischen dem article/ und dem /stunden... das Datum fehlt ... ich weiß nur leider nicht wo es verloren geht ... ;-) ... vielleicht weiß jemand von Euch Rat? Hier meine Configs:
TS-Setup:
#### TT News auf REAL-URL umstellen ####
plugin.tt_news.useHRDatesSingle = 1
plugin.tt_news.useHRDatesSingleWithoutDay = 0
plugin.tt_news.dontUseBackPid = 1
plugin.tt_news.useHRDates = 1
#### ENDE ####
typo3conf/realurlconf.php
//REAL URL MANAGEMENT
$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';
$TYPO3_CONF_VARS['FE']['addRootLineFields'].= ',tx_realurl_pathsegment';
$TYPO3_CONF_VARS['EXTCONF']['realurl'] = array(
'_DEFAULT' => array(
'init' => array(
'enableCHashCache' => 1,
// 'appendMissingSlash' => 'ifNotFile',
'enableUrlDecodeCache' => 1,
'enableUrlEncodeCache' => 1,
),
'redirects' => array(),
'preVars' => array(
//match &no_cache=1 with path prefix /nc
array(
'GETvar' => 'no_cache',
'valueMap' => array(
'nc' => 1,
),
'noMatch' => 'bypass',
),
//multiple language matching L=1 is replaced by /hu
//value are user defiened depending of the order you've inserted your
//alternative language in TYPO3. See sys_language table for ID
array(
'GETvar' => 'L',
'valueMap' => array(
'en' => '1',
'fr' => '2',
'es' => '3',
'de' => '4',
'it' => '5',
'cn' => '6',
'gr' => '7',
'l8' => '8',
'l9' => '9',
'ru' => '10',
'l11'=> '11',
'tr' => '12',
'bg' => '13',
'se' => '14',
'dk' => '15',
'no' => '16',
'fi' => '17',
'al' => '18',
'cz' => '19',
),
'noMatch' => 'bypass',
),
),
// use extended page name rendering
// page names are converted to readalbe page/sub-page/sub-sub-page.html
'pagePath' => array(
'type' => 'user',
'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
'spaceCharacter' => '-',
'languageGetVar' => 'L',
'expireDays' => 7,
'rootpage_id' => 1,
'segTitleFieldList' => 'alias,tx_realurl_pathsegment,nav_title,title',
'disablePathCache' => 1,
// 'encodeTitle_userProc'=>'EXT:realurl/tx_realurl_encodeTitle_userProc.php:&user_encodeDates',
),
'fixedPostVars' => array(),
// match extension parameter
'postVarSets' => array(
'_DEFAULT' => array(
// archive
'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(
'archived' => 1,
'non-archived' => -1,
)
),
),
// pagebrowser
'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,
),
),
),
),
'index' => array (
array(
'GETvar' => 'news[cat]',
'lookUpTable' => array(
'table' => 'tt_news_cat',
'id_field' => 'uid',
'alias_field' => 'title',
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
),
),
),
),
'article' => array(
array(
'GETvar' => 'tx_ttnews[backPid]',
),
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' => 0,
'spaceCharacter' => '-',
),
),
),
array(
'GETvar' => 'tx_ttnews[swords]'
),
),
),
),
// map some type to file name: rss.xml = &typo=100
'fileName' => array(
'index' => array(
'rss.xml' => array(
'keyValues' => array(
'type' => 100,
),
),
// 'index.html' => array(
// 'keyValues' => array(),
// ),
'sitemap.xml' => array(
'keyValues' => array(
'id' => 'googlesitemap',
),
),
),
// add .html suffix to the end of the path generated
'defaultToHTMLsuffixOnPrev' => 1,
),
)
);
//REAL URL MANAGEMENT ENDE