XOOPS WAP Mobile
Notícias
Detalhes:
Título: Update alternative module System - AltSys by GiJoe
Autor: admin
Data: 2007-03-14 13:34:39
Conteúdo:
== ALTSYS == alternative system module & library

- Gist

It is the module which integrates the operation regarding the core such as blocksadmin and tplsadmin which it makes as substituting the using [zu] leprosy system module.

Because it makes the shape which it can utilize from Duplicatable V3 module, as the library, it takes a second look largely from structure.

Presently it is ## edition. Bug report is welcomed from something.

In the future, it absorbs also avaman, would like to make my myself maintenance easy.

Tradução para o português é muito bem-vinda image

- Installation (as a module)

- At mainfile.php please set XOOPS_TRUST_PATH
- Please develop inside xoops_trus_path/of the archive, in XOOPS_TRUST_PATH
- Please develop inside html/of the archive, in XOOPS_ROOT_PATH
- Please install as module

In this case, it completes also installation as a library below simultaneously.

- Installation (as a library for Duplicatable V3 module)

- Please verify that XOOPS_TRUST_PATH is set to mainfile.php
- Please develop inside xoops_trus_path/of the archive, in XOOPS_TRUST_PATH

If it is D3 module, recognizing the library automatically with this, management and templet management of block are added to the menu. Concerning generality setting, former mymenu suitable--Those where generality setting completes inside module--It is displaced, (this part calls mypreferences).

- Update

After from 0.2x updates, open side (XOOPS_ROOT_PATH/modules/altsys) turning off once to with 0.30, please superscribe.

0.30 With update after the empty, is completed with superscription just of TRUST_PATH side.

- How to use

Relationship of block management is the same as blocksadmin.
Relationship of templet management is the same as tplsadmin.

Advanced Capability as altsys like below is the thing.

(1) the XOOPS 2.2.x correspondence of myblocksadmin
(2) automatic reflection function of templet file inside module

Originally in tplsadmin, immediately after the common.php reading 込 of mainfile.php,

if (! isset ($xoopsOption ['nocommon'])) {include XOOPS_ROOT_PATH.”/include/common.php "; include XOOPS_ROOT_PATH. “/modules/tplsadmins/include/autoupdate.inc.php”; }

With by the fact that you write, the function which reads the templet which is placed inside the templates/folder inside theme automatically was acquired, but this function is taken over even with altsys.

if (! isset ($xoopsOption ['nocommon'])) {include XOOPS_ROOT_PATH.”/include/common.php "; include XOOPS_TRUST_PATH. “/libs/altsys/include/autoupdate_from_theme.inc.php”; }

Please pay attention to the character string, lastly, “_from_theme” of file name being added.

It is the utilization method this developing theme and the templet together, showing power at the time of generally known sight construction.

Vis-a-vis this, at the time of module development in order to be useful, preparing, (2) it mentions is.

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 "; }

This way by the fact that you describe, the original file of the templet of piCal module just is compiled, immediately is reflected on the database. include before doing, being important to set arrangement to $tplsadmin_autoupdate_dirnamesarray, also it is possible of course to appoint plural modules simultaneously.

Please use in efficient module development.

v0.30 (2007-03-14) * please turn off open side once
- The second look at file constitution (later if only XOOPS_TRUST_PATH superscribes, made good shape)

v0.21 (2006-10-27)
- The tip of linking being strange with the pad to the templet correction (thx makimaki)
- Turkish addition (thx voltan)

v0.20 (2006-10-18)
- It tried to move with Cube 2.1 beta
- The menu being strange correction (thx usagiya) 0.20a

v0.12 (2006-07-18)
- Adding the correspondence to when system module does not exist with Cube 2.1 alpha3

v0.11 (2006-06-21)
- spaw link on myblocksadmin being strange correction (thx nico)
- Idea contest renewal (thx argon)

v0.10 (2006-05-19)
- First release
- myblocksadmin
- mytplsadmin
- mypreferences
- compilehookadmin
- & treatment correction (myblocksadmin)
- XOOPS 2.2 correspondence (myblocksadmin)


<< 1 ..59 (60) 61 ..335 >>