Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
9 - 3 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

Re: Xoops 2.4.4 + xLanguage module + PHP 5.3.0
by ghia on 2010/9/22 18:32:05

Read the thread!
Re: Xoops 2.4.4 + xLanguage module + PHP 5.3.0
by hrac on 2010/9/22 16:29:29

Quote:
Great Wishcraft,

xLanguage 3.02 -> 3.1 = bug corrections? better XOOPS 2.4+ integration?

Xoops.org should be updated with an Article and modules repository.


Where can I download xlanguage 3.1?
Re: Xoops 2.4.4 + xLanguage module + PHP 5.3.0
by alekseyevich on 2010/3/16 11:56:49

Hello,

Thanks for the help. I noticed that inserting the line include_once XOOPS_ROOT_PATH. '/ Modules / xLanguage / api.php'; in common.php solved the problem of getting index.php showing all entries of the languages used in the three languages. But the issue of content is loaded only the contents of the language of the User. If any change is made and saved, the other languages are lost.

In checking: $ xLanguage-> getVar ( 'IsActive') == true), in my view, the language will always be active so I will have a $ xlang = false; I may be wrong.

Not had success in editing the api.php.

Using xLanguage in version 3.02 was not necessary to edit the index.php, but still the same problem on the issue of languages, and carries only being used by the User and edited the other loses.

If someone can give more tips will help a lot. Thanks
Re: Xoops 2.4.4 + xLanguage module + PHP 5.3.0
by recupsoft on 2010/3/14 14:53:17

Great Wishcraft,

xLanguage 3.02 -> 3.1 = bug corrections? better XOOPS 2.4+ integration?

Xoops.org should be updated with an Article and modules repository.
Re: Xoops 2.4.4 + xLanguage module + PHP 5.3.0
by wishcraft on 2010/3/10 15:15:06

First download and install following xoops2.4_xlanguage_3.1.zip

No open the readme.txt do step 2 in the globals.php file changing the define to support the variables. Should run, check this example of a showcase of http://www.frilogg.no

http://wishcraft.thruhere.net/iaeste/ (apache)
http://wishcraft.thruhere.net:81/iaeste/ (iis)

mashtop may need to include the following code in it processes..

Detection of xlanguage

le="color: #000000"><?php $module_handler =& xoops_gethandler('module'); $xlanguage = $module_handler->getByDirname('xlanguage'); if ( is_object($xlanguage) && $xlanguage->getVar('isactive') == true ) { $xlang = true; } else { $xlang = false; }


process of content to strip the languages

le="color: #000000"><?php if ( $xlang == true ) { include_once XOOPS_ROOT_PATH.'/modules/xlanguage/include/functions.php'; $content = xlanguage_ml($content); }

Who's Online

192 user(s) are online (153 user(s) are browsing Support Forums)


Members: 0


Guests: 192


more...

Donat-O-Meter

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

Latest GitHub Commits