Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Categorized news detail view appears under wrong URL #2590

Open
webteam-citeq opened this issue Dec 9, 2024 · 3 comments
Open

Categorized news detail view appears under wrong URL #2590

webteam-citeq opened this issue Dec 9, 2024 · 3 comments

Comments

@webteam-citeq
Copy link

webteam-citeq commented Dec 9, 2024

Hello,
on this page (https://www.hamm.de/kultur), I'll just call it page 1, we publish categorized news with the plugin pi1. A news detail page would then be accessible under the following URL, for example (https://www.hamm.de/kultur/news/pension-schoeller).
On another page (https://www.hamm.de/ash), I'll call it page 2, news is also output using pi1. Logically, the previously mentioned news from page 1 does not appear here, as it is a different category.
However, we have noticed via the Google search that news items that are included on page 1 are also listed via the detailed view on page 2 (https://www.hamm.de/ash/news/pension-schoeller). Please note the differences in the URL ("ash" and "kultur").

Is this a known problem and is there a possible solution?
In any case, I would be pleased to receive feedback.

Environment

  • TYPO3 version(s): 12.4.23
  • news version: 11.4.2
  • Is your TYPO3 installation set up with Composer (Composer Mode): yes
  • OS: Windows 10
@georgringer
Copy link
Owner

sounds like https://packagist.org/packages/georgringer/news-category-pid-constraint could be a solution?

@webteam-citeq
Copy link
Author

Thank you for your feedback. The extension could probably solve the problem, but unfortunately it is not installable for TYPO3 12. Is there already a new version or a prospect when a version for 12 will be available?

@georgringer
Copy link
Owner

I guess this should work with just raising the requirements. do you mind testing it locally and do a PR then? or sponsor it if I should do it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants