Module development: Difference between revisions

Jump to navigation Jump to search
No edit summary
Tag: 2017 source edit
Line 226: Line 226:
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 '''myobject_page.phpp''' that will serve as a starting point for your page file.
Copy, into that directory, the file '''myobject_page.php''' 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.  
<syntaxhighlight lang="PHP">
<syntaxhighlight lang="PHP">
83

edits

Navigation menu