FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » How to specify a theme (language) in the URL?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: How to specify a theme (language) in the URL? [message #39795 is a reply to message #39561] Tue, 04 December 2007 13:03 Go to previous message
danliker is currently offline  danliker   Switzerland
Messages: 57
Registered: January 2004
Location: Schweiz
Karma:
Member
on my site this works now with:

if (!empty($_COOKIE["sprache"])){
$u->theme_name = $_COOKIE["sprache"];
}

if (!empty($_GET['theme'])) {
$u->theme_name = $_GET['theme'];
setcookie("sprache", $_GET['theme'], time()+36000);
}

[Updated on: Tue, 04 December 2007 13:07]

Report message to a moderator

[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How can mods temp. ban someone.
Next Topic: Mark a Thread as Read
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Sep 19 12:34:21 GMT 2024

Total time taken to generate the page: 0.04912 seconds