[TYPO3-english] Caching problems with random content

Tomaž Zaman tomaz at optiss.si
Fri Feb 6 22:12:41 CET 2009


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




More information about the TYPO3-english mailing list