lundi 13 mai 2019

How to check if a (string) is equal a (string inside an Array)? Can I check it with an If-statement?

I want to check if the String matches one of the Strings in an Array.

Is it possible with TYPO3 fluid or with vhs?

<f:if condition="{string} ?? {anArrayOfStrings}">
  <f:then>
    <p>Message</p>
  </f:then>
  <f:else>

  </f:else>
</f:if>

Many thanks in advance :)

Aucun commentaire:

Enregistrer un commentaire