PHP Nuke 6.0 and Gallery 1.3.3 or What they didn't tell me!
empower
Joined: 2003-03-18
Posts: 2 |
Posted: Tue, 2003-03-18 09:53 |
First thing I got wrong was putting block-random.php in the blocks directory. Second thing I had to do was edit /modules/gallery/index.php and include "block-random.php" in the $safe_to_include array Then you need to find the function themesidebox in every theme you use and add the following lines at the beginning: What this does is when you creat a html block in PHP Nuke and put a URL in the block it includes the content of that URL instaed of treating the URL as Text. So the last thing to do is to create the block. So create a html block (just leave file set to none and enter the following in the content area. With that done it should all work however I had one more problem which I struck. Hope this helps someone. Most but not all of this info is already in the various messages in this forum but now it is here in one place. |
|