Thread: Block join @
View Single Post
  #5 (permalink)  
Old 07-28-2006, 01:11 PM
unno unno is offline
Junior Member
 
Join Date: Feb 2006
Posts: 38
Originally Posted by myrtletrees
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"
Ah !! thanks will work on it. right now it s bed time LOL
Many thanks myrtletrees mahz i own you a cup of coffee
Reply With Quote