Created
January 8, 2015 15:46
-
-
Save Form2Content/2a4c8bddbdcde689e0e4 to your computer and use it in GitHub Desktop.
Add content based on F2C Multi-select (checkboxes) to your Joomla article. Smarty in_array function.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- F2C multi-select field includes 3 checkboxes for 3 options (ANVR/SGR/Calamiteitenfonds) --> | |
<!-- F2C multi-select field name = MEMBERSHIP --> | |
{if in_array('ANVR', $MEMBERSHIP_VALUES)} | |
<img src="images/logo_anvr.png"> | |
{/if} | |
{if in_array('SGR', $MEMBERSHIP_VALUES)} | |
<img src="images/logo_sgr.png"> | |
{/if} | |
{if in_array('Calamiteitenfonds', $MEMBERSHIP_VALUES)} | |
<img src="images/logo_calamiteitenfonds.png"> | |
{/if} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment