You are missing our premiere tool bar navigation system! Register and use it for FREE!

Author: spottedhogPostPosted: Wed Aug 13, 2008 10:30 am    Post subject:

mangeewolf... the code you listed will display blocks(right);

You will want to do the opposite...

In the modules/Video/index.php file, find near the top of the file either:

index = 1;
and change to:
//index = 1;


define('INDEX_FILE', true);
and change to:
//define('INDEX_FILE', true);

Author: wHiTeHaTPostPosted: Wed Aug 13, 2008 11:35 am    Post subject:

you already did a call into the theme , if skip the 2 posts before me... and goto your theme function where you added your code.... did you checked you also have $name added to the global line... for example:

•  Home •  Downloads •  Gallery •  Your Account •  Forums • 

Author: mangeewolfPostPosted: Wed Aug 13, 2008 10:02 am    Post subject:

If you have phpnuke 8.0 there is a readme.txt file in the html folder. It talks about this.

Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
· Home
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 240 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Turn off block right Turn off block right

Nuke Cops -> Themes

Author: boyz008 PostPosted: Wed Aug 13, 2008 2:38 am    Post subject: Turn off block right

Hello all,

I got a question concerning on turning off block (right) I know how to turn off the block (left) here is the code I put it in theme.php to turn off the block (left) :

if ($name=='Video') {
    /* Don't display it. */
   else {

The block right of module name "Video" is still opened so I want to turn it off . Could anyone help me ?

Important notes relating to Nuke Patched 3.1 and above:
1- If you want right side blocks to appear in third party add-ons change:
In Modules:
index = 1;
define('INDEX_FILE', true);

In Themes:
if ($index == 1) {
if (defined('INDEX_FILE')) {
global $index,$name, $foot1, $foot2, $foot3, $foot4;

ofcourse you can take also the advice of the other 2 posters...

Grtzzz wHiTeHaT

PS: blocks(right); isprobaly in your footer function.

Author: spottedhog PostPosted: Wed Aug 13, 2008 1:00 pm    Post subject:

If I understand your initial posting, you wish to turn off the Right Blocks for the Video module.

Since Right Blocks are displaying, there is no reason to do anything to the theme.php file or the footer.php file.

To turn off the right blocks, you must comment out or delete whichever of the 2 lines are in the modules/Video/index.php file, like I described in my first posting.

Author: boyz008 PostPosted: Thu Aug 14, 2008 1:24 am    Post subject:

Hi Spottedhog,

Yes it is done now. Thanks for ur help Smile

Thanks you guys for showing me some tips Wink

Nuke Cops -> Themes

All times are GMT - 8 Hours

Page 1 of 1

Powered by phpBB © 2001,2002 phpBB Group
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.174 Seconds - 168 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
added by Evaders - DO NOT REMOVE
:: FI Theme :: PHP-Nuke theme by coldblooded ( ::