edit-task
Home
Up
Delete
Task Name:
Task Description:
PAGE to delete 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 - delete/article</h1> <h2>[WHAT]</h2> <ol> <li>[ def ] page that displays a single 'article' record in a form with the option to delete that record.</li> <li>[ args ] takes the article id of the article to be deleted </li> </ol> <h2>[WHY]</h2> <ol> <li>] delete article - deletes an existing 'article' record from your sospep</li> </ol> <h2>[WHERE called from]</h2> <ol> <li>] PG view/articles - LINK - "delete/article" ( on each article record displayed )</li> <li>] PG view/articles - TOOLBAR.Button "x" - will delete any articles that have been "selected" (checkbox) on the displayed articles lists</li> <li>] PG view/article - TOOLBAR.Button - "x" - will delete the article that you are currently viewing</li> </ol> <h2>[WHEN]</h2> <ol> <li>] user wants to delete(permanently remove) and article from their sospep</li> </ol> <h2>[EXAMPLE]</h2> <ol> <li>] <a href="http://sospep.com/delete/article?id=1058" target="_blank">http://sospep.com/delete/article?id=1058</a></li> </ol> <h2>[HOW-TO]</h2> <ol> <li><strong>] navigate to the 'chapter' where you wish to DELETE an existing 'article' record or records, </strong></li> <ol> <li>] select the article or articles that you wish to delete by placing a checkmark in the checkbox beside the article</li> <li>] click the "x" icon located on the PG view/article toolbar</li> <li>] confirm that you wish to delete, if you are sure that you want to permanently delete the record or records that you have selected</li> </ol> <li><strong>] navigate to the article you wish to delete</strong></li> <ol> <li>] click the "x" icon located on the PG view/article toolbar</li> <li>] confirm that you wish to delete, if you are sure that you want to permanently delete the record </li> </ol></ol> <h2>[REFERENCE]</h2> <ol> <li>/delete/ article[_v_001][ base=deleteSubjectLibraryBookArticle_v_001_007 ][ 2012-01-28 ][ copyright don.sagrott all rights reserved ]</li> <li>x] delete/article - <a href="/view/task?id=1872" target="_blank">v-001</a> - x] #1025 DAL implementation using LibraryData methods class ] FEATURE GROUP# 1492 = ] REST(1464) + ] DAL(1025) + ] NavHeadar(491) + ] Page-Clean(1502) </li> <ol> <li>] 2012-01-30 - REVISION - EDIT link to viewChapters in Redirect from: viewSubjectLibary...Chapters to: /view/chapters</li> </ol> <li>x] delete/article - <a href="/view/task?id=1873" target="_blank">v-002</a> - x] #1463 implementation replacing libraryData methods class with Article class</li> <li>*] ON PAGES view/article - delete page has been replaced with a delete confirmation dialog</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>] EDIT test condition on post, from: u.id to: u.id && </li> <li>] CODE to delete 'photo' file from the server when the record is deleted </li> <li>] ?= ADD navHeader </li> </ol> <p> </p>