[TYPO3] problem with RealURL in conjunction with tt_news [TYPO3 3.7.1 RealURL 1.1]
Bert Hiddink [BENDOO e-work solutions]
hiddink at bendoo.com
Thu Aug 24 22:59:46 CEST 2006
Hello!
I have a problem with RealURL in conjunction with tt_news.
RealURL generates the following links for tt_news:
http://meerwijn.no-ip.org/home/nieuwsarchief/nieuws-items/artikel/79/wijn-schenken-en-georgie-helpen/
....thanks to the configuration as shown below in localconf.php.
However, when calling the link, I get the error from tt_news:
"no news_id "
Anyone has an idea what is wrong with the tt_news part. After several
hours, I do not see anymore what is going wrong here.
Many thanks in advance for your advice!
grt,
-brt
--
Bert Hiddink
hiddink at bendoo.nl
BENDOO e-work solutions
http://www.bendoo.nl
Harterinkdijk 8, 7065 AR SINDEREN
The Netherlands
Tel. 0315 244525
...
$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' => '1',
),
'noMatch' => 'bypass',
),
'1' => array (
'GETvar' => 'L',
'valueMap' => array (
'en' => '2',
'de' => '1',
),
'noMatch' => 'bypass',
),
),
'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,
),
),
),
),
'artikel' => 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]'
),
),
// tt-products
'naam' => array(
array(
'GETvar' => 'tt_products',
'lookUpTable' => array(
'table' => 'tt_products',
'id_field' => 'uid',
'alias_field' => 'title',
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '-',
),
),
),
),
'cat' => array(
array(
'GETvar' => 'backPID',
),
),
'detail' => array(
array(
'GETvar' => 'ttp_extvars',
),
),
),
),
'pagePath' => array (
'type' => 'user',
'userFunc'
=>'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
'spaceCharacter' => '-',
'languageGetVar' => 'L',
'expireDays' => '7',
'rootpage_id' => '9'
),
);
More information about the TYPO3-english
mailing list