


This snippet can be used to display random content elements from tt_content (stored in a sysfolder or a regular page)
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 = 2 orderBy = rand() } } }
This snippet was submitted by Peter Klein


Comments (3)