PEAK XOOPS - Re: The general housecleaning for altsys :-) in englishin japanese

Top  >  Comments  >  News comment ()

Re: The general housecleaning for altsys :-)

  • As this forum is only for commentation, you cannot open a new topic
  • Guests cannot post into this forum
Target News
Subject altsysの大掃除 :-)
Summary 日本では年末に大掃除を行う習慣があります。家中のガラス拭きをやった勢いで、altsysのmyblocksadmin機能について大掃除してみました。(半分嘘)実際、myblocksadminは私が積極的にメンテしているコードの中では最悪クラスの汚さで、機能的にも、WYSIWYG対応もspawのみ...
Previous post - Next post | Parent - Children.1 .2 | Posted on 2008/12/15 3:48
stranger  上等兵   Posts: 22
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 !!
Votes:12 Average:8.33
Previous post - Next post | Parent - Children.1 | Posted on 2008/12/16 16:32 | Last modified
tohokuaiki  上等兵   Posts: 25
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 .^^; )
Votes:12 Average:8.33
Previous post - Next post | Parent - Children.1 | Posted on 2008/12/19 6:05 | Last modified
GIJOE  先任軍曹   Posts: 4110
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.
Votes:12 Average:8.33
Previous post - Next post | Parent - Children.1 | Posted on 2008/12/19 14:16
tohokuaiki  上等兵   Posts: 25
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
Votes:15 Average:6.67
Previous post - Next post | Parent - No child | Posted on 2008/12/21 4:12
GIJOE  先任軍曹   Posts: 4110
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.
Votes:12 Average:9.17
Previous post - Next post | Parent - No child | Posted on 2008/12/22 2:38
evoc  一等兵   Posts: 13
Thank you, great job, I love Altsys.
Votes:9 Average:7.78

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!