change Language gives 404 if not on mainpage
<IF {SWITCH_STYLESELECT}><form action="{DIRURL}/index.php?action=setstyle" method="post"> <input type="hidden" name="returnto" value="{CURRENTHTMLURL}"> <select name="style">{STYLEOPTIONS}</select> <input type="submit" value="{LANG_GENERAL_GO}" class="button"> </form></IF> <IF {SWITCH_TEMPLATESELECT}><form action="{DIRURL}/index.php?action=settemplatesdir" method="post"> <input type="hidden" name="returnto" value="{CURRENTHTMLURL}"><select name="templatesdir">{TEMPOPTIONS}</select> <input type="submit" value="{LANG_GENERAL_GO}" class="button"></form></IF> <IF {SWITCH_LANGUAGESELECTOR}> <form action="{DIRURL}/index.php?action=setlanguage" method="post"> <input type="hidden" name="returnto" value="{CURRENTHTMLURL}"> <select name="languagegroup">{LANGOPTIONS}</select> <input type="submit" value="{LANG_GENERAL_GO}" class="button"></form> </IF> </td> <td align="right" valign="top"><IF {SWITCH_MEMBERS}><IF {THISMEMBERISGUEST}><div class="login"><form action="{DIRURL}/index.php?action=userlogin&filled=1" method="post"><input type="text" name="username" size="10" value="{LANG_REGISTRATION_USERNAME}" onfocus="this.value=''">
This thread is closed, so you cannot post a reply.
Comments on change Language gives 404
Experienced
Usergroup: Customer
Joined: Jan 06, 2007
Total Topics: 33
Total Comments: 84
In Multilanguage, the user can select one of the offered languages and this works on main site and translates (well it translates parts , but i don't consider this a bug).
If I go in any Category (or sub-), and try the same, it gives a 404 while trying to load this page:
localhost/wsnlinks/Category...dex.php?action=setlanguage
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Changed wrapper to make absolute urls. Multilingual example here:
Experienced
Usergroup: Customer
Joined: Jan 06, 2007
Total Topics: 33
Total Comments: 84
works.