We've retired the forum in favor of GitHub Discussions.

New conversations can be started on GitHub. Existing conversations will remain for a while longer.

Head over to GitHub →

conditional if inside template

Ash October 26, 2020 by Ash

It works as a singular but not when I try to check two globals

works: {{ if settings:android_store_link }} Link {{ /if }}

Does not work: {{ if settings:android_store_link || settings:ios_store_link }} Link {{ /if }}

Not sure what's the issue is.

This is the error I get: Statamic\Modifiers\ModifierNotFoundException Modifier [] not found

>>>>>>> Unanswered <<<<<<<
2 Replies