Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Customization
 different header
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

anatur
Starting Member

42 Posts

Posted - September 26 2008 :  15:08:50  Show Profile  Reply with Quote
Hi,

How to get a different homepage header image (logo) on different languages?

Is it a "if or else" solution? If language is english

<img src="images/header/HomePagelogo.gif" width="150" height="33" id="logo" alt="Logo" title="HomePagelogo" />

else

<img src="images/header/HomePagelogo2.gif" width="150" height="33" id="logo" alt="Logo" title="HomePagelogo" />

??

thanks

devshb
Senior Member

United Kingdom
1904 Posts

Posted - September 26 2008 :  15:15:02  Show Profile  Visit devshb's Homepage  Reply with Quote
There are lots of ways to do it, but here's one example...

<% Select Case lcase(Getsess("language")) %>
<% Case "english" %>
English-Specific Contents Section 1 Goes Here
<% Case "spanish" %>
Spanish-Specific Contents Section 1 Goes Here
<% Case "french" %>
French-Specific Contents Section 1 Goes Here
<% Case "german" %>
German-Specific Contents Section 1 Goes Here
<% End Select %>

Simon Barnaby
Developer
[email protected]
www.BigYellowZone.com
Web Design, Online Marketing and VPASP addons
Go to Top of Page

anatur
Starting Member

42 Posts

Posted - September 28 2008 :  13:05:28  Show Profile  Reply with Quote
Thanks a lot Simon,

It works very well !

thanks

Terje
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00