Hallo liebe Foristi
möchte von einem bestimmten SysFolder (id=23) zufälligen INhalt aus der Spalte normal (colPos=0) ausgeben.
Folgendes TS-Snippet
lib.randomRatings { 10 { table = tt_content select { pidInList = 23 where = colPos = 0 orderBy = RAND() max = 2 languageField = sys_language_uid } renderObj < tt_content } }
führt zu folgedner Fehlermeldung:
Ooops an Error occured (...)
(...) unknown column RAND() (...)
Hat jemand eine Idee, wie man einen zufälligen Inhalt aus der Spalte tt_content generieren kann?
thowe
<think happy thoughts>