All Low add-ons are now owned by EEHarbor. Read the blog post.
All add-ons

Low Random

Compatibility: EE1, EE2, EE3, EE4, EE5
Latest release: 3.0.0 (released 2017-12-25)
Licensing: CC Attribution-Share Alike 3.0

Installation

The download contains the version that is compatible with both the EE3 and EE4. Older versions are available on Github: EE2 and EE1.

ExpressionEngine 3 & 4

  • Download and unzip the latest version of Low Random.
  • Copy the low_random folder to your /system/user/addons directory.
  • In your Control Panel, go to the Add-on Manager and install Low Random.
  • All set!

Template tags

File tag

Parameters for {exp:low_random:file} tag
Parameter Description
folder Either the server path of the folder, or the numeric Upload Destination id. Required.
filter Any number of sub strings the file name should contain, separated by vertical bars.
{exp:low_random:file folder="/some/path/to/images" filter="masthead|.jpg"}
{exp:low_random:file folder="3" filter=".pdf"}

Item tag

Parameters for {exp:low_random:item} tag
Parameter Description
items Any number of items, separated by vertical bars.
{exp:low_random:item items="cat|dog|ferret|raptor"}
{exp:low_random:item items="Yes|No|Maybe|Try again later|You're kidding, right?"}

Items tag

Parameters for {exp:low_random:item} tag
Parameter Description
separator Character used to separate values. Defaults to new line.
trim Set to “no” if you don’t want the tagdata to be stripped of white space at the beginning and end.
{exp:low_random:items}
  Cat
  Dog
  Ferret
  Raptor
{/exp:low_random:items}
{exp:low_random:items separator=","}
  Cat, Dog, Ferret, Raptor
{/exp:low_random:items}

Letter tag

Parameters for {exp:low_random:letter} tag
Parameter Description
from Letter to start the range with, defaults to a.
to Letter to end the range with, defaults to z.

Note: this tag returns a letter in the same case as the given parameters.

{exp:low_random:letter}
{exp:low_random:letter from="A" to="F"}

Number tag

Parameters for {exp:low_random:number} tag
Parameter Description
from Number to start the range with, defaults to 0.
to Number to end the range with, defaults to 9.
{exp:low_random:number}
{exp:low_random:number from="100" to="999"}