 |
| Hinweise |
Willkommen im TP-Hilfe-Forum!Dies ist ein Forum zu den Themen Photoshop, Dreamweaver, Flash, Selbständigkeit und mehr, in dem Du Hilfe, Anleitung oder eine Lösung zu Deinen Problemen erhältst. Aktuell bist Du in unseren Foren als Gast mit reinen Leserechten unterwegs. Wenn Du Dich registrierst, kannst Du eigene Themen verfassen, deine Frage stellen und privat mit anderen TPlern kommunizieren. Weitere Foren werden zugänglich, und Du wirst – falls gewünscht – per Mail über neue Beiträge informiert. Die Registrierung ist schnell und kostenlos. Sollten bei der Registrierung Fragen auftauchen, reicht ein Klick in unsere Hilfe - Häufig gestellte Fragen oder eine kurze Mitteilung an das Support-Team. Viel Spaß bei Traum-Projekt.com |
31.03.2008, 19:40
|
#1
|
|
TP-Newbie
Registriert seit: Mar 2008
|
datum wird bei realurl mit tt_news nicht angesprochen
Hallo alle zusammen.
Ich habe realurl wie es auf http://www.tugle.de/know_how/tipps/r...n_tt_news.html beschrieben ist installiert. Es funktioniert auch wunderbar. Doch die URL von den tt_news-Seiten ändert sich nicht wirklich im tt_news Bereich. Bei mir steht bei tt_news irgendwie:
.../teppiche/singleview/datum////teppich-iran-i/?tx_ttnews%5BpS%5D=1206966488&tx_ttnews%5BbackPid%5D=11&cHash=aa17150ac8
Wie bekomme ich die URL ansprechender und mit Datumangabe.
Weiss jemand eine Lösung.
Vielen Dank im vorraus.
|
|
|
31.03.2008, 21:42
|
#2
|
|
TP-Special Mod
Registriert seit: Feb 2005
Ort: Haan / NRW
|
die Seite ist zu rudimentär, nimm z.B. das:
PHP-Code:
$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, ), ) );
|
|
|
01.04.2008, 14:29
|
#3
|
|
TP-Newbie
Registriert seit: Mar 2008
|
Dankeschön,
ich muss doch diesen PHP-Skript anstatt dem von der Seite tugle.de nehmen und in ext_localconf.php einfügen, oder?
Leider funktioniert das auch nicht. Irgendwie wird mein php-Skript nicht angesprochen.
Danke für die Hilfe.
|
|
|
01.04.2008, 14:48
|
#4
|
|
TP-Special Mod
Registriert seit: Feb 2005
Ort: Haan / NRW
|
in die typo3conf/localconf.php
|
|
|
02.04.2008, 19:13
|
#5
|
|
TP-Newbie
Registriert seit: Mar 2008
|
Vielen vielen Dank steffenk,
Habs in die localconf.php eingefügt und jetzt funktioniert es.
|
|
|
|
Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
|
|
|
| Themen-Optionen |
Thema durchsuchen |
|
|
|
| Thema bewerten |
|
|
Forumregeln
|
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.
HTML-Code ist aus.
|
|
|
Alle Zeitangaben in WEZ +2. Es ist jetzt 08:50 Uhr.
|
 |