Page 1 of 1

Showtime module tricks

Posted: Fri Mar 11, 2011 6:36 pm
by DIGI3
Here's a couple of simple, yet useful tricks for calling the showtime module (and probably useful for others, too)

For a random slideshow (change the 1|rand:3 to suit your range of shows):

Code: Select all

{capture name="random" assign="random"}{1|rand:3}{/capture}{Showtime show=$random}

To change the <h2> tag generated for the image title to some other tag:

Code: Select all

{Showtime|replace:'h2':'h4'}

Re: Showtime module tricks

Posted: Wed Mar 16, 2011 2:55 pm
by elkman
Thanks for these quick tricks.