-
|
The documentation states that the following is possible: Related categories list The news list module has also a feature to display the related news items based on the categories of the current item. This is typically needed when you have a news reader module on the page and below you would like to display similar news. To achieve this, the module structure on the page has to be the following: news reader module But when I select this option, I only get the output "There are currently no messages available" below the news reader module. Am I missing a certain setting, or do I have to select something special? If I don't select the Related categories list, I get news, but unfortunately all mixed and none matching the category. I use Contao 4.13 |
Beta Was this translation helpful? Give feedback.
Replies: 10 comments 2 replies
-
|
Can you post a screenshot of the backend settings of both mentioned frontend modules? |
Beta Was this translation helpful? Give feedback.
-
|
Here I send the two screenshots. While I was making these, I changed something again and suddenly the two news items were below the news reader. I had selected a customised template in the module template "mod_newsreader". This does not seem to work. Now there were 2 news under the news reader. I would prefer to be able to place a own news list under the newsreader, which then generates an output as described in the instructions. Currently, I can only display a similar output from the archive, but I would like to create an output sorted by category (contao-news_categories). Below are the screenshots before the last adjustment: |
Beta Was this translation helpful? Give feedback.
-
|
The news reader module has no effect on the related news list module. I would rather inspect your custom templates if they contain some stuff respective for this problem. |
Beta Was this translation helpful? Give feedback.
-
|
If I select the default template for both in the news reader and in the news list below the news reader (everywhere), I also get the output: "There are currently no messages available". |
Beta Was this translation helpful? Give feedback.
-
|
Can you share your custom templates, please? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
And the news_latest from the newslist directly under the news reader: |
Beta Was this translation helpful? Give feedback.
-
|
Have you got any custom |
Beta Was this translation helpful? Give feedback.
-
|
@liquid-a I have checked you environment and your configuration is incorrect:
I have created the |
Beta Was this translation helpful? Give feedback.
-
|
Many thanks for the help and the solution to the problem! I must have made a mistake and had too many modules in use for the news. |
Beta Was this translation helpful? Give feedback.




@liquid-a I have checked you environment and your configuration is incorrect:
news_relatedmodule is NOT a part of News Categories extension. You should use the news list with theRelated categories modecheckbox selected.Newslist Infinite Scrollwhich may have an impact on this functionality as well.I have created the
! Newslist relatedfrontend module which is the news list with theRelated categories modecheckbox selected and it works now.