Condition Stack Update

This stack is for experienced weavers who are looking for a simple way to add (PHP-) conditions to their sites.

  • The Simple IF-stack displays the content only if the condition is met, e.g. returns true.
  • The 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.
Please note: This stack requires PHP hosting and PHP knowledge.

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.

Demo (see also Droplet 2)