Jump to content

languages and new pages from templates


rycardo74

Recommended Posts

Hi Im set this line on my configuration.php file:

if(!empty($_GET["language"])){ $_POST["language"]=$_GET["language"]; }

 

and create a various flags for a 3 languages with this link

 

<a href="{$filename}.php?language=English"><img src="templates/{$template}/images/icons/en.jpg" alt="" width="20" height="15" border="0"></a>

<a href="{$filename}.php?language=Spanish"><img src="templates/{$template}/images/icons/es.jpg" alt="" width="20" height="15" border="0"></a>

<a href="{$filename}.php?language=Italian"><img src="templates/{$template}/images/icons/it.jpg" alt="" width="20" height="15" border="0"></a>

 

all pages are working fine but the

http://hosting.gnoky.com/'>http://hosting.gnoky.com/

http://hosting.gnoky.com/'>http://hosting.gnoky.com/hosting.php

http://hosting.gnoky.com/'>http://hosting.gnoky.com/easybackup.php

and other maked by hand for me don't taken the language

 

 

I get only the "Default Language" than i set on "General Settings"

on the admin area.

 

you can try here, all is online:

http://hosting.gnoky.com

 

 

 

### DEBUG INFORMATION ###

 

Registered to: Ricardo

License Type: Monthly Lease No Branding

License Expires: 2010-10-29

WHMCS URL: http://hosting.gnoky.com

WHMCS Version: 4.3.1

PHP Version: 5.2.0-8

MySQL Version: 5.0.32-Debian

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