PEAK XOOPS - Config's imcompatibility of XOOPS 2.2 in englishin japanese

Archive | RSS |
XOOPS
XOOPS : Config's imcompatibility of XOOPS 2.2
Poster : GIJOE on 2005-12-01 12:27:28 (8978 reads)

in englishin japanese

In XOOPS 2.2.x, configs for system has conf_modid=1.
In other versions of XOOPS, configs for system for system has conf_modid=0.

(In my opinion, conf_modid should be 1.)

This imcompatibility sometimes cause fatal errors.

Thus, if you want to get config handler for system:


$criteria = new CriteriaCompo(new Criteria('conf_modid', 0));
$criteria = new CriteriaCompo(new Criteria('conf_modid', 2, '<'));

This is the compatible code for both XOOPS 2.2.x and XOOPS-JP

0 comments
Printer friendly page Send this story to a friend

Comments list

Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!