[TYPO3] EXT: chcnewscon comments on newspage caching? (same datetime for all comments)

Martin Kokes kokes at tuning-magazine.cz
Thu Mar 23 13:10:40 CET 2006


Hello,

I set sucessfully up chcnewscon extension, but there's some problem with any 
way of caching of comments. Every posted comment on news single page gets 
same datetime.
See 
http://www.tuning-magazine.cz/nc/top-story/clanky/2006/unor/27/clanek/zkratka-a-jasne-evo/

Caching for page with news (?id=4) and forum (?id=10) is turned off.

Here's typoscript of news page:
---
# clear the code field
plugin.tt_news.code >
plugin.tt_news.code = LIST

# prevent indexing of the LIST view
config.index_enable = 0

[globalVar = GP:tx_ttnews|tt_news > 0]
# set code to SINGLE if the GETvar tx_ttnews[tt_news] exists
plugin.tt_news.code = SINGLE

# enable indexing of the SINGLE view
config.index_enable = 0

plugin.tt_news.useMultiPageSingleView = 1
plugin.tt_news.maxWordsInSingleView = 300

plugin.tt_news.displaySingle.chcForumPostTime_stdWrap.strftime = %d.%m.%Y 
%H:%M
plugin.tt_news.displaySingle.chcForumThread = %s od: %s - %s

[globalVar = GP:cat_uid = 3]
# set code to SINGLE if the GETvar tx_ttnews[tt_news] exists
plugin.tt_news.code = SINGLE

# enable indexing of the SINGLE view
config.index_enable = 0

plugin.tt_news.useMultiPageSingleView = 1
plugin.tt_news.maxWordsInSingleView = 300

plugin.tt_news.displaySingle.chcForumPostTime_stdWrap.strftime = %d.%m.%Y 
%H:%M
plugin.tt_news.displaySingle.chcForumThread = %s od: %s - %s

page.10.subparts.normalni.30 < styles.content.get
[global]
# clear main content in page object
page.10.subparts.normalni.20 >

# load tt_news as content to the page object
page.10.subparts.normalni.20 < plugin.tt_news
---

As you see, I share LIST and SINGLE tt_news mode on one page.
Plugin with forum is plugged in page normally via tt_content.

Any suggestions are welcome.

Martin Kokes 




More information about the TYPO3-english mailing list