View Single Post
  #113  
Old 09-23-2010, 10:00 AM
 
fioppy fioppy is offline
 

Member
  
Join Date: Aug 2010
Posts: 13
 

Default Re: common if/then modifications I make to x-cart...

I'm applying IF statement condition on language variable I have added to two language on my website."

I had set store_language as variable and it's value in english website as EN and in arabic as AR.

I have now the below condition should be applied true when the website is in English but it never comes true, it switches always to ELSE condition.

Please this is me only ask to be solved, help in this

HTML Code:
{if $lng.store_language eq "EN"} <div style="text-align:center;width:250px;"><a href="javascript:void(window.open('http://manalifashion.com/Livezilla/chat.php','','width=590,height=580,left=0,top=0,resizable=yes,menubar=no,location=no,status=yes,scrollbars=yes'))"><img src="http://manalifashion.com/Livezilla/image.php?id=01" width="250" height="100" border="0" alt="LiveZilla Live Help"></a><noscript><div><a href="http://manalifashion.com/Livezilla/chat.php" target="_blank">Start Live Help Chat</a></div></noscript><div style="margin-top:2px;"><a href="http://www.livezilla.net" target="_blank" title="LiveZilla Live Help" style="font-size:10px;color:#bfbfbf;text-decoration:none;font-family:verdana,arial,tahoma;">LiveZilla Live Help</a></div></div><!-- http://www.LiveZilla.net Chat Button Link Code --><!-- http://www.LiveZilla.net Tracking Code --><div id="livezilla_tracking" style="display:none"></div><script type="text/javascript"> <!-- DONT PLACE IN HEAD ELEMENT --> var script = document.createElement("script");script.type="text/javascript";var src = "http://manalifashion.com/Livezilla/server.php?request=track&output=jcrpt&nse="+Math.random();setTimeout("script.src=src;document.getElementById('livezilla_tracking').appendChild(script)",1);</script><!-- http://www.LiveZilla.net Tracking Code --> {else} {$lng.store_language} {/if}
__________________
X-Cart 4.4
Reply With Quote