Jump to content

put the lang box at the top of page


internetbrother

Recommended Posts

Any body can help me put another instance of lang choosing folder at the top of page too?

 

Open up the footer.tpl in the template folder you are using and you will see this:

 

<div align="right">{if $langchange}{$setlanguage}{/if}</div>

 

Copy that and paste it into the header.tpl where you want it to appear.

 

Si

Link to comment
Share on other sites

Although be cautious. If you do this it will break the order form. You will need to go to the forwardpage.tpl and change

<SCRIPT LANGUAGE="JavaScript">
setTimeout ( "autoForward()" , 5000 );
function autoForward() {
document.forms[0].submit()
}
</SCRIPT>

to this

<SCRIPT LANGUAGE="JavaScript">
setTimeout ( "autoForward()" , 5000 );
function autoForward() {
document.forms[1].submit()
}
</SCRIPT>

 

What happens is if you have something like authorize.net or quantum gateway, it sends the data in a form. What the above code does is select the appropriate form to send the data from. If you do not change this it forwards the wrong data form and will not allow any of your orders to be placed!

 

Just ask if you need anything else!

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.

Guest
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