edit-task
Home
Up
Delete
Task Name:
Task Description:
NEW PAGE to add and article record
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;">PG M add/article -v-001</h1> <h2>[previously]</h2> <ol> <li>] <a href="task?id=1880" target="_blank">PAGE - M -add/article</a> - description and history of page, versions list</li> </ol> <h2>[currently]</h2> <ol> <li><strong>[2013-06-13]</strong></li> <li><strong>*] PLUS -</strong> using the standard add/article page, the page/form layed out and looked OK pretty much as is </li> <li><strong>i] PROBLEM 001 - MINUS</strong> - the page post failed - then, after stripping almost everything out of the orig version, line by line finally got the post to go through when down to just name and description fields, BUT then still have PROBLEM 002 with redirect after post </li> <ol> <li><strong>*** USE add/article BUILD DOWN</strong></li> <li>] P select boxes not populating with values IF no chapterId</li> <li>x] EDIT sospep.help, render select boxes, USE chapter properties VERSUS values passed in qstring</li> <li>x] add chapter object, USE chapter to set vars for ... </li> <li>x] add layout mobile, N/C</li> <li>u] REM feilds all except 3</li> <li>x] add data-inline attribute, N/C</li> <li>*] parent/gp//ggp display generator SHOWS Book_name NOT book_name</li> <li>x] REM client side validation code ( looking for )</li> <li>x] REM script for tiny(2), cli side validator </li> </ol> <li><strong>] PROBLEM 002 - redirect doesnt FAIL but is not working properly</strong></li> <ol> <li><strong>WA = return home and drill back down</strong></li> </ol></ol><ol> <li><strong>[2013-06-13]</strong></li> <li><strong>*** USE m_library BUILD UP</strong></li> <li><strong>x] new page using working m_library as example and adding in components of m_article</strong></li> <li>*] write using OOP not LibraryData methods like the add/m_library example, see also re-wrtiing m_library using OOp</li> <li>x] TEST name, description OK </li> <li><strong>[2013-06-14]</strong></li> <li>x] TEST add status select OK</li> <li>x] TEST add session var for current OK</li> <li>x] TEST add Chapter object, add qstring var for chapterId (passed in from previous page) </li> <li>x] TEST use chapter object to set parent_id OK</li> <li>x] TEST add Path display, using sospepHelper.setParent() and values from chapter object</li> <li>x] TEST add owner field, set value with default record</li> <li>*] RENAMED owner AS owner_article, </li> <li>x] RENAMED selStatus AS selStatus_article - B/C of unique name constraint for jqm </li> <li><strong>*] PAGE sospephelper</strong> </li> <li>x] APPEND name of page to parent_name FROM: name=parent_id TO name='parent_id_article', WILL HAVE TO revised the POST code that catches the values</li> <li>*] APPEARS that helper is NOT being used on any of the L5 pages except S.articles, OTHER LEVELS = ?? </li> <li>x] TEST content OK </li> <li>x] TEST file(photo) </li> <ol> <li>] PRB - ERROR page not loading</li> <li>x] REM - display </li> <li>x] ADD form type encoding multipart</li> <li>x] CAUSE = typo on var name 'fileName' NOT filename</li> <li>x] PRB 002 - ERROR file upload displays but form does not post</li> <li><span style="background-color: #ffff99;">x] ADD data-ajax = false to form </span></li> </ol> <li>] </li> </ol> <h2>[next]</h2> <ol> <li>] desktop version has entry point WHERE no chapter_id is set, then select boxes are presented to user where he can select the </li> <li>] PRB select box is a bit wonky, TRY the jqm select box VS standard</li> <li>] ADD FEILDS = ] priority, ] editor, ] author, ] ...</li> </ol>