【问题标题】:Typo3 RealURL tx_news 403 error on detail page with banner link带有横幅链接的详细信息页面上的 Typo3 RealURL tx_news 403 错误
【发布时间】:2017-11-15 09:22:17
【问题描述】:

我的 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',

点击横幅时的链接如下所示: /detail/?type=9002&tx_sfbanners_pi1[banner]=4&tx_sfbanners_pi1[action]=click&tx_sfbanners_pi1[controller]=Banner&cHash=5ab32cd1edb0529752985d5e30dfd8be

感谢您的帮助!

【问题讨论】:

    标签: typo3 banner realurl tx-news


    【解决方案1】:

    EXT:news的参数缺失,需要在创建banner的链接时添加

    【讨论】:

    • 你能给我举个例子吗?
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-01-13
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多