Commit 95b532b0 authored by Stefan Busemann's avatar Stefan Busemann
Browse files

[FEATURE] Redirect to news list views, if no valid uid is given

parent df9b0e04
Pipeline #19334 failed with stages
in 15 seconds
......@@ -227,3 +227,13 @@ pageNewsRSS {
}
}
[global]
# if no uid is given for news articles, redirect to list view of general news articles
[page["uid"] == 185]
plugin.tx_news.settings.detail.errorHandling = redirectToPage,38,307
[global]
# if no uid is given for security advisories, redirect to list view of general news articles
[page["uid"] == 523]
plugin.tx_news.settings.detail.errorHandling = redirectToPage,32,307
[global]
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment