#
#-----[ REPLACE WITH ]------------------------------------------
#
if ($home == 1) {
blocks(Down);
include("includes/cblocks3.php"); // if you want this on all pages, place it above if ($home == 1) {
} else {
include("includes/cblocks4.php"); // if you want this on all pages, place it above if ($home == 1) {
}
And
Quote:
************************************************************************/
/* This file is for instructional use. */
/* By: NukeScripts Network (webmaster@nukescripts.net) */
/*
Only registered users can see links on this board! Get registered or login to the forums!
#
#-----[ REPLACE WITH ]------------------------------------------
#
if($home == 1) {
message_box();
blocks(Center);
include("includes/cblocks1.php"); // if you want this on all pages, place it above if ($home == 1) {
} else {
include("includes/cblocks2.php"); // if you want this on all pages, place it above if ($home == 1) {
}
It seems the header and footer in 7.9 dont contain the code it says to look for, not in my case anyway.
Joined: Aug 28, 2003 Posts: 6373 Location: Vsetin, Czech Republic
Posted:
Sun Dec 04, 2005 6:39 am
In your header.php you need to edit it something like this
Code:
include("includes/counter.php");
if(defined('HOME_FILE')) {
message_box();
blocks("Center");
include("includes/cblocks1.php"); // if you want this on all pages, place it above if ($defined('HOME_FILE)) {
} else {
include("includes/cblocks2.php"); // if you want this on all pages, place it above if ($defined('HOME_FILE)) {
}
In footer.php you would need to edit it to
Code:
function foot() {
global $prefix, $user_prefix, $db, $index, $user, $cookie, $storynum, $user, $cookie, $Default_Theme, $foot1, $foot2, $foot3, $foot4, $home, $name, $admin, $commercial_license;
if(defined('HOME_FILE')) {
blocks("Down");
include("includes/cblocks3.php"); // if you want this on all pages, place it above if (defined('HOME_FILE')) {
} else {
include("includes/cblocks4.php"); // if you want this on all pages, place it above if (defined('HOME_FILE')) {
}
Thanks, that got the center blocks working at the top of the page. Any ideas how you get them to work at the bottom? Ive edited the footer but cant get it to work.
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