Modules

'WRAPS' html page wrapping for xoops

carnuke  07 Sep 2006 9:42 AM 8699 Reads   5 Comment(s) 
From GIJOE's Readme file:

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

HOW TO INSTALL THE 1ST ONE:

(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.

define('XOOPS_TRUST_PATH','/home/yourhome/xoops_trust_path'); // eg.


(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


HOW TO INSTALL ANOTHER MODULE INSTANCE:

(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!



HOW TO UPDATE ALL MODULE INSTANCES:

(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!



FAQ:

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?



CHANGES:

1.05 (2006/09/05)
- modified compatibility with Cube 2.1 alpha4-c
- modified global search can find recursively
- added preload/ for future features

1.04 (2006/08/09)
- modified compatibility with Cube 2.1 alpha4

1.03 (2006/07/18)
- modified compatibility with Cube 2.1 alpha3

1.02 (2006/06/22)
- modified handling big files
- modified handling ob filter

1.01 (2006/06/18)
- applied to XOOPS 2.2.x
- fixed typo in admin_menu (thx kenchi)

1.00 (2006/05/16)
- 1st release
- page wrapping
- global search (for suin's search module) .html, .htm, .txt
- rewrite mode
- mymenu (altsys friendly)
- XOOPS_TRUST_PATH
- Duplicatable V3
- dynamic module icon
Rating 0/5
Rating: 0/5 (0 votes)
Voting is disabled!


Login

Recent Comments

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits

Categories