Hi all,
i tried to use substitutions to show flags (images) in userlist and userprofile instead of text.
Our users can choose one or more languages that they can speak.
Therefore i used multiple fields (checkboxes) in profile edit.
There seems to be a problem with my code, because when i use radio-buttons for users to choose only one language, the flag (image) will be displayed. If i use multiple boxes the flags won´t be displayed.
Code:
<!--[value]-->
[cb:if cb_languages="deutsch"]<img src="images/flaggen/germany.png" alt="deutsch" />[/cb:if]
[cb:if cb_languages="englisch"]<img src="images/flaggen/uk.png" alt="englisch" />[/cb:if]
[cb:if cb_languages="niederländisch"]<img src="images/flaggen/netherlands.png" alt="niederländisch" />[/cb:if]
[cb:if cb_languages="polnisch"]<img src="images/flaggen/poland.png" alt="polnisch" />[/cb:if]
[cb:if cb_languages="spanisch"]<img src="images/flaggen/spain.png" alt="spanisch" />[/cb:if]
[cb:if cb_languages="französisch"]<img src="images/flaggen/france.png" alt="französisch" />[/cb:if]
[cb:if cb_languages="italienisch"]<img src="images/flaggen/itlay.png" alt="italienisch" />[/cb:if]
I don´t understand the operators that i can use. It would be nice if anyone can help me to solve this problem.
BR
Benjamin