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

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 60 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 - what is the best way to make your own [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
msimonds
Premium
Premium


Joined: Jul 11, 2003
Posts: 240

Location: Dallas, Texas

PostPosted: Sun Aug 10, 2003 7:47 am Reply with quoteBack to top

menu like the modules menu . I need to create a block with my own links in it. Is there such a thing!!



Mike
Find all posts by msimondsView user's profileSend private messageSend e-mailVisit poster's websiteAIM AddressYahoo MessengerMSN Messenger
msimonds
Premium
Premium


Joined: Jul 11, 2003
Posts: 240

Location: Dallas, Texas

PostPosted: Sun Aug 10, 2003 8:18 am Reply with quoteBack to top

I tried this and it works but I cannot remember the command to open this into a new window and how to but the dot next to it. can someone help me, I mean I can put a dot next to it but Not centered

Quote:
<center><br><a href="index.php">Home</a><br>
<a href="http://picks.sportsrant.com/signon.php">Weekly Picks</a></center>
Find all posts by msimondsView user's profileSend private messageSend e-mailVisit poster's websiteAIM AddressYahoo MessengerMSN Messenger
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Sun Aug 10, 2003 8:20 am Reply with quoteBack to top

Create a folder (example:myModule). Then, in myModule create a file called index.php with code like this
Code:
<?php

if (!eregi("modules.php", $_SERVER['PHP_SELF'])) {
    die ("You can't access this file directly...");
}

$module_name = basename(dirname(__FILE__));
$index = 1;
include("header.php");
OpenTable();
echo "<a href=\"http://nukecops.com\">Nuke Cops</a><br />";
echo "<a href=\"http://yahoo.com\">Yahoo</a><br />";
CloseTable();
?>

Then activate the module.

_________________
Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff
Find all posts by RavenView user's profileSend private messageVisit poster's website
msimonds
Premium
Premium


Joined: Jul 11, 2003
Posts: 240

Location: Dallas, Texas

PostPosted: Sun Aug 10, 2003 8:29 am Reply with quoteBack to top

for a menu??. I want this as a block not a module?? Does that make Since??

_________________
Founder
SportsRant.com
Find all posts by msimondsView user's profileSend private messageSend e-mailVisit poster's websiteAIM AddressYahoo MessengerMSN Messenger
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Sun Aug 10, 2003 8:35 am Reply with quoteBack to top

Create a file called block-myModule.php with this content. Place it in the blocks folder with code like this
Code:
<?php

if (eregi("block-myModule.php",$_SERVER[PHP_SELF])) {
    Header("Location: ../index.php");
    die();
}

$content .= "<a href=\"http://nukecops.com\">Nuke Cops</a><br />";
$content .= "<a href=\"http://yahoo.com\">Yahoo</a><br />";
?>

Then activate the block.

_________________
Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff
Find all posts by RavenView user's profileSend private messageVisit poster's website
msimonds
Premium
Premium


Joined: Jul 11, 2003
Posts: 240

Location: Dallas, Texas

PostPosted: Sun Aug 10, 2003 8:39 am Reply with quoteBack to top

thanks sir

_________________
Founder
SportsRant.com
Find all posts by msimondsView user's profileSend private messageSend e-mailVisit poster's websiteAIM AddressYahoo MessengerMSN Messenger
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Sun Aug 10, 2003 8:44 am Reply with quoteBack to top

I see you also asked how to open it in a new window. That would be like this[code]$content .= "<a href=\"http://nukecops.com\" target=\"_newwin\">Nuke Cops</a><br />";

_________________
Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff
Find all posts by RavenView user's profileSend private messageVisit poster's website
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
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.184 Seconds - 168 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::