Heisenberg submitted a new resource:
You must be registered for see links
- Random Number Variable for use in TemplatesvB Version: 3.8.2
Ok, this is my first and probably only plug-in. I needed a random number variable in a template, spent an hour or so figuring out how to do it - may as well put it up here in case it saves anyone any time. Very simple.
All this does is create a variable, $randomnum, which is available for use in templates. This version returns 1, 2 or 3 on every pageload - I use it to randomly determine whether a banner should be left, center, or right aligned. You can...
You must be registered for see links
Last edited:
