Loading...
 
Skip to main content

Features / Usability


Nesting Plugin Tracker Toogle

Does anyone know if it's possible to nest tracker toogle plugins? What I'm trying to do is if the tracker field equals A then B, if it equals C then D. The plugin does A then B, but I can't figure out if there is a way to do the second part.

Thanks,
Greg

If you're using a Pretty Tracker templateQuestion, you can easily check the value of field in an IF...THEN statement:

Copy to clipboard
{if $f_7 eq 'Yes'} The value of field 7 is YES. {ELSE} The value of field 7 is NO. {/if}


There's also theTRACKER IF pluginQuestion that you can use to test the value of a field.

HTH,

- RickQuestion  |  My Tiki Blog |  My Tiki UserPage

Why be a dummy? Get smarty! TikiForSmarties.comQuestion
Tiki for SmartiesQuestion, your source for the best (and only) Tiki books, guides, and tutorials.

Thanks for the reply, but I'm still having trouble getting this to work.  The code you provided above works on the page load, but if I have a drop down menu that can be changed by the user, the result does not update.

I think it may be possible to get o work with some Java, but I'm not that strong with Java so I was looking for an alternative solution.    The tracker toggle option does exactly what I need, but I need to do a couple checks instead of just the one I can do with tracker toggle.