VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 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
1898 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