| Author |
Message |
Wildkarrde
Nuke Soldier


Joined: Aug 31, 2003
Posts: 25
|
Posted:
Sun Sep 07, 2003 8:39 pm |
  |
I just need to know what the pieces to Php Nuke are. I know there are blocks and modules and so on but I really don't understand what all the pieces are and what they function is. Can someone just post a list with a brief explanation for me please?
I really would appreciate it.
Thx
Wildkarrde  |
|
|
   |
 |
VinDSL
Site Admin


Joined: Jul 08, 2003
Posts: 1193
Location: Arizona (USA) Site Admin: Lenon.com Admin: Disipal Designs
|
Posted:
Sun Sep 07, 2003 10:49 pm |
  |
It doesn't get any better than this, IMHO!
Study it 'cover-to-cover' and it will put you near or at the top of the 'Nuke class'... |
_________________ .:: "The further in you go, the bigger it gets!" ::.
.:: VinDSL's Lenon.com | The Disipal Site ::. |
|
     |
 |
Wildkarrde
Nuke Soldier


Joined: Aug 31, 2003
Posts: 25
|
Posted:
Sun Sep 07, 2003 11:04 pm |
  |
Yes I've have seen that doh! However, I don't see mention of STORIES and are there any other things that are put on a page by php that I might be missing?
Thx
Wildkarrde
P.S. this is pretty new to me and trying to get it all straight in my head before I plunge in will help |
|
|
   |
 |
dezina
Support Mod


Joined: Jun 09, 2003
Posts: 1713
Location: England
|
Posted:
Mon Sep 08, 2003 1:49 am |
  |
http://www.dezina.co.uk/modules.php?name=ThemeTutorial
Copy of mtechnik's theme tutorial, with his permission, at above url.
General: Themes for PHPNuke 5** do not work with PHPNuke 6*, without modification.
PostNuke themes do not work with PHPNuke.. what else did you want to know about themes.. be more specific if possible  |
_________________
Backup files BEFORE altering
Use PHPNuke 7.6 with patches!!
No private messages please, POST in forums. |
|
    |
 |
VinDSL
Site Admin


Joined: Jul 08, 2003
Posts: 1193
Location: Arizona (USA) Site Admin: Lenon.com Admin: Disipal Designs
|
Posted:
Mon Sep 08, 2003 3:06 am |
  |
| Wildkarrde wrote: |
| ...are there any other things that are put on a page by php that I might be missing? |
I don't understand your question. Could you restate it? |
_________________ .:: "The further in you go, the bigger it gets!" ::.
.:: VinDSL's Lenon.com | The Disipal Site ::. |
|
     |
 |
Wildkarrde
Nuke Soldier


Joined: Aug 31, 2003
Posts: 25
|
Posted:
Mon Sep 08, 2003 6:04 am |
  |
Well for instance if I go to any home page that is generated by php, I can see many different layouts. I already know those layouts consist of a header, a footer, blocks and modules. Are there any other things one would find on a php page? And just for clarification, a block is filled with basically static info whereas a module is filled with info that is drawn from the SQL database, is that right? Sorry, one last thing, could I create my own table in my SQL database for my own custom module?
Geez sorry for probably asking the same old lame questions, but this is IS really helping me.
Thx
Wildkarrde |
|
|
   |
 |
Wildkarrde
Nuke Soldier


Joined: Aug 31, 2003
Posts: 25
|
Posted:
Mon Sep 08, 2003 8:40 pm |
  |
So, could I create my own table in my SQL database for my own custom module and can it be related to my members table? Can anyone answer this? |
|
|
   |
 |
msimonds
Premium


Joined: Jul 11, 2003
Posts: 240
Location: Dallas, Texas
|
Posted:
Mon Sep 08, 2003 9:13 pm |
  |
sure you can do this. You can pull the info from the new table and the nuke_users table to create a new module |
_________________ Founder
SportsRant.com |
|
        |
 |
Wildkarrde
Nuke Soldier


Joined: Aug 31, 2003
Posts: 25
|
Posted:
Mon Sep 08, 2003 9:18 pm |
  |
Thx  |
|
|
   |
 |
VinDSL
Site Admin


Joined: Jul 08, 2003
Posts: 1193
Location: Arizona (USA) Site Admin: Lenon.com Admin: Disipal Designs
|
Posted:
Tue Sep 09, 2003 12:50 am |
  |
You can pull info from your database and inject it anywhere you want. You are limited only by your imagination and abilities. PHP started off as being a replacent for server-side includes (SSI), if you know what that is, but quickly evolved into a thing unto itself. It's the hottest language going right now, albeit a scripting language, which makes it all the more amazing. (My)SQL is the glue that holds it all together.
As far as the difference between blocks and modules goes, there isn't a lot of difference IMHO. In theory, with modules, you are supposed to design them in such a way as to allow admins to manipulate them from an interface, but there are no hard and fast rules on this. Also, modules tend to contain a lot of files, whereas blocks are usually in single file form, although this isn't always the case either. I dunno, it's kind of a gray area...
Anyway, if you play around with Nuke for a while, it'll all start falling in place for you. It's a steep learning curve at first, but that's the way it always is with bleeding-edge, fringe computing. It looks like magic until you start pulling rabbits out of your own hat, then it kind of loses it's mystique... |
_________________ .:: "The further in you go, the bigger it gets!" ::.
.:: VinDSL's Lenon.com | The Disipal Site ::. |
|
     |
 |
Wildkarrde
Nuke Soldier


Joined: Aug 31, 2003
Posts: 25
|
Posted:
Tue Sep 09, 2003 6:41 am |
  |
"It looks like magic until you start pulling rabbits out of your own hat, then it kind of loses it's mystique..."
You know, that comment there is just about brilliant! It has a lot of uses and definately makes the point here. I am new to php nuke. I really do appreciate the help you guys have given me here in this post. Thanks guys!
Wildkarrde  |
|
|
   |
 |
|
|