edit-task
Home
Up
Delete
Task Name:
Task Description:
PAGE to view a 'location' record in the PLACES 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 - view/location</h1> <h2>[WHAT]</h2> <ol> <li>[ def ] a page to display all the details associated with a single location record</li> <li>[ args ] takes the id of the record to be displayed, OPTIONALLY takes the name of the sector, map and atlas that the location record belongs to</li> </ol> <h2>[WHY]</h2> <ol> <li>] enables user to VIEW any location record, a 'location' record includes fields for all of the following</li> <ol> <li>name location -</li> <li>description location -</li> <li>parent id -</li> <li>owner -</li> <li>street address1</li> <li>street address2 </li> <li>city </li> <li>country </li> <li>state </li> <li>zip or postal code </li> <li>priority - </li> <li>status - </li> <li>photo - </li> <li>content-format - </li> <li>content - </li> </ol> <li><strong>] TAB - Content</strong></li> <ol> <li>] Provides a full screen view of the content of the page (without the record details panel)</li> </ol> <li><strong>] TAB - Photos</strong></li> <ol> <li>] Provides a full screen view of photo associated with the record. If the page has MULTIPLE photos a listing of links is provide and clicking any individual link will open a window displaying that particular photo. Multiple photos can also be viewed in a slideshow presentation</li> </ol> <li><strong>] TAB - Map</strong></li> <ol> <li>] Provides a full screen view of the location on a Map.</li> </ol> <li><strong>] TAB - Directions</strong></li> <ol> <li>] Provides a view of the location on a map with a marked route between your home location and the location. Also dispay turn by turn driving directions to that location </li> </ol></ol> <h2>[WHERE called from ...]</h2> <ol> <li>] PAGE */* MENU MAIN - View/Places,All -> view Maps IN Atlas, -> Sectors IN Map, -> Locations IN Sector</li> <li>] PAGE view/sectors - LINK - "view/location " - for each location listed</li> <li>] URL view/location?id={#}, where # is the location id</li> <li>]</li> </ol> <h2>[WHEN]</h2> <ol> <li>] user wants to VIEW any 'location' record</li> </ol> <h2>[EXAMPLE]</h2> <ol> <li>] <a href="/view/location?id=102" target="_blank">http://sospep.com/view/location?id=102</a></li> <ol> <li>] example location record for ....</li> </ol></ol> <h2>[HOW-TO]</h2> <ol> <li><strong>] use the main menu, "view Places" option to BROWSE to the LOCATION record you want to view</strong></li> <ol> <li>]</li> <li>]</li> <li>]</li> </ol> <li><strong>] use the URL(address bar) to add the 'location' record, </strong></li> <ol> <li>]</li> <li>]</li> </ol></ol> <h2>[REFERENCE]</h2> <ol> <li><strong>[2016-mm-dd] NEW PAGE VERSION</strong></li> <ol> <li>x] # # - PAGE-VERSION-view-location -v-001 - 1956(local)] #1463 OOP implementation started ] #491 new navHeader ] #1464 REST architecture x] 439 default location record x] 789 photo </li> </ol> <li><strong>[2016-mm-dd] NEW PAGE VERSION</strong></li> <ol> <li>x] # # - PAGE-VERSION-view-location -v-002 - 2829 ] # default record ] replaced db qry code ] generated setTextArea ] new field owner, ] add sector obj to get/display 'path' ] </li> </ol> <li><strong>[2016-mm-dd] NEW PAGE VERSION</strong></li> <ol> <li>x] # 1587 - PAGE-VERSION-view-location <a href="/view/task?id=1587" target="_blank">-v-003</a> - ] implements new page layout ] Cleanup ] add telephone field</li> </ol> <li><strong>[2016-mm-dd] NEW PAGE VERSION</strong></li> <ol> <li>x] # 6731 - PAGE-VERSION-view-location <a href="/view/task?id=6731" target="_blank">-v-004</a> - ] FEA-5100-responsive, ] </li> </ol> <li>]</li> </ol><hr /> <h1 style="text-align: center;">developer implementation</h1> <h2>[process]</h2> <ol> <li> </li> </ol> <h2>[notes]</h2> <ol> <li>PUBLISHED copy of overview article description in BK sospep-help, CH = sospep-places/how-to </li> <ol> <li>x] # 2013-11-12</li> </ol></ol> <h2> </h2> <hr /> <h1 style="text-align: center;">status</h1> <h2>[previously]</h2> <ol> <li><strong>[2013-mm-dd] PAGE view/location -v-003</strong></li> <ol> <li>] ADDED directions panel to map display on maps tab, - provides "driving directions" from "home" location to "current map location"</li> </ol> <li><strong>[2014-03-04] PAGE view/location -v-003</strong></li> <ol> <li>] ADD - directions TAB to PAGE view</li> <li>] REMOVED - in page 'mapping' script</li> <li>] ADD - link to mapping scripts</li> <li>x] REMOVE directions panel from CURRENT maps tab</li> </ol> <li><strong>[2014-03-04] PAGE /SCRIPTS map.js -v-001</strong></li> <ol> <li>] NEW - google-maps.js script with founctions for working with google maps</li> </ol> <li><strong>[2015-05-25][10:00] NEW feature </strong></li> <ol> <li>x] # # - PAGE view-locations-v-003 - x] add feild (telephone) to view, located in lh side panel</li> </ol> <li><strong>[2016-08-23][10:00] UPDATE </strong></li> <ol> <li>x] # # - PAGE view-location-v-003 - x] ADD default value for url field of '?' to db, x] ADD to create-db file, x] SET current default-location record url field to that value</li> </ol></ol> <h2>[current]</h2> <ol> <li> ] PAGE -view/location-v-003 - , ] remove directions panel from MAP tab ]</li> </ol> <h2>[next]</h2> <ol> <li>]</li> </ol> <p> </p> <p> </p>