|
» .::. |
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
|
|
|
|
|
|
|
|
|
|
|
Portatiles - Ofertas en Ordenadores y Portatiles. Increibles Ofertas DELL.
|
|
|
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 ... |
|
 |
 |
|
 |

07-27-2006, 02: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
|

07-27-2006, 04: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?
|

07-28-2006, 10: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
|

07-28-2006, 11:47 AM
|
|
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"
|

07-28-2006, 12: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 
|

07-28-2006, 02: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);
}
|
 |
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|