Posted: Fri Sep 02, 2005 9:24 pm Post subject: Gallery2 PHP-Nuke Integration on Add-On Domain
Hello,
I have installed the G2 package itself in my modules directory (PHP-Nuke 7.6 + patch 3.1 + Sentinel 2.4.0a) and installed. It seemed to work just fine, but of course it wasnt part of Nuke.
I downloaded the Aug 30 version of the integration package and installed it too. It does not seem to work too well after this. The admin stuff comes up just fine and appears to work. When I then go to the G2, a very sparse page comes up in the default G2 theme. Shouldnt it pick up my nuke theme? Also, I cannot click on many links (such as site admin) without getting 404 page not found errors. Some links do work. I cannot login as admin and am always guest even though I exported my nuke users.
I am not convinced that I have setup my gallery2.cfg file correctly. The nuke installation into which i installed G2 is actually an Add-On domain. Here is my gallery2.cg:
The url to the site is http://158th.com but as you can see the actual path has the additional 158th directory off of the root web directory. I am wondering about admin config options 2 and 3 as related to addon domains. I tried adding in the /158th/ in option 3 and when running gallery2 it did pick up my nuke theme, but images and links would not work.
However, still no nuke theme integration. Is that not possible with G2? The default matrix is impossible to read with its white text on white background. Not very user friend to have to highlight the text to read. I doubt thats really how the theme is constructed, but how it shows up on my site.
Maybe there are still some fixes for me to make...
Posted: Sat Sep 03, 2005 9:20 am Post subject: Re: Gallery2 PHP-Nuke Integration on Add-On Domain
Thanks Dari! Commenting out that CSS for loop did indeed apply my nuke theme to the gallery. Of course, you also lose the "pretty" formatting that the gallery theme had. You now end up with a simple table layout structure, but I think its a fair trade. I can now read the stuff instead of white on white
Some day maybe I will play withe gallery theme itself.
Posted: Sun Sep 04, 2005 4:58 pm Post subject: Re: Gallery2 PHP-Nuke Integration on Add-On Domain
Okay, I seem to have Gallery2 working now with the above changes except its not the prettiest looking thing since I had to disable any of the gallery2 themes since they all show up white text on white background. Commenting out the CSS stuff in index.php makes the gallery2 show up in my nuke theme but in pretty simple table form.
However, the G2 image nuke blocks (random, daily, last, etc) dont always work. Whether or not they work is dependant upon where i am (ie which module) in my nuke structure.
If I am in the gallery2 module (ie looking at albums or images), the block shows correctly with address of http://158th.com/modules.php...
Obviously, the index.phpmodules.php is incorrect, and must indicate something wrong in one of my relative paths? However, if I change the relative paths, the Gallery2 stuff itself (admin, edit album, etc) does not work.
I still think this might be related to my installation being on an add-on domain. The absolute path is /home2/*****/public_html/158th/modules/gallery2
Posted: Wed Sep 07, 2005 1:47 pm Post subject: Re: Gallery2 PHP-Nuke Integration on Add-On Domain
Dari, thanks for the response...
The problem with the image block not displaying because of a "different" link address to the image based on where I am in the nuke strucuture (root, modules, etc) is an issue in the php nuke block, not the G2 sidebar. Incidentally, I get the same results with the G2 sidebar on or off inside of gallery module.
Still think its something to do with the paths in the config file for add on domains, but I could be all wet as I am far from a gallery expert
Currently have to turn off the php nuke blocks in the integration package because of the image link locations changing, but would like to be able to turn them back on.
You can see that the index.html and modules.php? are incorrectly smashed together. It shouldnt even have the index.html in there as the rest (the ...) is correct.
If I am in the gallery viewing images, the image block (php nuke block) correctly loads the image from address:
So it seems to be using some relative address incorrectly and I have been thinking its related to my domain actually being an addon domain.
The Gallery module itself works just fine with no issues.
Currently, the php nuke block is deactivated since its not working, but I can put it back up for you to see if it would help. Incidentally, finally modded the G2 matrix theme to better match my site theme, so not nearly as ugly now
Posted: Tue Sep 13, 2005 9:22 pm Post subject: Re: Gallery2 PHP-Nuke Integration on Add-On Domain
I have the Exacte same problem. If i go directly to my Web site, it working, When i click on any link after, it stop working for the same reason. It add a index.html before the module=....
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