简体   繁体   English

未登录时无法更改tt_news存档中的日期

[英]Can't change dates in tt_news archive when not logged in

A college of mine has set up a page with tt_news single, list and archive. 我的一所大学建立了一个包含tt_news单身,名单和档案的页面。

He has an archive list in a sidebar on all these pages and it lists the years from each news as it should. 在所有这些页面的侧栏中,他都有一个存档列表,并且按需列出每个新闻的年份。
I can click on each year and view the news from that year fine when logged in. 登录后,我可以每年单击并查看该年的新闻。
But when I log out the date is not changed. 但是当我注销时,日期没有改变。 It stays at what date was first clicked when the "SHOW ARCHIVED" setting was set. 它停留在设置“显示存档”设置时首次单击的日期。 The url changes but the page doesn't... 网址更改了,但页面没有...

I have: 我有:
tt_news v2.5.2 tt_news v2.5.2
Typo3 v4.5.4 Typo3 v4.5.4
CoolURI v1.0.26 CoolURI v1.0.26

CoolUri conf: http://pastebin.com/9xTmVyPn CoolUri conf: http ://pastebin.com/9xTmVyPn

tt_news typoscript: tt_news打字稿:

plugin.tt_news { 
    templateFile = fileadmin/templates/ext/blog.html
    displayArchivedInLatest = 1
    datetimeMinutesToArchive = 1
    enableArchiveDate = 0

    # page with archive list
    archiveTypoLink.parameter = 286
    # page with single view
    singlePid = 285
    # page with list view
    backPid = 284
    # page with db entries 
    pid_list = 35

    displaySingle.date_stdWrap.strftime = %e:e %B %Y
    displayList.date_stdWrap.strftime = %e:e %B %Y

    pageBrowser {
        tableParams >
    }

    summary {
        wordWrap = 105 | ... | 1
    }

    imgMaxWidth = 600
}

Perhaps you have an caching issue? 也许您有一个缓存问题? Just test it via www.example.com/your/url/?no_cache=1 If that works if you are not logged in, you have an caching issue. 只需通过www.example.com/your/url/?no_cache=1进行测试即可。如果未登录,该方法仍然有效,则说明存在缓存问题。

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

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