[mlimg]
[xlang:en]
====  WRAPS  a module for wrapping  ===

A little module based on Duplicatable V3 (D3).
needs XOOPS_TRUST_PATH.



[b]HOW TO INSTALL THE 1ST ONE:[/b]

(1) copy html/modules/wraps into your moduels/.

(2) name the directory name as you like. (eg. mycompany)

(3) make a new folder out of DocumentRoot  (eg. /home/yourhome/xoops_trust_path/)

(4) insert a line into just after defining XOOPS_URL in mainfile.php.
[code]
        define('XOOPS_TRUST_PATH','/home/yourhome/xoops_trust_path'); // eg.
[/code]
(The step of (3)/(4) is the same as fastestcache hack)

(5) make a directory 'modules' under the directory. (eg. /home/yourhome/xoops_trust_path/modules/)

(6) make a directory 'wraps' under the directory. (eg. /home/yourhome/xoops_trust_path/wraps/)

(7) copy xoops_trust_path/modules/wraps in this archive into XOOPS_TRUST_PATH/modules/ (eg. /home/yourhome/xoops_trust_path/modules)

(8) make a directory which has same name as (2) under XOOPS_TRUST_PATH/wraps/ (eg. /home/yourhome/xoops_trust_path/wraps/mycompany)

(9) copy any htmls,images into the directory for wrapping (eg. /home/yourhome/xoops_trust_path/wraps/mycompany/index.html)

(10) install it in XOOPS modulesadmin

(option) If you can use mod_rewrite, you will be happy by renaming .htaccess.rewrite into .htaccess :-)


[b]HOW TO INSTALL ANOTHER MODULE INSTANCE:[/b]

(1) copy html/modules/wraps into your moduels/.

(2) name the directory name as you like. (eg. mypolicy)

(3) make a directory which has same name as (2) under XOOPS_TRUST_PATH/wraps/ (eg. XOOPS_TRUST_PATH/wraps/mypolicy)

(4) copy any htmls,images into the directory for wrapping (eg. XOOPS_TRUST_PATH/wraps/mypolicy/index.html)

(5) install it in XOOPS modulesadmin

That's all!



[b]HOW TO UPDATE ALL MODULE INSTANCES:[/b]

(1) copy/overwrite xoops_trust_path/modules/wraps in the new archive into XOOPS_TRUST_PATH/modules/ (eg. /home/yourhome/xoops_trust_path/modules/wraps)

(2) update the module in XOOPS modules admin if necessary.

That's all!



[b]FAQ:[/b]

Q) It only shows blank page when I click this module from main menu block.
A) Check it:
- Are they same named directory?
--- XOOPS_ROOT_PATH/modules/(dir) and XOOPS_TRUST_PATH/wraps/(dir)
- Does index.html exist in the directory for wrapping?



[/xlang:en]
[xlang:ja]
====  ڡåץ⥸塼 WRAPS  ===

Duplicatable V3 (D3) ѤѤڡåѥ⥸塼Ǥ
XOOPS_TRUST_PATH ˤĤƤɬפǤ



[b]ǽΣĤ򥤥󥹥ȡ뤹ˡ:[/b]

(1) ֤Ÿơhtml/modules/wraps  moduels β˥ԡ

(2) ǥ쥯ȥ̾ϹˤĤƤ( mycompany)

(3) DocumentRootγѤΥǥ쥯ȥޤ  ( /home/yourhome/xoops_trust_path)

(4) Υǥ쥯ȥΥեѥmainfile.php˵ҤޤXOOPS_URLԤľ夬ɤǤ礦
[code]
        define('XOOPS_TRUST_PATH','/home/yourhome/xoops_trust_path');
[/code]
ʤΥƥå(3)(4)ϡ®åϥåƱǤ

(5) XOOPS_TRUST_PATHβmodulesǥ쥯ȥޤ ( /home/yourhome/xoops_trust_path/modules)

(6) XOOPS_TRUST_PATHβwrapsǥ쥯ȥޤ ( /home/yourhome/xoops_trust_path/wraps)

(7) ֤xoops_trust_path/modules/wrapsXOOPS_TRUST_PATH/modules/˥ԡޤ ( /home/yourhome/xoops_trust_path/modules/wraps)

(8) XOOPS_TRUST_PATH/wraps/ β(2)Ʊ̾Υǥ쥯ȥޤ ( /home/yourhome/xoops_trust_path/wraps/mycompany)

(9) Υǥ쥯ȥ˥åѥե򹥤ͤùǤ ( /home/yourhome/xoops_trust_path/wraps/mycompany/index.html)

(10) XOOPS⥸塼Ȥƥ󥹥ȡ뤷Ƥ

(ޤ) ⥸塼ǥ쥯ȥ .htaccess.rewrite .htaccess˥͡हȹˤʤ뤫⤷ޤ


[b]⤦ĥ⥸塼򥤥󥹥ȡ뤹ˡ:[/b]

(1) ֤ html/modules/wraps  moduels β˥ԡ

(2) ǥ쥯ȥ̾򹥤ˤĤƤ ( mypolicy)

(3) XOOPS_TRUST_PATH/wraps/ β(2)Ʊ̾Υǥ쥯ȥޤ ( /home/yourhome/xoops_trust_path/wraps/mypolicy)

(4) Υǥ쥯ȥ˥åѥե򹥤ͤùǤ ( /home/yourhome/xoops_trust_path/wraps/mypolicy/index.html)

(5) install it in XOOPS modulesadmin

ʾǤ



[b]⥸塼С󥢥åפˡ:[/b]

(1) ֤xoops_trust_path/modules/wrapsXOOPS_TRUST_PATH/modules/˾񤭥ԡޤ ( /home/yourhome/xoops_trust_path/modules/wraps)

(2) ɬפ˱ơ⥸塼륢åץǡȤ򤫤ޤ

äǤ٤ƤΥ⥸塼뤬åץǡȤ줿Ȥˤʤޤ



[b]FAQ:[/b]

Q) ᥤ˥塼饯åƤ⡢ڡФ
A) ʲåƤ
- ⥸塼ǥ쥯ȥ̾ȥåѥǥ쥯ȥ̾ƱˤʤäƤޤ
--- XOOPS_ROOT_PATH/modules/(dir)  XOOPS_TRUST_PATH/wraps/(dir) Ǥ
- åѥǥ쥯ȥindex.htmlϤ¸ߤƤޤ ¸ߤƤʤϡΥե̾Ū˻ꤹɬפޤ


[/xlang:ja]
