Dont know if there was ever an answer for this or not anywhere else, but I was searching for some other problem I had, but I know the answer to this one.
Making these assumptions here for the solution:
a. gallery folder is called "gallery"
b. gallery folder is under your modules gallery in PHPNuke
1. Make a copy of your index.php file inside /modules/gallery and change the name to indexbackup.php
2. Create a new file called index.php
3. Add this code to the new index.php file:
Code: ›
<?php
if (!eregi("modules.php", $PHP_SELF)) {
die ("You can't access this file directly...");
}
require_once("mainfile.php");
$module_name = basename(dirname(__FILE__));
get_lang($module_name);
include("header.php");
$index = 0;
include("indexbackup.php");
include("footer.php");
?>
3. WHen you go to your administration panel, when you put the module as the home page, the rest of your site will work to.
Note: this does change things when you post comments, etc. When you hit the link to post comments, your site will come up in the pop up window.
This worked for me. I use PHP 7.8 and Gallery 1.5.2
Hope this helps!