Flexible Content Management System


Advanced Blocks - Temp. Workaround

Contributed by Anonymous on Jul 15, 2001 - 09:48 PM

Note : * replaces open tag to avoid html processing in this post.

In mainfile.php look for this line (around line 110)

$content = *font class="pn-normal">$content*/font>";

Now replace it with....

if (file_exists($content))


$content = $content;

} else {

$content = "*font class="pn-normal">$content*/font>";


That should od the job... I know there must be a better way to do it, but I am just getting my head around PHP so I'm going with what I know.

Hope this helps someone