Mig can be configured to try to fit into PHP-Nuke, PostNuke, PHPWebSite and PHPWebThings sites. (For simplicity I refer to these collectively as "Nuke" sites in this document.)
Where to find information about these packages:
Find your Nuke directory. For example we'll say this is /www/mysite.com/nuke
Create a subdirectory called mig (i.e. /www/mysite.com/nuke/mig). Put all the files into that folder as described in the install document, except for the following changes.
$phpNukeCompatible
to TRUE.
Change $phpNukeRoot
to your Nuke directory (i.e.
/www/mysite.com/nuke) - not the Mig directory, but your Nuke directory.
(If you're using phpWebThings, you want instead to use the options
$phpWebThingsCompatible
and $phpWebThingsRoot
).
That should be it - http://yournukesite.com/mig.php should work.
PostNuke, PHPWebSite and PHPWebThings users can add Mig to their menus like anything else, just giving mig.php as the target to load.
PHP-Nuke users need a little more work to get their module in place due to PHP-Nuke's module system. In your modules directory, create a new module, such as Photo_Gallery and put this in a file called index.php inside the module directory:
<?php $baseHref = ereg_replace('/modules.*$', '', $PHP_SELF); header("Location: http://$SERVER_NAME$baseHref/mig.php"); ?>
Making sure there are no blank lines before the first line or after the
last line! If you don't want to cut and paste or type that in, you can
find this code in the phpnuke_module.php file in the mig-contrib
package also (available in the Extras
section on the web site).