emlh: not work in xcgal
- You cannot open a new topic into this forum
- Guests cannot post into this forum
msg# 1
it just show the default language( english) and refuse to change:
http://www.jadoogaran.org/modules/xcgal
Votes:12
Average:10.00
msg# 1.1
I don't know xcgal well.
Possibilities:
xcgal interprets a pair of brackets.
Votes:12
Average:8.33
msg# 1.1.1
xoops language change fine.
but content language dosent change as you can see and it always choose the default lang ( english)
anyway i want to change my gallery module so its not important.
Votes:15
Average:10.00
msg# 1.1.1.1
jagi

From: Poland
Posts: 15
identical problem ... I like xcgal (based on Coppermine Photo Gallery) and can't use EMLH.
I try debug code ...
- switching to default language by easiestml.php:
----------------------------------------
// protection against some injection
if( ! in_array( $easiestml_lang , $easiestml_langs ) ) {
$easiestml_lang = $easiestml_langs[0] ;
}
-----------------------------------------
$easiestml_lang in this step looks NULL , but after and before
ob_start( 'easiestml' ) ; - is OK ...
In my opinion this problem with reading cookies (xcgal use cookies, too)
My lines added to test before
protection against some injection:
if (empty($easiestml_lang) || empty($_GET['easiestml_lang']) ){
$easiestml_lang = $_COOKIE['easiestml_lang']; }
- works, but need second reload page ;(
------
All other modules on this some site works fine (news, liaise, content, smartpartner)
Votes:8
Average:10.00