简体   繁体   English

typo3 tt_news-单视图,2个域和一个存储文件夹,所有新闻在两个域中均可见

[英]typo3 tt_news - single view, 2 domains and one storage folder all news are visible in both 2 domains

problem description: i have two domains on one typo3 installation i have one folder (general record storage page) with tt_news records for both 2 domains i have two pages with tt_news single view one for each domain each single view plugin is configured to show news only from selected category. 问题描述:我在一个typo3安装上有两个域,我有一个文件夹(一般记录存储页面),两个2个域都有tt_news记录,我有两个页面,具有tt_news单视图,每个域一个,每个单视图插件配置为仅显示新闻从选定的类别。

problem: each news is available on both domains. 问题:每个新闻在两个域上都可用。 example: 1. domain1.com/news/title-news-foo.html 2. domain2.com/newsfromdomain2/title-news-foo.html 示例:1. domain1.com/news/title-news-foo.html 2. domain2.com/newsfromdomain2/title-news-foo.html

ex 1, its ok, news is assigned to category from this domain ex 2, its wrong, this news should not be displayed here becouse it`s displyaed on domain1.com 例1,它的好消息来自该域例2,其错误,此消息不应在此处显示,因为它在domain1.com上显示了

It looks that in single view typo3 is not considering Categry mode selection. 看起来在单视图中,typo3没有考虑Categry模式选择。 So how to resolve this issue, without separing news to indepenedent GRSP ? 那么,如何在不将新闻与独立的GRSP分开的情况下解决此问题?

I would suggest you split it up into seperate storage folders 我建议您将其拆分为单独的存储文件夹

This make things a lot easier. 这使事情变得容易得多。 It also sounds you are not using the category mode what it is meant for. 这也听起来您没有使用类别模式的含义。

Suggestion: 建议:

-GRSP
-- NEWS DOMAIN A
-- NEWS DOMAIN B

In the views on both domains set the correct storage folder. 在两个域的视图中,设置正确的存储文件夹。

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

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