Showtime module tricks
Posted: Fri Mar 11, 2011 6:36 pm
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):
To change the <h2> tag generated for the image title to some other tag:
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'}