View Single Post
HELP PROBLEM WITH GALLERY BLOCK
Old
  (#23 (permalink))
dds
Junior Member
 
Status: Offline
Posts: 14
Join Date: Feb 2003
HELP PROBLEM WITH GALLERY BLOCK - 03-04-2003, 09:45 PM

l too am having problems with the gallery block l did exaclty what l read here and l still cant get it to work

I pasted this just above this in theme.php
just above this line
Quote:
function themesidebox($title, $content) {
Quote:
if (@file_exists($content)) {
$fp = fopen ($content, "r");
$content = fread($fp, filesize($content));
fclose ($fp);
$content = "?>$content<?";
$content = eval($content);
} else if (eregi("^http", $content)) {
$fp = fopen ($content, "r");
$content = fread($fp, 65535);
fclose ($fp);
}

and then l did the safe to include in the index.php of gallery in modules

Quote:
$safe_to_include =
array(
"add_comment.php",
"add_photos.php",
"album_permissions.php",
"block-random.php",
then l went in to admin then clicked blocks and where it says content l added this

and still no go instead l get the block that shows up displaying the url inside of it what am l doing wrong .... ?
ops: ops:
   
Reply With Quote