Support Forums | Demo Gallery [1.x] [2.x] | Downloads | News | Site Map ]
Nuked Gallery
  Create a FREE account or Login   As a guest, you don't have access to our FULL navigation system.
 Forum FAQForum FAQ   StatisticsStatistics   SearchSearch   UsergroupsUsergroups   FavoritesFavorites  

Gallery as center block in Phpnuke?

 
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Gallery 1 Integration View previous topicPrinter friendly versionView next topic
Author Message
Kiastral

Beginner
Beginner


Joined: May 27, 2005
Posts: 1

PostPosted: Sat May 28, 2005 5:05 pm    Post subject: Gallery as center block in Phpnuke? Reply with quote

Hi,
I've searched and cant find a complete answer. I am wanting to make Gallery visible as the center block on my PHPnuke site, and keep the left and right blocks, ie, where news and such goes. Can someone tell me how to do this? If I choose 'put in home' in modules, it simply replaces everything with gallery, which isnt what I desire. I'm running the latest gallery and a fairly new 7.xx of phpnuke, not certain of exact build as it was installed with Fantastico.
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: Gallery as center block in Phpnuke?  

Back to top
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6284
Location: Washington Township, NJ, USA

PostPosted: Tue May 31, 2005 9:39 am    Post subject: Re: Gallery as center block in Phpnuke? Reply with quote

honestly, i don't think anyone has found a universal solution to this problem, as there are too many combinations of gallery and phpnuke versions available. you might want to start with the sticky post at the top of this forum and work from there.
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
welchcam

Beginner
Beginner


Joined: Apr 01, 2006
Posts: 2

PostPosted: Fri Apr 21, 2006 12:57 am    Post subject: Re: Gallery as center block in Phpnuke? Reply with quote

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!
Back to top
Offline View user's profile Send private message
welchcam

Beginner
Beginner


Joined: Apr 01, 2006
Posts: 2

PostPosted: Fri Apr 21, 2006 1:10 am    Post subject: Re: Gallery as center block in Phpnuke? Reply with quote

Sorry... I just found that there is a Sticky for this. I am sure the Sticky answer is much better than what I have put here. You should probably use that one instead!
Back to top
Offline View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Gallery 1 Integration View previous topicPrinter friendly versionView next topic

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours

Powered by phpBB © phpBB Group



Sponsors: Web HostingDedicated ServersDomain NamesDomain Name RegistrationDedicated Web HostingSEO Search Engine OptimisationSEOWeb Design New YorkSEO Web DesignWeb hosting AustraliaCheap Web Design

6th year online! 2003-2009
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia