Einzelnen Beitrag anzeigen

  #7  
Alt 20.07.2008, 22:18
Andreas Burg
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-german]LÖSUNG --> RealURL: Verstehe das Verhalten nicht

Stefan Jurisch schrieb:
> Hallo zusammen,
>
> zwar verstehe ich RealURL immer noch nicht wirklich, aber immerhin habe ich durch Ausprobieren eine vorläufige Lösung für mein Problem gefunden, daß meine Backend-Kontextmenüs außer Kraft gesetzt wurden. Jedenfalls ist mir zumindest klar, daß definitiv RealURL bzw. die Config diesen Fehler verursacht hat, der auch mit - egal welchen - RewriteRules nicht zu beheben ist.
>
> In der Datei (s. Anhang) 'dth_realurl_conf.php_old' ist der Zustand festgehalten, der meine Probleme verursacht hat.
> Die Datei dth_realurl_conf.php_current zeigt den jetzigen Zustand, mit dem die ganze Sache funktioniert.
>
> Ich vermute, daß es irgendetwas mit dem Pre- und PostVarSets zu tun haben muss...
>
> Gruß
> Stefan


Hallo Stefan,

hier hast du mal meine alte realurlconf.php, vielleicht kannst du was damit anfangen.

Ich benutzte allerdings

'userFunc' => 'EXT:realurl/class.tx_realurl_jk.php:&tx_realurl_jk->main',

weil ich damit Pfadsegmente aus der Mitte entfernen konnte, was ich mit der Standard-Klasse nicht
hinbekam, obwohls im Manual stand, dass es gehen würde. DAS, und auch das umständliche Löschen des
realurl-caches waren für mich die Gründe für cooluri. Wenn du umsteigen willst würde ich dir helfen.

Gruß Andreas

<?php
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['realurl']=array (
'meinetolleseite.de' =>
array (

/* **********init********** */
'init' =>
array (
'enableCHashCache' => true,
'appendMissingSlash' => 'ifNotFile',
'adminJumpToBackend' => true,
'enableUrlDecodeCache' => true,
'enableUrlEncodeCache' => true,
'emptyUrlReturnValue' => 'http://meinetolleseite.de/',
'postVarSet_failureMode' => 'redirect_goodUpperDir',
),

/* **********redirects********** */
'redirects' => array(),

/* **********preVars********** */
'preVars' =>
array (
array (
'GETvar' => 'no_cache',
'valueMap' =>
array (
'nocache' => 1,
),
'noMatch' => 'bypass',
),
array (
'GETvar' => 'L',
'valueMap' =>
array (
'en' => '0',
'de' => '9',
),
'defaultValue' => 'en',
),
),

/* **********pagePath********** */
'pagePath' =>
array (
'type' => 'user',
//'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
'userFunc' => 'EXT:realurl/class.tx_realurl_jk.php:&tx_realurl_jk->main',
'excludeUids' => array( 374,350,126), //pageIds removed from the path
//'excludeDoktypes' => array(4,5,254),
'spaceCharacter' => '-',
'languageGetVar' => 'L',
'expireDays' => 60,
'disablePathCache' => 0,
'autoUpdatePathCache' => 1,
'segTitleFieldList' => 'tx_realurl_pathsegment,alias,nav_title,title',
//'firstHitPathCache' => true,
'dontResolveShortcuts' => true,
//'excludePageIds' => '374,350',
'rootpage_id' => '41',
),

/* **********fixedPostVars********** */
'fixedPostVars' => array(),

/* **********postVarSets********** */
'postVarSets' =>
array (
'_DEFAULT' => array(
// news archive parameters
'' =>
array (
array (
'GETvar' => 'tx_ttnews[year]' ,
),
array (
'GETvar' => 'tx_ttnews[month]' ,
/*'valueMap' =>
array (
'january' => '01',
'february' => '02',
'march' => '03',
'april' => '04',
'may' => '05',
'june' => '06',
'july' => '07',
'august' => '08',
'september' => '09',
'october' => '10',
'november' => '11',
'december' => '12',
)*/
),
array (
'GETvar' => 'tx_ttnews[day]' ,
),
),
// news pagebrowser
'browse' =>
array (
array (
'GETvar' => 'tx_ttnews[pointer]',
),
),
// news categories
'select_category' =>
array (
array (
'GETvar' => 'tx_ttnews[cat]',
),
),
// news articles and searchwords
'article' =>
array (
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' => '-',
),
),
),
array (
'GETvar' => 'tx_ttnews[sViewPointer]' ,
),
array (
'GETvar' => 'tx_ttnews[swords]',
),
),
),
),

/* **********fileName********** */
'fileName' =>
array (
'defaultToHTMLsuffixOnPrev' => 1,
'acceptHTMLsuffix' => 1,
'index' =>
array (
'print.html' =>
array (
'keyValues' =>
array (
'type' => 33,
),
),
'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,
),
),
),
),
),
);
?>

_______________________________________________
TYPO3-german mailing list
TYPO3-german (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/...o/typo3-german