Typo3 RealURL tx_news 403错误详细页面上有横幅链接

时间:2017-11-15 09:22:17

标签: typo3 banner realurl tx-news

我的RealURL配置存在问题,无法找到解决方案。我在我的网站中添加了横幅,但在新闻详情页面上链接不起作用,创建了403错误。所以我的RealURL配置有问题:

'fixedPostVars' => array(
    'newsDetailConfiguration' => array(
        array(
            'GETvar' => 'tx_news_pi1[news]',
            'lookUpTable' => array(
                'table' => 'tx_news_domain_model_news',
                'id_field' => 'uid',
                'alias_field' => 'title',
                'addWhereClause' => ' AND NOT deleted',
                'useUniqueCache' => 1,
                'useUniqueCache_conf' => array(
                    'strtolower' => 1,
                    'spaceCharacter' => '-'
                ),
                'languageGetVar' => 'L',
                'languageExceptionUids' => '',
                'languageField' => 'sys_language_uid',
                'transOrigPointerField' => 'l10n_parent',
                'autoUpdate' => 1,
                'expireDays' => 180,
            )
        )
    ),
    '18' => 'newsDetailConfiguration',

点击横幅时的链接如下所示: ?/细节/类型= 9002&安培; tx_sfbanners_pi1 [横幅] = 4和; tx_sfbanners_pi1 [动作] =点击&安培; tx_sfbanners_pi1 [控制器] =横幅&安培; cHash = 5ab32cd1edb0529752985d5e30dfd8be

感谢您的帮助!

1 个答案:

答案 0 :(得分:1)

EXT:news的参数缺失,需要在创建横幅链接

时添加