I was testing it today, it looked great, after ImpressCMS 1.0 was released I couldn't use it very well because of some incompatibility and issues of that core with altsys, now it works perfectly back and looks even greater. Thank you Gijoe !!
Great!!
So, I hope that BlocksAdmin will be available in XCL Block Edit Form using cl:: blocks..
I add below code at
xoops_trust_path/libs/altsys/class/MyBlocksAdmin.class.php:: in line 758.
if (altsys_get_core_type() == ALTSYS_CORE_TYPE_XC21L){
$legacy_block =& Legacy_Utils::createBlockProcedure($block);
$block_data['cell_options'] = $legacy_block->getOptionForm();
} else {
$block_data['cell_options'] = $block->getOptions();
}
it works. (in HD SVN .^^; )
hi tohokuaiki.
Quote:
So, I hope that BlocksAdmin will be available in XCL Block Edit Form using cl:: blocks..
To confirm it, tell me the module using cl::blocks other than Xethna modules, please.
I cannot test Xethna modules no more...
Quote:
I add below code at
xoops_trust_path/libs/altsys/class/MyBlocksAdmin.class.php:: in line 758.
if (altsys_get_core_type() == ALTSYS_CORE_TYPE_XC21L){
$legacy_block =& Legacy_Utils::createBlockProcedure($block);
$block_data['cell_options'] = $legacy_block->getOptionForm();
} else {
$block_data['cell_options'] = $block->getOptions();
}
it works. (in HD SVN .^^; )
OK.
I'll make a class MyBlocksAdminForXCL21 after confirming it.
Quote:
GIJOE wrotes:
To confirm it, tell me the module using cl::blocks other than Xethna modules, please.
I cannot test Xethna modules no more...
lol .... there is no actual results using cl:: blocks....orz...
Merely I can find a sample at Marijuana's XCL Bible P.201.
But this Block Procedure Class is very useful when developping XCL (not X2 :-p).
More developper may use this class. So. I write it now.
http://xoopscube.wiki.sourceforge.net/Legacy_Module_Development_Block_XCL_Style%3Bja
hi tohokuaiki
I've just found the blocks of 'Cache' and 'Analyzer for XCL' use cl::{BlockClass}.
And the code is written in MyBlocksAdminForXCL21.class.php
Thank you!
Quote:
But this Block Procedure Class is very useful when developping XCL (not X2 :-p).
Such a feature has no values for me.
But...
Quote:
This documentation looks a good work!
If you tranlate it into English, it might be a great work.
Thank you, great job, I love Altsys.