Created
July 22, 2020 10:51
-
-
Save wazum/c069aad38a0be77c9be2c0a941d6dba1 to your computer and use it in GitHub Desktop.
ViewHelper for language menu and news
This file contains 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
<f:section name="LanguageMenu"> | |
<f:if condition="({menu.0.active} && {menu.1.available} && {n:translationAvailable(languageId: 1)}) || ({menu.1.active} && {menu.0.available} && {n:translationAvailable(languageId: 0)})"> | |
<div class="language-switch"> | |
<ul> | |
… |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment