Premium Membership
Subscription graphics design php html youtube
Gold Subscription with Silver access
graphics design php html youtube
Live Support
Contact us by live help [photoshop, website design, tutorials]
Not available on weekends
Creating phpnuke admin page

Page one | Page two


admin/modules/name_of_your_module.php

Steps :
In the previous tutorial you saw how simple it was to create a link in your admin panel. We are now moving on to the actual page seen when you click that link. It is always best to look at an already created module and see how it's setup but below is a picture of what an empty admin module usually looks like.

Take a look through the codes and see that what it basically does is protect your page so only the admin with the correct access can view and make any changes. This is very important. Create your blank module page with all the codes from the above picture. We are now going to create our first function. I will not go into details about functions, there will be another tutorial on that. I will create a simple function just to let you see how it's used. You might think I forgot about the case.name_of_your_module.php but you will now see how it works hand in hand with this current module. Remember the name I told you to remember earlier ( newpagemain)? Well this will be the name of our function. Functions are similiar to bookmarks in html except you only see and use them when you call for them in the script. The following pic will show you how our function is created to show the word ( testing ) when the page is viewed.

We are almost done. I have commented those pictures so you can see how i created the function. It should be easy to figure out. You can create as many functions as you want. Make sure your functions have different name than not only the other functions in your page but also any page in the other nuke modules. The last thing is to setup the admin/case/case.name_of_your_new_module.php . This page is basically a collection of all the cases in your page. Look close to the bottom of the above picture you will see case "newpagemain": . You will need to put all of them in the one case php page like the following picture.

Save all your files and click the link in the admin panel and see your new page which should show the word "testing". You can go much further with your admin page creation by adding tables, forms and so on..

That's it. If you need more help please visit the forums.

Page one | Page two

 





New Subscribers



Subscriber

coopvet2000

Platinum Subscribers

#1
Subscriber

inthee30zone

Platinum Subscribers

#2
Subscriber

kowalski

Silver Subscribers

#3
Subscriber

MikeMc

Platinum Subscribers

#4
Subscriber

MikeMc

Silver Subscribers

#5




Our Sponsors



Custom jobs at low cost, free lancers and service buyers.
Advertise with Western Studios.net
Horror Movie News
PHP Nuke themes, stock photos, icons, drupal themes and more.


Downloads



Latest in downloads

Most downloaded


Jobs





Community

Western Studios is an award winning website creating website disign and professional php scripts.

Associated Sites

Marketplace Themes, scripts, icons and images

Themes site PHP Nuke themes preview site.