Search code examples
typo3tx-news

tx_news: Detail view always renders the article first viewed


T3 8.7.15 with latest versions of tx_news and realurl. All was running just fine. Out of a sudden the following happens:

Click the link of a news article from a list view and it renders the detail view and displays everything correctly, as expected. When I then go back and click (any) another article it will again display the article I just view previously and will only display this article anymore, no matter which other I article I choose. It is always the first article rendered that is being displayed (until cache is emptied).

The links are correct according to the article chosen, by the way. However always the first viewed article is displayed, no matter what.

Have deactivated realurl but behavior is same. Clearing all caches did not help either.


Solution

  • Related to news and realurl there is a special page in the manual of news: RealURL configuration, the advanced configuration includes also some settings related to chache.

    Additional you might have to adjust some general cache-setting.

    Another point is that you've to clean the cache of realurl perhaps after having adjusted some settings.

    Furthermore there have been some changes related to cache in core and viewhelpers too, I'm just not sure if they apply to news in general or to your individual new-templates:

    If all hints never help to remove the undesired caching-behavior the simplest workaround is to disable the cache on the news-pages completely till a solution is found. I will update this answer if I find further information. Here is how to disable the page cache for a single page:

    1. Open the page-settings of the page(s) where the news-plugin is resided

    2. Navigate to the tab "Behavior"

    3. Adjust the cache-settings