2 Replies Latest reply on Dec 16, 2008 7:18 AM by Joseph.Davies

    Login Settings for multiple language sites

    Joseph.Davies
      I'm using the standard ADDT Control Panel Login Settings for a site that has multi-country and multi-language areas. However, the global redirect pages (login, redirects) can't be customised to each specific country area as they need a direct page reference. How do I get round this so I can have individual page redirections per country?
      Ta!
        • 1. Re: Login Settings for multiple language sites
          Günter Schenk Level 4
          Hi Matthew, <br /> <br />just an idea: let´s assume you´re storing the country areas in the main "users" table like this: <br /> <br />- en <br />- de <br />- fr <br /> <br />..., you could... <br /> <br />1. add a recordset to the global redirect page like this: <br /> <br />"SELECT country_area FROM users WHERE user_id" equals the Session Variable kt_login_id <br /> <br />2. implement a simple standard PHP redirection which embeds the recordset´s value, like this: <br /> <br /><?php<br />header('Location: http://www.yoursite.com/page_'.$row_queryname['country_area'].'.php' ) ;<br />?> <br /> <br />This should translate to "page_en.php", "page_de.php" etc etc <br /> <br />Cheers, <br />Günter Schenk <br />Adobe Community Expert, Dreamweaver
          • 2. Re: Login Settings for multiple language sites
            Joseph.Davies Level 1
            Great idea, thanks very much Günter! Happy Christmas!