31,003
edits
| Line 195: | Line 195: | ||
=== Create a new PHP screen === | === Create a new PHP screen === | ||
You must then create your PHP pages that will show/edit data from tables using the skeleton templates provided as an example in the directory ''' | You must then create your PHP pages that will show/edit data from tables using the skeleton templates provided as an example in the directory '''modulebuilder/myobject_page.php''' (For the development of a script from the command line, see [[Script development]]). | ||
To create a new user screen, create a subdirectory of '''htdocs''' (if not already done) for your module (in '''htdocs/mymodule''' for example) to store the pages you will create. | To create a new user screen, create a subdirectory of '''htdocs''' (if not already done) for your module (in '''htdocs/mymodule''' for example) to store the pages you will create. | ||
Copy, into that directory, the file ''' | Copy, into that directory, the file '''myobject_page.phpp''' that will serve as a starting point for your page file. | ||
Edit the file to have a correct relative path to the main.inc.php file. | Edit the file to have a correct relative path to the main.inc.php file. | ||
<source lang="php"> | <source lang="php"> | ||