PEAK XOOPS - An environment to edit templates for module developpers in englishin japanese

Archive | RSS |
XOOPS
XOOPS : An environment to edit templates for module developpers
Poster : GIJOE on 2006-05-29 05:13:28 (9014 reads)

in englishin japanese
I wrote yesterday "it is non-sense for users to udpate the module for customizing its templates."

I also write today "it is non-sense for module developpers to udpate the module for comfirming its templates."

First, install altsys.

Then, insert 2 lines into mainfile.php like this:


	if (!isset($xoopsOption['nocommon'])) {
		include XOOPS_ROOT_PATH."/include/common.php";
		$tplsadmin_autoupdate_dirnames = array( 'piCal' ) ;
		include XOOPS_TRUST_PATH."/libs/altsys/include/autoupdate_from_module.inc.php" ;
	}

You can set any module's dirname as array.
Since new templates in dirnames are inserted as DB templates automatically...

"Edit templates -> Preview by just reload"
This is the right way.


Related articles
Printer friendly page Send this story to a friend

Comments list

tomotomo  Posted on 2008/3/13 15:02
すごく便利そうなんですが、なぜか私のローカル環境だと動かないですね。。。
XAMPP2.5 + eclipse3.3という環境なんですが、ほかの方はちゃんと動いているんでしょうか
Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!