![]() |
|
|
|||||||
| Projects This Forum is dedicated to Open Source Projects, discuss, suggest, and be involved in the creation of web applications and components using Delphi for PHP. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
| Sponsored Links |
|
|
|
|||
|
how i can create a menu
i have 2 php files customer.php product.php i have created a menu name "Data Entry" under Data Entry 2 sub items // what should i write to execute the customer.php 1. Customer Master // what should i write to execute the product.php 2. Product Master if possible please send me your menu form at mk_common@yahoo.com warm regards, mk. |
|
||||
|
That's fantastic stuff AzureCrystal!! Thanks for sharing your success story, your application is an inspiration to us all and renews all our hopes for Delphi for PHP
![]() Obviously you do not want to release your commerical code, but it would be great in the future if you could release a watered down version so other users can see how you did it. Thanks for sharing and well done!! ![]()
__________________
Don't forget to add to a users reputation if they have helped you. |
|
||||
|
Will email you the code, hope this helps !
Quote:
|
|
||||
|
Thanks for the thumbs up, I would love to generalize(white label) this, that was always the plan, of course, if I ever get enough time to pop my head out my rabbit hole... This would be a nice D4PHP tutorial project !!! Maybe I just haven't thought of an easy way to make it generic, but time is my enemy...
BTW, I got the green light to write the companion application, which is a complete property management application that interfaces with this one(when people pay their deposits, rents, etc...), and I should have that one up here in about 3 weeks as well.... Quote:
|
|
||||
|
Firs thing to do is when you add the menu items in the property inspector, you have to assign each menu item a TAG number, then just add this code to the menu's click event, to redirect to the different forms. In my case I have 13 forms, so for each form you would have a case statement which redirects to the appropriate form. NOTE: you could also use the redirect() call, I'm not sure what the difference is, but that would seem more D4PHP centric to use...
PHP Code:
Quote:
|