PEAK XOOPS - ALTSYS 0_70 in Xoops 2.3.2 in englishin japanese

ALTSYS 0_70 in Xoops 2.3.2

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum
Previous post - Next post | Parent - Children.1 .2 | Posted on 2008/12/18 7:07
leco1  »°Åù·³Áâ From: Porto Alegre  Posts: 93
I tested the altsys 0.70 in XOOPS 2.3.2 and everything worked properly.

When I click on language, in the footer appear:

------------------------------------------
The overriding system cannot work with this XOOPS core except some D3 modules. If you want to enable it with this core, try to hack like this:

include/common.php
if ( file_exists(XOOPS_ROOT_PATH."/modules/"...."/main.php") ) {
include_once XOOPS_ROOT_PATH."/modules/"...."/main.php";
} else {
if ( file_exists(XOOPS_ROOT_PATH..../english/main.php") ) {
include_once XOOPS_ROOT_PATH..../english/main.php";
}
}
require_once XOOPS_TRUST_PATH."/libs/altsys/class/D3LanguageManager.class.php" ;
$langman =& D3LanguageManager::getInstance() ;
$langman->read( "main.php" , $xoopsModule->getVar("dirname") ) ;
----------------------------------

what that means?

Votes:11 Average:5.45
Previous post - Next post | Parent - No child | Posted on 2008/12/19 5:30
GIJOE  ÀèǤ·³Áâ   Posts: 4110
hi leco.

Quote:

leco1 wrotes:
I tested the altsys 0.70 in XOOPS 2.3.2 and everything worked properly.
Good news.

Quote:
When I click on language, in the footer appear:

------------------------------------------
The overriding system cannot work with this XOOPS core except some D3 modules. If you want to enable it with this core, try to hack like this:
As you read

The feature of "Altsys Language Overriding" needs some core hack under certain conditions.

(D3modules) * (XCL 2.1)      OK
(D3modules) * (ImpressCMS)   OK
(D3modules) * (XOOPS2.3)     OK
(D3modules) * (XOOPS2.0)     OK

(ConventionalModules) * (XCL 2.1)      OK
(ConventionalModules) * (ImpressCMS)   HackIt
(ConventionalModules) * (XOOPS2.3)     HackIt
(ConventionalModules) * (XOOPS2.0)     HackIt
Votes:12 Average:8.33
Previous post - Next post | Parent - Children.1 | Posted on 2008/12/22 23:44 | Last modified
leco1  »°Åù·³Áâ From: Porto Alegre  Posts: 93
Where and how do I installing the hack?

I use xoops 2.3.x.

Thanks
Votes:11 Average:6.36
Previous post - Next post | Parent - No child | Posted on 2008/12/28 4:01 | Last modified
GIJOE  ÀèǤ·³Áâ   Posts: 4110
I don't use XOOPS 2.3.x
And I won't use XOOPS 2.3.x forevermore.

But, it must be easy for PHP skilled programmers to hack.
Votes:9 Average:7.78

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!