This is the 1st block I have tried to make, so not sure where it is going wrong. The problem is, when I activate the block, the data for the block comes out fine, but it is above the block, and the actual block itself opens after the data with the message, there is no content for this block right now.
Code:
<?php
if (eregi("block-DaRkSiDeGUK.php",$_SERVER['PHP_SELF'])) {
Header("Location: index.php");
die();
}
Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
Posted:
Sun Apr 18, 2004 9:09 am
All blocks have to have their output placed in a variable called $content. So, instead of echoing, you need to build the $content variable with the value of your echo statements. Something like this
View next topic View previous topic
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