palobo Posted January 5, 2009 Share Posted January 5, 2009 Hi all, is it possible to select the language/template via a POST request as oposed to a GET in the URL? That way we can keep the url tidy. While I'm on the subject. is it possible to set the language via a cookie? Cheers, P. 0 Quote Link to comment Share on other sites More sharing options...
felweb Posted January 29, 2009 Share Posted January 29, 2009 Anyone here who can help? I am in the same trouble after the upgrade to 3.8.1. I used to use GET variables to set language before going to the order pages but now they changed them to only POST. 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted January 30, 2009 Share Posted January 30, 2009 All of the order pages are a form so you could edit the template files and add something like <input type="hidden" name="language" value="Spanish"> 0 Quote Link to comment Share on other sites More sharing options...
felweb Posted January 30, 2009 Share Posted January 30, 2009 What I mean, I dont know if palobo means that too, is to come from the principal website like ours, and the language to be set just with the GET. The problem is after this upgrade to 3.8.1, the GET seems to not work when coming from external url, so im loogin for other options. And changing all links to work with javascript and send post is quite a work here. Thanks. 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted January 30, 2009 Share Posted January 30, 2009 http://demo.whmcs.com/cart.php?systemtemplate=portal&language=Spanish&a=add&pid=1 Seems to work ok 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.