History: PluginTrackerIf
Source of version: 18 (current)
Copy to clipboard
See also ((Tracker Field Rules)) ! Plugin Tracker If ''Introduced in ((Tiki7))'' Use this ((wiki plugin)) to display contents based on the results of a tracker field test. !! Parameters {pluginmanager plugin=trackerif} !! Example Usage: {CODE(colors="tiki")}{TRACKERIF(test="(f_xx=1)")} Show this{ELSE}Show that {TRACKERIF}{CODE} Example tests comparing against -+f_xx+- , where -+xx+- is the field id of the tracker field being tested: * -+(f_xx=value)+- - must equal value * -+(f_xx=*value)+- - must end with value * -+(f_xx=value*)+- - must start with value * -+(f_xx=*value*)+- - must contain value * -+(f_xx!=value)+- - must be different from value * -+(f_xx='')+- - must BE empty * -+(f_xx<value)+- - must be lower than value * -+(f_xx<=value)+- - must be lower or equal than value * -+(f_xx>value)+- - must be higher than value * -+(f_xx>=value)+- - must be higher or equal than value * -+(&(f_xx=value)(f_yy=other_value))+- - xx and yy fields must meet their tests * -+(|(f_xx=value)(f_yy=other_value))+- - xx or yy field must meet their test When conditions in the test parameter are met, content before the ELSE part is shown ("Show this", in this example). Otherwise, content after the ELSE part is shown instead ("Show that", in this example). If no ELSE part is defined, nothing is shown. !! Related pages * ((PluginTrackerToggle)) * ((PluginTrackerItemField))