The following are the directions on how to add a new page type in WSMS:
- Create the new table (if needed)
- Add the new page to the pageTypes table in wsms_wsms
- If there is anything special that needs to take place for the page when the page is created, then add it to aj-new-page-add.php.
- Add the menu items for the new page into the menuitems table in wsms_wsms.
- Create the editor page for the content.
- Add a new function in wsms_ajax.js
- Go back to the menutiems table in wsms_wsms and add the new function that you created for the editor.
- Add a new reference in wsms_display_functions.php
- Add the table to the table definitions in wsms_wsms so that it can be installed.
No comments:
Post a Comment