Hello, everybody!
Is smth. like that possible for languages:
[{ if $oView->getClassName() == 'start' }] :p [{/if}]
If language = English - display , if language = Deutsch - display :o
[B]I need to make some language-depending blocks in my template.[/B]
If you use the following code it should workout:
[{assign var="ovconfig" value=$oView->getViewConfig()}]
[{if $ovconfig->getActLanguageId() == 0}]
Test
[{/if}]
The text βTestβ would only appear for Language-Id β0β. You can see the Language-Id in Admin.
[B]stefan, thank u so much![/B]
it works perfectly!
merry x-mas!