Showtime module tricks

Do something cool with CMS? Show us ...
This board is for 'Answers', and the discussion of answers... Not for questions.
Locked
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1629
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Showtime module tricks

Post 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'}
elkman
Power Poster
Power Poster
Posts: 262
Joined: Thu Jan 11, 2007 9:16 pm
Location: Colorado

Re: Showtime module tricks

Post by elkman »

Thanks for these quick tricks.
Locked

Return to “Tips and Tricks”