task

PAGE - add/location

[WHAT]

  1. [ def ] page displays a form with all the feilds required to create a NEW 'location' record for the PLACES app
  2. [ args ] [id_sector, name_sector, ] takes the id of the sector that the location will belong to, OPTIONALLY take the sector, map and atlas names 
    1. ( if no parent(tgr id) is passed in then selects are generated on the form enabling the user to select the desired parent sector, )

[WHY]

  1. ] enables user to add a new 'location' record to the db, a 'location' record includes fields for all of the following
    1. name location -
    2. description location -
    3. parent id -
    4. owner -
    5. street address1
    6. street address2 
    7. city 
    8. country 
    9. state 
    10. zip or postal code 
    11. priority - 
    12. status - 
    13. photo - 
    14. content-format - 
    15. content - 
    16. telephone
    17. url

[WHERE called from ...]

  1. ] PAGE */* MENU MAIN - Create/Places -> add/location
  2. ] PAGE view/sectors - LINK - "add a sector to map" - for each map listed
  3. ] PAGE view/sectors - TOOLBAR.Button - "+" - adds a new sector record to the current map
  4. ] PAGE view/location - TOOLBAR.Button - "+" - adds a new location record to the current sector

[WHEN]

  1. ] user wants to add a new 'location' record to an existing 'sector'

[EXAMPLE]

  1. http://sospep.com/add/location?id=102

[HOW-TO]

  1. ] use the main menu, "create Places" option to open the add new location page (OR see option 2)
    1. ] select the desired 'sector' for the new 'location' using the select boxes on the page
    2. ] complete the required feilds in the 'add location' form
    3. ] submit the form
  2. ] navigate to the 'sector' where you wish to add the new 'location' record, 
    1. ] open the 'add location' page
    2. ] complete the required feilds in the 'add location' form
    3. ] submit the form

[REFERENCE]

  1. x] add/location -v-001 - NEW VERSION - 1958(local)] #1463 OOP implementation started ] #491 new navHeader ] #1464 REST architecture x] 439 default location record x] 789 photo 
  2. x] add/location -v-002 - NEW VERSION - ] # default record ] replaced db qry code ] generated setTextArea ] new field owner, ] add sector obj to get/display 'path' ] 
  3. x] add/location -v-003 - NEW VERSION - ] Cleanup ] ADD url feild, ] ADD telephone field,
  4. x] add/location -v-004 - NEW VERSION - ] Cleanup Greenspace ]

developer implementation

[process]

  1.  

[notes]

  1. PUBLISHED copy of overview article description in BK sospep-help, CH = sospep-places/how-to 
    1. x] # 2013-11-12

[by_date]

  1. [YYYY-mm-DD]

status

[current]

  1.  ] 

[next]

  1. ]

 

Details Photos Edit more

Details

ID: 2133

NAME: PAGE-add-location

DESCRIPTION: PAGE to add a new 'location' record to the PLACES app

START DATE TIME: 2013-07-22 21:19:02

EST DURATION: 01:00:00

END DATE TIME: 2013-07-22 22:19:02

STATUS: Completed

PRIORITY: -5

OWNER ID: 75

Content Photos Edit more

photos

photos for this task

actions

Agenda Email task SMS task Priorities