» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 65
0 members and 65 guests
No Members online
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
Web Hosting - web hosting, dedicated servers and web design services
Online Degree - search for 1000+ online degrees, online colleges & online universities.
Tattoo - we are a group of tattoo enthusiasts
Gexa Energy - your absolute best choice in electric service
Texas electricity - save on electric rates
Football Betting - best nfl betting promotions at sportsbook.com.
Oral Chelation - initial cleansing of your veins & arteries
Portatiles - Ofertas en Ordenadores y Portatiles. Increibles Ofertas DELL.

Register Now! Contact Us

About this Page
This is a discussion on Block join @ within the Nuke 7.x - Blocks forums, part of the PHP-Nuke 7.x category; Hi there Duke and others long to no see Thanks for the past help...i have a question i wonder ...


Go Back   Nukemods Forum » PHP-Nuke 7.x » Nuke 7.x - Blocks

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-27-2006, 03:15 PM
Junior Member
 
Join Date: Feb 2006
Posts: 38
Block join @
Hi there Duke and others long to no see
Thanks for the past help...i have a question i wonder you guys can help:
I wanted to join up the left block togather with the right, how or where should i edit? Theme is ICG. Appreciate if this problem can be solve thanks you. :P
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 07-27-2006, 05:03 PM
Junior Member
 
Join Date: May 2005
Posts: 242
Not sure I understand.

You want to join up the left block with the right? I'm not sure what that means.

Can you elaborate?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-28-2006, 11:38 AM
Junior Member
 
Join Date: Feb 2006
Posts: 38
Originally Posted by myrtletrees
Not sure I understand.

You want to join up the left block with the right? I'm not sure what that means.

Can you elaborate?
myrtletrees hello there
ok hmm by default the theme show right and left block...i see some theme that show right and left block by side by side .so another words the content is shown on the left and both right and left block are on the right side
ICG theme show the default block position myrtletrees how or which file to edit change the position to the block? i hope this can explain it clearer /:P
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 07-28-2006, 12:47 PM
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"
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 07-28-2006, 01:11 PM
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 07-28-2006, 03:53 PM
Junior Member
 
Join Date: Feb 2006
Posts: 38
Originally Posted by unno
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

Myrtletrees help the theme din appear right.

There was a error the left block appear below the content. and the content display area was narrow.

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 ($index == 1) {
$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);
}
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 06:49 PM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.

LinkBacks Enabled by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31