Jump to content

v5 if $language VARIABLE


Recommended Posts

Hi, in version 4 i used this code to show images based on user language


{if $language eq "English"}

<li><span class="a-securitate_en" title="">Guaranteed Security</span></li>

{elseif $language eq "Romanian"}

<li><span class="a-securitate" title="">Securitate Garantata</span></li>



.a-securitate { width:186px; height:41px; display:block; text-indent:-9999px; background:url(../images/a-securitate_garantata_footer.png) no-repeat 0 0; }

.a-securitate_en { width:186px; height:41px; display:block; text-indent:-9999px; background:url(../images/a-securitate_garantata_footer_en.png) no-repeat 0 0; }


but in version 5 is not working


is there anything i need to know that has been changed in v5 ?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated