Posted by Дмитрий Сподарец on апреля 28, 2008
Код следующий:
lib.randomContent = COA_INT lib.randomContent { 10 = CONTENT 10 { table = tt_content select { # ID of the page where your content elements are stored pidInList = 30 # Number of content elements to show max = 1 orderBy = rand() } } }
