Cablespider
Newbie   Posts: 1 Registered: 6/6/2004 Status: Offline
|
posted on 7/12/2004 at 02:14 AM |
Is there a way to not show the left blocks also....so just the wrapped page
appears in the center? |
| |
| |
armandoeng
Newbie   Posts: 2 Registered: 7/25/2004 Status: Offline
|
posted on 7/25/2004 at 11:36 PM |
Dude, i make it, and shawn, look these things, and fix any thing i missed
up.
In nukewrap.cfg , put this var 'center', just like this .
'height' => "1400",
'width' => "100%",
'center' => true
);
Go to your header.php
replaces:
function head() => function head($center1)
themeheader()=>themeheader($center1)
head()=>head($center)
Go to your theme.php
in function themeheader() => function themeheader($center)
Search this(inside function themeheader): blocks(left); (i thinks is get
close the public message)
and replace:
if ($center == 0) {
blocks(left);}
Go to your index.php of nukewrap and put before include("header.php");
include(dirname(__FILE__)."/nukewrap.cfg");
$center = $general['center'];
if($left == 1) $center=true;
delete this line, its below of include("header.php");
include(dirname(__FILE__)."/nukewrap.cfg"); (delete)
So, u get your center. hehe, easy, no? hehe Dont forget to backup the
files
Auto size dont work, with me Shawn. Autosize, just put the height to
zero(0). And in center mode, the page become a litle litle litle page.
Hope to help other!!(Feliz por ajudar alguem)
[Edited on 26/7/2004 by armandoeng]
[Edited on 26/7/2004 by armandoeng] |
| |
armandoeng
Newbie   Posts: 2 Registered: 7/25/2004 Status: Offline
|
posted on 7/25/2004 at 11:50 PM |
Remebering
PHPNUKE 7.4 PHP 4.3.7 MYSQL 4.0.X windos XP running APACHE 2.0.50
[Edited on 26/7/2004 by armandoeng] |
| |
Shawn
Administrator   Posts: 4570 Registered: 10/7/2002 Status: Online
|
posted on 7/26/2004 at 09:12 AM |
Very nice. But remember, if you use AutoTheme, you can control all blcoks
from the admin and exactly what pages they display on.
-Shawn |
| |