[TYPO3-UG Dutch] realurl
Leen Strijk
leenstrijk at tomaatnet.nl
Fri Apr 20 14:01:18 CEST 2007
Hallo,
Ik heb realurl in een winkelsite
Nu is de url als je een product toon:
www.website.net/shop/men/d-g/backPID/d-g/products/zonnebril/
Is het mogelijk het gedelte backPID/d-g/products/ weg te laten zoadat er
overblijft:
www.website.net/shop/men/d-g/zonnebril/
Alvast bedankt als er iemand naar wil kijken.
code:
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
'init' => array (
'enableCHashCache' => '1',
'appendMissingSlash' => 'ifNotFile',
'enableUrlDecodeCache' => '1',
'enableUrlEncodeCache' => '1',
),
'redirects' => array (
),
'preVars' => array (
'0' => array (
'GETvar' => 'no_cache',
'valueMap' => array (
'no_cache' => '0',
),
'noMatch' => 'bypass',
),
'1' => array (
'GETvar' => 'L',
'valueMap' => array (
'en' => '1',
),
'noMatch' => 'bypass',
),
),
'pagePath' => array (
'type' => 'user',
'userFunc' =>
'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
'spaceCharacter' => '-',
'languageGetVar' => 'L',
'disablePathCache' => 1,
'autoUpdatePathCache' => 1,
'expireDays' => '3',
//'rootpage_id' => '1',
),
'fixedPostVars' => array(),
'postVarSets' => array(
'_DEFAULT' => array(
//tt_news
// 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,
),
),
),
),
'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' => 1,
'spaceCharacter' => '-',
),
),
),
array(
'GETvar' => 'tx_ttnews[swords]'
),
),
// backPID
'backPID' => array(
array(
'GETvar' => 'tx_ttproducts_pi1[backPID]',
'lookUpTable' => array(
'table' => 'pages',
'id_field' => 'uid',
'alias_field' => 'title',
'maxLength' => 30,
'addWhereClause' => ' AND deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '-',
),
),
),
),
// product categories
'categories' => array(
array(
'GETvar' => 'tx_ttproducts_pi1[cat]',
'lookUpTable' => array(
'table' => 'tt_products_cat',
'id_field' => 'uid',
'alias_field' => 'title',
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '-',
),
),
),
),
// products
'products' => array(
array(
'GETvar' => 'tx_ttproducts_pi1[product]',
'lookUpTable' => array(
'table' => 'tt_products',
'id_field' => 'uid',
'alias_field' => 'title',
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '-',
),
),
),
),
),
),
);
More information about the TYPO3-UG-dutch
mailing list