[TYPO3] RealURL Configuration Nightmare..
J.L. Reid
jlreid at reidwrite.com
Wed Jul 16 20:01:15 CEST 2008
I've been trying to get RealUrl to create the exact page path that I want, and
it's been a headache thus far.
Right now, I have this as my url for a TIMTAB blog post.
http://archive////kindred_spirits/index.htm?tx_ttnews%5BbackPid%5D=223&cHash=3e7ceccd30
For some reason RU no longer adds my domain to the urls. Also, I can't figure
out why I have so many slashes after "archive".
Here's my current configuration (any help would be greatly appreciated):
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
'init' => array(
'enableCHashCache' => 1,
'enableUrlDecodeCache' => 1,
'enableUrlEncodeHash' => 1,
// 'postVarSet_failureMode' => 'redirect_goodUpperDir',
),
'rewrite' => array(
),
'preVars' => array(
/*
array(
'GETvar' => 'L',
'valueMap' => array(
'de' => '0',
'de' => '1',
'valueDefault' => 'de',
),
),
*/
),
'pagePath' => array(
'type' => 'user',
'userFunc'
=> 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
'spaceCharacter' => '-',
'languageGetVar' => 'L',
'expireDays' => 3
),
'fileName' => array (
'defaultToHTMLsuffixOnPrev' => 1,
'index' => array(
'page.html' => array(
'keyValues' => array (
'type' => 1,
),
),
),
'print.html' => array(
'keyValues' => array (
'type' => 98,
),
),
),
'fixedPostVarSets' => array(
),
'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(
'non-archived' => -1,
),
),
),
'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,
'spaceCharacter' => '-',
),
),
),
),
'article' => array(
array (
'GETvar' => 'tx_ttnews[backPid]',
// 'valueMap => array(
// ),
),
array (
'GETvar' => 'tx_ttnews[tt_news]',
'lookUpTable' => array (
'table' => 'tt_news',
'id_field' => 'uid',
'alias_field' => 'title',
'maxLength' => 12,
'addWhereClause'=> 'AND NOT deleted',
'useUniqueCache'=> 1,
'useUniqueCache_conf' => array (
'strtolower' => 1,
'spaceCharacter' => '-',
),
),
),
),
),
),
);
$TYPO3_CONF_VARS["FE"]["pageNotFound_handling"]
= 'READFILE:fileadmin/templates/main/notfound.html';
// $TYPO3_CONF_VARS["SYS"]["enable_DLOG"] = 'true';
More information about the TYPO3-english
mailing list