PostNuke Help |
||
|---|---|---|
Previous |
Next |
|
Once the administration functions are in place to manipulate your module's data then you can write the user functions to display the data. As with the administration functions the user functions that you will write depend on the nature of your module, however most modules have at least the following items:
overview of a number of items
detailed view of a single item
Each of these items is normally broken down into two separate pieces. The first piece is part of the GUI and gathers information from the user as to which item they wish to view, passes it on to the API piece, and displays the resultant information. The second piece is part of the API and obtains the required information for the display piece.
Annotated copies of the template pnuser.php and pnuserapi.php files are available in the standard PostNuke distribution as part of the Template module.
Once the user functions are in place they should be tested by operating the module in the same way that a normal user would. The operation of the module functions should be checked against the information in the database to ensure that they are displaying the data correctly.
Previous |
Next |