Support Forums

how to represent the file php in the address bar?

This is a discussion on how to represent the file php in the address bar? within the Modules / Plugins / Modifications forums, part of the Developer Forums category; hello i created a modul which is about guestbook for visitor to write there feedback for the site so what ...


Go Back   68 Classifieds Forums > Developer Forums > Modules / Plugins / Modifications

Reply
 
Thread Tools Display Modes
Old 06-13-2009, 05:40 AM   #1
Customer
 
Abdulaziz's Avatar
 
Join Date: Sep 2008
Location: Kuwait
Posts: 61
Rep Power: 14
Abdulaziz is on a distinguished road
Default how to represent the file php in the address bar?

hello

i created a modul which is about guestbook for visitor to write there feedback for the site
so what i want is how the file add.php would be represent in the address bar?
i know the file index.php will appear when your write in the address bar "/modules.php?mod=guestbook" but how about add.php how is it represent in address bar??

sorry for the silly question

thanks in advance
__________________
Developer 4.1.9
Abdulaziz is offline   Reply With Quote
Old 06-13-2009, 08:34 AM   #2
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,489
Rep Power: 135
Eric Barnes is just really nice Eric Barnes is just really nice
Default

The only files you can use in a module are index.php, admin.php, hooks.php, and config.php. Any other files could still be used but not accessed in this manner.

You would use: yoursite.com/modules/guestbook/add.php

The best way in my opinion is to wrap it all in the index.php file.
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Old 06-13-2009, 05:08 PM   #3
Customer
 
Abdulaziz's Avatar
 
Join Date: Sep 2008
Location: Kuwait
Posts: 61
Rep Power: 14
Abdulaziz is on a distinguished road
Default

thank you very much Eric it's very clear now thanks
__________________
Developer 4.1.9
Abdulaziz is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Alternative Address seymourjames Modification Release 0 06-11-2009 01:46 PM
Calling a tpl file from within a tpl file nagrap2 Technical Support 1 01-30-2009 11:46 AM
Hide Address, Phone Number and Email Address of Sellers in Listings suav Technical Support 2 09-09-2008 05:34 PM


All times are GMT -4. The time now is 10:10 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0