[TYPO3-german] realurl und links aus rte auf dateien in fileadmin
Alexander Weber
typolist at exotec.de
Thu Jan 19 13:52:22 CET 2006
hallo,
ich habe bei einer seite mit realurl das problem, dass wenn ich im rte
einen link auf eine datei in fileadmin setze bekomme ich da aber
probleme:
Error. Reason: Segment "fileadmin" was not a keyword for a postVarSet as expected!
???
was hab ich falsch gemacht bzw. wo habe ich etwas vergessen?
so sieht die .htaccess aus:
RewriteEngine On
rewriteRule ^.+\.htm$ /index.php [R=301,L]
RewriteRule ^typo3$ - [L]
RewriteRule ^typo3/.*$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* index.php
und in der localconf hab ich dies stehen:
$TYPO3_CONF_VARS['FE']['addRootLineFields'].= ',tx_realurl_pathsegment';
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
'init' => array(
'enableCHashCache' => 0
),
'preVars' => array(
array(
'GETvar' => 'no_cache',
'valueMap' => array(
'no_cache' => 1,
),
'noMatch' => 'bypass',
),
array(
'GETvar' => 'L',
'valueMap' => array(
'english' => '1',
'french' => '2',
'espanol' => '3',
),
'noMatch' => 'bypass',
),
),
'fileName' => array (
'defaultToHTMLsuffixOnPrev' => true,
'index' => array(
'backend.php' => array(
'keyValues' => array (
'type' => 100,
)
),
'print' => array(
'keyValues' => array(
'type' => 98,
)
),
),
),
'postVarSets' => array(
'_DEFAULT' => array (
'article' => array(
array(
'GETvar' => 'tx_ttnews[tt_news]',
),
array(
'GETvar' => 'tx_ttnews[backPid]',
),
),
'category' => array(
array(
'GETvar' => 'tx_ttnews[cat]',
),
),
'neste' => array(
array(
'GETvar' => 'tx_ttnews[pointer]',
),
),
),
),
'pagePath' => array(
'type' => 'user',
'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
'spaceCharacter' => '-',
'languageGetVar' => 'L',
'expireDays' => 3
),
);
--
Mit freundlichen Grüßen
Alexander Weber
mailto:typolist at exotec.de
More information about the TYPO3-german
mailing list