Thread: Block join @
View Single Post
  #4 (permalink)  
Old 07-28-2006, 12:47 PM
myrtletrees myrtletrees is offline
Junior Member
 
Join Date: May 2005
Posts: 242
OK I think I understand.

Instead of having right blocks on the right, stories in the middle, then left blocks on left, You want

Stories on left, Right blocks to right then left blocks to right center.

IN your theme.php

Move this bit of code

Code:
    blocks(left);
    $tmpl_file = "themes/iCGstation/left_center.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    eval($thefile);
    print $r_file;
}
to right under these two lines

Code:
function themefooter() {
    global $index, $foot1, $foot2, $foot3, $foot4, $copyright, $totaltime, $footer_message;
so that it looks like this under the function themefooter

Code:
function themefooter() {
    global $index, $foot1, $foot2, $foot3, $foot4, $copyright, $totaltime, $footer_message;
    blocks(left);
    $tmpl_file = "themes/iCGstation/left_center.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    eval($thefile);
    print $r_file;

    if (defined('INDEX_FILE')) {
	$tmpl_file = "themes/iCGstation/center_right.html";
	$thefile = implode("", file($tmpl_file));
	$thefile = addslashes($thefile);
	$thefile = "\$r_file=\"".$thefile."\";";
	eval($thefile);
	print $r_file;
	blocks(right);
    }
then open your left_center.html file and change the width="100%" to width="170"
Reply With Quote