» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 76
0 members and 76 guests
No Members online
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
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
Texas electricity - save on electric rates
buy Rimonabant - Help dieters achieve significant weight loss without having to slog in the gym

Register Now! Contact Us

About this Page
This is a discussion on module creation question within the Site design forums, part of the General category; I'm trying to figure out if it is possible to create a module that would bring up a links ...



Go Back   Nukemods Forum » General » Site design

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-20-2003, 02:08 PM
Junior Member
 
Join Date: May 2003
Posts: 37
module creation question
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
  #2 (permalink)  
Old 05-20-2003, 02:15 PM
Junior Member
 
Join Date: Apr 2003
Posts: 7
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
  #3 (permalink)  
Old 05-20-2003, 03:06 PM
Junior Member
 
Join Date: May 2003
Posts: 37
question
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
  #4 (permalink)  
Old 05-20-2003, 03:17 PM
Junior Member
 
Join Date: Apr 2003
Posts: 7
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 01:42 AM
Question and answer module peterz Nuke 7.x - Modules 0 12-10-2004 10:51 AM
Simple module creation? dv8reality Nuke 6.5 to 6.9 - Modules 4 05-28-2003 02:18 PM
my newest creation... ReNeGaDe Showoff 0 01-17-2003 11:06 PM


All times are GMT -5. The time now is 04:25 PM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.

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