+++ /dev/null
-Add an admin tab
-
-* Add a new section in setup/adminTabs.php
-
-* Add a model file - models/admin/{menu}/{action}.php
-
-* Add a view file - views/admin/{menu}/{action}.html
-
-* Add action to setup/validActions.php
-
-* If needed add a database table to the create_database_V...sql file
- and update name to current database version, add an
- update_database_V....sql file, and/or update dbVersions.php
-
-* If required add a data definition for any new tables
+++ /dev/null
-Procedure to create a new GLM Members add-on plugin
-----------------------------------------------------
-
-* Checkout glm-member-db-sample and rename directory to glm-member-db-{add-on name}
-
-* From a bash prompt, run "SETUP_SCRIPT"
-
-* Create new repository named WP-Plugins/glm-member-db-{name of add-on}.git
-
-* If there are any databases associated with this add-on, setup the database scripts and
- data under the "setup/databaseScripts" directory. If there are no database tables
- with this add-on, remove all but the "readme.txt" file from that directory.
- NOTE: No "update_database..." files should be there for a new add-on with new tables.
- NOTE: There should be only one entry in the "dbVersions.php" file.
-
-* Carefully review "defines.php" file and update as needed.
-
-* Do a quick review of the readme.txt file and update as desired.
-
-* TEST - At this point the add-on should install and activate but not do anything.
- - If there are any database tables, make sure they were created and are correct.
- - Go to "Members" -> "Management" -> "Add-Ons" and make sure the add-on was
- properly registered with the main plugin and that any database data is shown.
-
-* Adding menus
- - Update "setup/adminMenus.php" and add menu section as described there.
- - Add an entry in the validActions.php file. Pay attention to how slug name is
- constructed ("glm-members-admin-{page}-{action}").
- - If needed add a database table to the create_database_V...sql file
- Also add a "classes/data/data{Table}.php file
- - Add a model file as "models/admin/{page}/{action}.php
- - Add any desired view file as "views/admin/{page}/{action}.html
- Note that additional possible view files should be named as...
- "views/admin/{page}/{action}{Name}.html
- - Test that when add-on is activated that the menu shows and is functional.
-
-* Adding tabs
- - Update "setup/admin/Tabs.php" and add new tab filter as described there.
- - Add an entry in the validActions.php file. Pay attention to how slug name is
- constructed ("glm-members-admin-{page}-{action}").
- - If needed add a database table to the create_database_V...sql file
- Also add a "classes/data/data{Table}.php file
- - Add a model file as "models/admin/{page}/{action}.php
- - Add any desired view file as "views/admin/{page}/{action}.html
- Note that additional possible view files should be named as...
- "views/admin/{page}/{action}{Name}.html
- - Test that when add-on is activated that the tab shows and is functional.
-
- *
\ No newline at end of file