TopLevel BlogPost.php - jcobban/Genealogy GitHub Wiki
This script provides the ability for a user to create a message or Blog post.. This script is invoked by method='get' for initial display, in particular to present a blank template for a new message. It is re-invoked by method='post' if the user creates a new message or modifies an existing message.
When invoked by method='get' the script supports the following parameters.
| parameter | description |
|---|---|
| 'blogid' | blogid |
| 'id' | synonym for blogid |
| 'idar' | numeric key of record in tblAR with which to associate new message |
| 'idbp' | numeric key of record in tblBP with which to associate new message |
| 'idbr' | numeric key of record in tblBR with which to associate new message |
| 'idcp' | numeric key of record in tblCP with which to associate new message |
| 'idcr' | numeric key of record in tblCR with which to associate new message |
| 'ider' | numeric key of record in tblER with which to associate new message |
| 'idhb' | numeric key of record in tblHB with which to associate new message |
| 'idhl' | numeric key of record in tblHL with which to associate new message |
| 'idir' | numeric key of record in tblIR with which to associate new message |
| 'idlr' | numeric key of record in tblLR with which to associate new message |
| 'idmr' | numeric key of record in tblMR with which to associate new message |
| 'idms' | numeric key of record in tblMS with which to associate new message |
| 'idnr' | numeric key of record in tblNR with which to associate new message |
| 'idnx' | numeric key of record in tblNX with which to associate new message |
| 'idrm' | numeric key of record in tblRM with which to associate new message |
| 'idsr' | numeric key of record in tblSR with which to associate new message |
| 'idsx' | numeric key of record in tblSX with which to associate new message |
| 'idtc' | numeric key of record in tblTC with which to associate new message |
| 'idtd' | numeric key of record in tblTD with which to associate new message |
| 'idtl' | numeric key of record in tblTL with which to associate new message |
| 'idtr' | numeric key of record in tblTR with which to associate new message |
| 'username' | username with which to associated new message |
| 'table' | table name with which to associate new message |
| 'lang' | lang |
| 'edit' | edit |
When invoked by method='post' it supports the following parameters:
| parameter | description |
|---|---|
| 'blogid' | blogid |
| 'id' | id |
| 'keyvalue' | keyvalue |
| 'table' | table |
| 'tablename' | tablename |
| 'subject' | subject |
| 'message' | message |
| 'text' | text |
| 'email' | |
| 'emailaddress' | emailaddress |
| 'update' | update |
| 'lang' | the language selection |
This script is available to both casual and registered users. Casual users are required to provide an e-mail address.
Next: Blogs.js