Hello,
I have 2 problems with your great script :
1. When switching between languages only the left frame is updated - the right (main) is remaining blank. It happens only when in the right frame is shown department description or link page is loaded.
2. The encoding is static - charset is set by default to iso-8859-1. Is it possible to have dynamic value - for example in lang.inc.php files?
Thanx in advance
--ering.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Re: 1) This is a little bit complicated ... In table online is a column 'acturl'. This is filled from header.inc.php. So inside link pages you have to do something yourself handle language switch.
For departments you need a description for each language.
Greetings,
Andreas.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I have 2 problems with your great script :
1. When switching between languages only the left frame is updated - the right (main) is remaining blank. It happens only when in the right frame is shown department description or link page is loaded.
2. The encoding is static - charset is set by default to iso-8859-1. Is it possible to have dynamic value - for example in lang.inc.php files?
Thanx in advance
--ering.
RE: 2) in header.inc.php replace line 69 with following:
if($charset=="") $charset="iso-8859-1";
echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=$charset\">\n";
So it is planned for future versions (if someone release such a translation ;-)
Re: 1) This is a little bit complicated ... In table online is a column 'acturl'. This is filled from header.inc.php. So inside link pages you have to do something yourself handle language switch.
For departments you need a description for each language.
Greetings,
Andreas.