Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 94
9 members and 85 guests
claudiamazzonif, denzk9tistw6iwp, getzw5tridofy6n, gratoiduat5kmes, howsztoge2xwtp, rivdsercruise, snahwpbaxj2fckc, watcy5gerp, whasst3xniisabs
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
tattoo fonts
http://www.checkoutmyink.com/category/tattoo-fonts-tattoo

Go Back   Nukemods Forum > General > Site design

Reply
 
LinkBack Thread Tools Display Modes
module creation question
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 37
Join Date: May 2003
module creation question - 05-20-2003, 03:08 PM

I'm trying to figure out if it is possible to create a module that would bring up a links category page, from a link (module) on the left side of the page.

my site - http://wdubradio.com/index.php

if you look under web links you'll see a category for Local Bands, how can I get alink over on the left to open up just that category, I'd like to keep that category seperate from the rest of the web links

there...I think I've rambled enough...any suggestions

thanks in advance

w
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
Junior Member
 
Status: Offline
Posts: 7
Join Date: Apr 2003
05-20-2003, 03:15 PM

You just need to create a new block and put it into you block directory and enable it after. Your block could look like this :

Code:
<?php

if (eregi("block-Local_radio.php", $PHP_SELF)) {
    Header("Location: index.php");
    die();
}

global $prefix, $dbi, $admin;

    $ThemeSel = get_theme();
    if (file_exists("themes/$ThemeSel/module.php")) {
	include("themes/$ThemeSel/module.php");
	if (is_active("$default_module") AND file_exists("modules/$default_module/index.php")) {
	    $def_module = $default_module;
	} else {
	    $def_module = "";
	}
    }


    /* Now we make the Modules block with the correspondent links */


	$content .= "<big>&</big>&<a href=\"modules.php?name=Web_Links&l_op=viewlink&cid=3\">Local Radio</a>
\n";



?>

BlueDry
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
question
Old
  (#3 (permalink))
Junior Member
 
Status: Offline
Posts: 37
Join Date: May 2003
question - 05-20-2003, 04:06 PM

will his create a new block or module, will there be a link to it on the menu to the left, like right above the weblinks link?

sorry if this is a dumb question, still new at this
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#4 (permalink))
Junior Member
 
Status: Offline
Posts: 7
Join Date: Apr 2003
05-20-2003, 04:17 PM

This is to create a new block with the local radio link in it only. If you want to re-order the current left menu order, you need to create a new block with all the link and the order that you want them. The NukeDownload menu is a good example.

Just build a block with the links that you want and replace the current menu block and that should do it!

BlueDry
   
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help with block creation Marc9118 Nuke 7.x - General 2 03-20-2005 02:42 AM
Question and answer module peterz Nuke 7.x - Modules 0 12-10-2004 11:51 AM
Simple module creation? dv8reality Nuke 6.5 to 6.9 - Modules 4 05-28-2003 03:18 PM
my newest creation... ReNeGaDe Showoff 0 01-18-2003 12:06 AM




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.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