Clan Adverts

Custom PHPNuke Scripts

 

Remove The Center Up Blocks From NSN News

Description: This quick tutorial will show you how to remove the top center up blocks from the NSN News module
Version: 1.0
Added on: 29 January 2008
Author: Bob Marion
Difficulty Level: Very Easy
Views: 523
Detailed Profile

If you have ever used the NSN News module and hit the link READ MORE or COMMENT you will notice that the top center blocks are left in place, it can get very annoying if you have 4-5 center up blocks before your news article.. Here is how to just get rid of the blocks.

This was tested on NSN News 200rc2 70-79 it may work on other version !

Open:
modules/News/index.php

Find:

Code:
if($module_name == $main_module) {
$module_link = "index.php?";
$form_link = "index.php";
} else {
$module_link = "modules.php?name=$module_name&";
$form_link = "modules.php?name=$module_name";
}


Replace with:

Code:
//if($module_name == $main_module) {
//  $module_link = "index.php?";
//  $form_link = "index.php";
//} else {
$module_link = "modules.php?name=$module_name&";
$form_link = "modules.php?name=$module_name";
//}


Save and upload