简体   繁体   English

新闻系统扩展中的realURL

[英]realURL within News System extension

I would like to have frendly URLs in news single post instead of all those hashtags, procent, question marks etc. 我希望新闻单篇文章中包含友善的URL,而不是所有这些标签,procent,问号等。

I have tried to follow this article but it doesn't work. 我试图按照这篇文章,但它不起作用。

Normal pages have friendly URLs. 普通页面具有友好的URL。

I am using Typo3 7.2.0 and News System 3.2.0 我正在使用Typo3 7.2.0和News System 3.2.0

Any ideas? 有任何想法吗? Thanks 谢谢

RESOLVED 解决

This worked TYPO3 news system and RealURL 可以工作的TYPO3新闻系统和RealURL

Of course that sample doesn't work as it's written for tt_news ext. 当然,该示例不起作用,因为它是为tt_news ext写的。 You should use sample from official News' doc instead. 您应该使用官方新闻文档中的示例

Note that you can skip controller and action parts of URL by adding this to your TS: 请注意,您可以通过将其添加到TS中来跳过URL的控制器和动作部分:

plugin.tx_news.settings.link.skipControllerAndAction = 1

In such case you will also need to remove/comment these parts from your realurl_conf: 在这种情况下,您还需要从realurl_conf中删除/注释以下部分:

    array(
            'GETvar' => 'tx_news_pi1[action]',
    ),
    array(
            'GETvar' => 'tx_news_pi1[controller]',
    ),

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM