1
mojtabajml
xoops 2.4 problem with EMLH
  • 2009/12/29 13:41

  • mojtabajml

  • Just popping in

  • Posts: 67

  • Since: 2007/7/16


EMLH have problem with 2.4 in loading modules language, content that insert between bbcode work fine([mylang] my language part[/mylang]) but system and another modules not load for second language!

2
Marco
Re: xoops 2.4 problem with EMLH
  • 2009/12/29 15:16

  • Marco

  • Home away from home

  • Posts: 1256

  • Since: 2004/3/15


yep, i've this issue too, confirmed.
some recommend to make use of xlanguage instead, but would be nice to make EMLH work with 2.4x

3
trabis
Re: xoops 2.4 problem with EMLH
  • 2009/12/29 19:47

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


I looked into the hack and find no way it could change system language without further hacking. I went to giJoe site and found this:
http://xoops.peak.ne.jp/md/d3forum/index.php?post_id=11350

It think EMLH is working as it is supposed to work.

4
trabis
Re: xoops 2.4 problem with EMLH
  • 2009/12/29 20:59

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Hi again, I made a simple module that uses this script and preloads so you can change system language also. No need to hack mainfile, just install it and configure easiestml.php as usual.

Here is the link:
http://www.xuups.com/easiestml.zip

2.4 only.


5
mojtabajml
Re: xoops 2.4 problem with EMLH
  • 2009/12/30 11:38

  • mojtabajml

  • Just popping in

  • Posts: 67

  • Since: 2007/7/16


Many thanks!
great work as always.

but a little problem is in modules name in admin area when have two or more language that show complete with bbcode in admin panel home page and dropdown menus!

6
trabis
Re: xoops 2.4 problem with EMLH
  • 2010/1/6 13:35

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Bug on preloads/core.php
Change last lines:
$GLOBALS['xoopsConfig']['language'] = $easiestml_dirs[EASIESTML_DEFAULT_LANG];
        return 
true;

    }

}
?>

7
Marco
Re: xoops 2.4 problem with EMLH
  • 2010/1/6 19:33

  • Marco

  • Home away from home

  • Posts: 1256

  • Since: 2004/3/15


ok, thanks !
after the install of this emlh module, i've got this error message :
Fatal error: Class 'XoopsLocal' not found in /home/site/www/include/functions.php on line 378
strange, any idea?

8
recupsoft
Re: xoops 2.4 problem with EMLH
  • 2010/1/6 19:51

  • recupsoft

  • Friend of XOOPS

  • Posts: 151

  • Since: 2003/10/30


On my side XOOPS 2.43 + EMLH (without mainfile hack ; with $easiestml_dirs correction)... no errors displayed
but
language switching seems to work better on index/homepage/modules side than into the administration panel.
When I change language (?easiestml_lang=xx), into the Blocks Administration (for example) the page displays some parts in French, most of them are in English. I re-change language or I refresh page or log-out/log-in... still same mixing.
Admin section only displays well again if I turn-off EMLH module.

9
elsanto
Re: xoops 2.4 problem with EMLH
  • 2010/1/12 20:01

  • elsanto

  • Just popping in

  • Posts: 18

  • Since: 2009/1/5 1


Quote:
Hi again, I made a simple module that uses this script and preloads so you can change system language also. No need to hack mainfile, just install it and configure easiestml.php as usual. Here is the link: http://www.xuups.com/easiestml.zip 2.4 only.


Mr Trabis, I installed your module and change language user side works perfect, but not in the administration if it is defined in php.ini "register_globals" is off.

I put it in local mode with "register_globals on" the administration changes its language perfectly. Could you review the module as you have time? Thank you very much

10
trabis
Re: xoops 2.4 problem with EMLH
  • 2010/1/12 20:23

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


I noticed the module did not worked on admin side but I thought it was module feature. I'll check it latter. Anyway, xlanguage does the same and more, maybe you shout try it instead.

Login

Who's Online

163 user(s) are online (120 user(s) are browsing Support Forums)


Members: 0


Guests: 163


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Dec 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits