This stack is for experienced weavers who are looking for a simple way to add (PHP-) conditions to their sites.
Simple IF
-stack displays the content only if the condition is met, e.g. returns true.IF
stack with its ELSEIF/ELSE
substacks allows rather complex decision making. Please note that you always need a final "else" stack, otherwise the page breaks but you can leave the drop zone empty.
The included demo project shows the usage of the Simple IF
and IF/ELSEIF/ELSE
stacks. You can also checkout the Droplet 2 demo, which makes use of the IF/ELSE
stacks to display images or show the uploader.