[TYPO3-english] Caching problems with random content
Peter Russ
"peter,russ" at 4many.net
Sat Feb 14 12:09:35 CET 2009
--- Original Nachricht ---
Absender: Tomaz Zaman
Datum: 14.02.2009 12:00:
> Still having this issue :S
>
>> Hey guys I have a small problem regardin caching. I'm trying to
>> display some
>> random content from a page with the following TS:
>>
>> lib.randomContent = COA_INT
>> lib.randomContent {
>> 10 = CONTENT
>> 10 {
>> table = tt_content
>> select {
>> pidInList = 129
>> max = 1
>> orderBy = rand()
>> }
>> }
>> }
>>
>> It does it's job with one small problem,... If I refresh the page the
>> random
>> content part just disappears... If click on another page, and come
>> back, the
>> random content is there again...
>>
>> What could be wrong??
>>
>> Tomaz Zaman
>>
>> Sorry if some if you got duplicate of this, I made a wrong reply :)
>> ----------------------------------------------------------------------------
>>
>> Optiss Tomaž Zaman s.p.
>>
>>
Hallo Tomas,
1) this is just TS and doesn't show how it is included in your page.
2) activate debug in your TS to see what happens:
lib.randomContent.stdWrap.debugFunc=2
lib.randomContent.stdWrap.debugData=1
Regs. Peter.
--
Fiat lux!
Docendo discimus.
http://www.gidf.de
_____________________________
4Many� Services
uon GbR
XING: http://www.xing.com/profile/Peter_Russ
https://www.xing.com/go/invita/360052
http://www.xing.com/go/privatemessage/Peter_Russ
More information about the TYPO3-english
mailing list