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, 53 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 - Module Development ... Need more information. [ ]
 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
Dixen
Nuke Soldier
Nuke Soldier


Joined: May 07, 2003
Posts: 24


PostPosted: Tue May 13, 2003 9:00 am Reply with quoteBack to top

Greetings,

I didn't have any luck in the "Post Install Help" Forum, so I thought I'd try here.

I have just started testing nuke for use on my site but need some additional help with Module Development.

At first glance I would assume that a module is as simple as this:

Code:

<?

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

if(!isset($mainfile)){
       include("mainfile.php");
}

include("header.php");

***INSERT MY CONTENT HERE***

include("footer.php");

?>


Now, if it really is that simple then I am further ahead than I think I am. What I need to know is if it is exactly this easy to create modules and if all I have to do is creat an "index.php" in /modules/mymodulename and call it a day?

Okay, now in addition to that, what if I have multiple pages that I want to display as part of a single module? Can I create a "Menu" Block and then link to the seperate pages in the module? If so, what would the link look like? http://mysite.com/modules.php?name=my_module ... how does it end to get to 1 of the how ever many pages in the module?

And lastly... Can someone explain functions just a lil better than Guide posted here at Nuke Cops? How are they actually created and used? Where are they stored?

I appreciate any help that I get on this.
Find all posts by DixenView user's profileSend private message
ArtificialIntel



Joined: Jan 31, 2004
Posts: -88


PostPosted: Tue May 13, 2003 9:03 am Reply with quoteBack to top

please read the idiots guide, it has information on modules development in there.

AI
Find all posts by ArtificialIntelView user's profileSend private message
Dixen
Nuke Soldier
Nuke Soldier


Joined: May 07, 2003
Posts: 24


PostPosted: Wed May 14, 2003 12:27 pm Reply with quoteBack to top

*nods* Did that before I posted. Whomever wrote the Guide didn't do a very good job actually explaining the how and why... Smile
Find all posts by DixenView user's profileSend private message
ArtificialIntel



Joined: Jan 31, 2004
Posts: -88


PostPosted: Wed May 14, 2003 12:30 pm Reply with quoteBack to top

whomever eh? whomever would be me (it does have my name plastered all over it and on the copyright line saying I wrote it)

It was there giving all the basic information. Yes, it's more technical in that section (and in hte blocks development section) than any other section in the guide, but modules development really isn't a task for people who can't grasp the basics of PHP fairly quickly.

The modules development section assumes that people will go away and possibly lookup the PHP documentation too for reference

AI
Find all posts by ArtificialIntelView user's profileSend private message
Dixen
Nuke Soldier
Nuke Soldier


Joined: May 07, 2003
Posts: 24


PostPosted: Wed May 14, 2003 1:03 pm Reply with quoteBack to top

*sighs* I meant no disrepect... but if I cannot understand what you have written then there is a significant problem with your documentation.

I program in 7 languages including C, Cobol, Pascal, RPG, Basic, and am quite verse with html, PHP, and MySQL.

I fully admit being a techie and could not document to save my life... but for the absolute life of me I just don't get your documentation in you Guide.

No matter, I will look else where I suppose.
Find all posts by DixenView user's profileSend private message
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.191 Seconds - 249 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::