edit-task
Home
Up
Delete
Task Name:
Task Description:
PAGE to edit an existing 'article' record for the SUBJECTS app
TaskGroup ID:
Start Date:
Start Time:
Duration:
Priority:
Status:
To Do
Completed
In Process
Add Photo:
Owner ID:
Content:
use HTML
Edit Content
<h1 style="text-align: center;">PAGE - edit/article</h1> <h2>[WHAT]</h2> <ol> <li>[ def ] page displays a form with all of the required fields to edit a single article record, form is prepopulated with values from record id of passed in record</li> <li>[ def ] page displays a single 'article' record within a form with option to edit/update any of the feild values(except content_article) </li> <li>[ args ] take the id of the ARTICLE record to be edited, <span style="text-decoration: line-through;">OPTIONALLY takes the names of the containing book and library</span> </li> <li>[ returns ] </li> </ol> <h2>[WHY]</h2> <ol> <li>] to edit or update any of the following article fields ...</li> <ol> <li>] name article -</li> <li>] description article -</li> <li>] article photo - </li> <li>] article content -</li> <li>] article content type -</li> <li>] article owner id -</li> <li>] article author id -</li> <li>] article editor id </li> </ol></ol> <h2>[WHERE called from]</h2> <ol> <li>] PG view/articles (in chapter) - LINK "edit/article" ( on each article record displayed)</li> <li>] PG view/article - TOOLBAR Button "edit" - changes mode from viewing current record to editing current record</li> </ol> <h2>[WHEN]</h2> <ol> <li>] the user wants to update or edit values of an 'article' record</li> </ol> <h2>[EXAMPLE]</h2> <ol> <li>] <a href="http://sospep.com/edit/article?id=1655" target="_blank">http://sospep.com/edit/article?id=1655</a> - Example of the Edit Article Page that enables users to edit any of the "ARTICLE" record fields</li> <ol> <li>*] NOTE that any changes you make to this example page will not be saved unless the user is logged in </li> </ol></ol> <h2>[HOW-TO]</h2> <ol> <li>]</li> </ol> <h2>[REFERENCE]</h2> <ol> <li>x] edit/article - <a href="/view/task?id=1870" target="_blank">v-001</a> - x] #1025 DAL LibraryData methods class ] 1464 REST, ] 491 navHeader ] client side validation</li> <li>x] edit/article - <a href="/view/task?id=1871" target="_blank">v-002</a> - x] #1463 OOP implementation replacing libraryData methods class with 'chapter' class</li> </ol><hr /> <h1 style="text-align: center;">developer implementation</h1> <h2>[process]</h2> <ol> <li> </li> </ol> <h2>[notes]</h2> <ol> <li> </li> </ol> <h2>[by_date]</h2> <ol> <li>[YYYY-mm-DD]</li> </ol><hr /> <h1 style="text-align: center;">status</h1> <h2>[-current-]</h2> <ol> <li> ] </li> </ol> <h2>[-next-]</h2> <ol> <li>00#] CODE redirects to viewSubjectLibaryBooks/+AT LibraryID</li> </ol> <p> </p>