31,003
edits
| Line 188: | Line 188: | ||
This function will show required tabs and open an html element ''< div class="" >'' that correspond to the area under the tabs. To close area of a tab, just use ''< /div >'' into your PHP page. | This function will show required tabs and open an html element ''< div class="" >'' that correspond to the area under the tabs. To close area of a tab, just use ''< /div >'' into your PHP page. | ||
== Create | == Create or modify PHP screens (optional) == | ||
'''When''': If the purpose of your module is to add features that require new screens. | '''When''': If the purpose of your module is to add features that require new or modified screens. | ||
=== Create a 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 '''dev/skeletons''' (For the development of a script from the command line, see [[Script development]]). | 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 '''dev/skeletons''' (For the development of a script from the command line, see [[Script development]]). | ||
| Line 228: | Line 228: | ||
</source> | </source> | ||
=== Add some fields into forms === | === Add some fields into existing forms === | ||
You may want to provide a module that add more fields into forms (input and view) of some elements. | You may want to provide a module that add more fields into forms (input and view) of some elements. | ||
| Line 237: | Line 237: | ||
{{ToComplete}} | {{ToComplete}} | ||
=== Replace | === Replace parts of screen that are templated (version 3.3+) === | ||
Some parts of Dolibarr screen are isolated into native PHP template files. | Some parts of Dolibarr screen are isolated into native PHP template files. | ||
You can develop a module to overwrite such templates with yours. | You can develop a module to overwrite such templates with yours. | ||
{{ToComplete}} | |||
=== Add/replace part of fields supported by hooks === | |||
{{ToComplete}} | {{ToComplete}} | ||