Updating the Board Table Spreadsheet
General
Add each person on a separate line in the spreadsheet:
include first name, last name, email and phone number in the appropriate fields.
No particular order of names is required.
Note 1: It is not necessary to provide contact information for everybody. Historically, contact information has not been supplied for non Board members who assist on a committee. Recently there has been a move to not include personal email addresses due to spam concerns.
Note 2: If an executive position is vacant, include "Vacant" in the lName field.
Information for the EOSARDA Board of Directors Page
Identify each director’s Role on the Board by filling in the appropriate abbreviation in the “dirPageRole” field:
- pres, vice, trea, secr, regi, past for the Executive of the board,
- dir for all other Directors of the board,
- com for those non-board members who are members of a committee*,
- sup for those in a support role (historically, Webmaster and Square Time Editor)
*Note: the com flag is not actually used by any program but it may help in keeping "roles" straight when filling in the spreadsheet.
Identify (extra) Roles on the Board by filling in the xtraRole field.
This could be for function roles such as “Chair” of a committee, “Webmaster, “Square Time Editor”, etc.
Note 1: Fully spelled-out words for executive roles such as “President”, “Treasurer”, “Secretary”, “Registrar”, “Past President”
are filled in automatically by the program based on the role field (eg, Pres, Secr, etc_
Note 2: Avoid putting committee roles (other than Chair) and "Federation Rep" in this field.
It will create clutter on the page.
Set the Display Position (dispPosn) for executive members only. This is likely already done for you in the table. Databases don’t necessarily retrieve data in the same order that the spreadsheet was created in so the program uses the dispPosn data to determine which “exec” member is displayed first, second, etc, on the page. For regular directors, the sort order is by Last Name.
Identify Federation Representatives by placing a “y" in the fedRep field.
Information for the EOSARDA Standing Committees Page
Identify Committee Membership as appropriate by filling the appropriate _Comm fields
- “m" in one or more of the committee membership fields, or
- “c" to identify the Chair of the committee.
Identify Committee Roles as appropriate by filling in the corresponding “Roles” field.
This can be one role or a comma separated list of roles.
Note 1: Not all committees have roles to use and some members may not be assigned a role.
Note 2: There are no committee roles to enter for the Executive/Operations Committee; their roles are determined by the
dirPageRole field (eg, “pres”, “trea”, “secr”, etc).
The Committee Fields are::
- oComm for Executive/Operations Committee
- dComm & dRole for Dance Committee
- pComm & pRole for Publicity Committee
- tComm & tRole for Technical Committee
- lComm & lRole for Club Liaison, Recognition and Awards Committee
Updating the BoardTable in the Database on the Server
Currently, the method of updating the boardTable involves EMPTYing the table and IMPORTing a new updated spreadsheet file to replace the boardTable data entirely. The boardTable.csv file is kept in the associations/eosarda/ directory.
To replace the boardTable in the database...
On your PC
- Update board table as described above
- Ensure the file is SAVED-AS a .csv file (boardTable.csv)
- Important: FTP the board_table.csv file to the server (.../associations/eosarda) so the latest one is there and can be downloaded to update the next time. It is stored in the "associations/eosarda/" folder.
- Optional ... Edit the CSV file to remove the line with the column headings and save. This is NOT mandatory. Leaving them in will put the column headings as a row in the database and give a few errors (truncation, invalid value, etc) only when being loaded into the database but this is not important since they don’t contain the correct values to be found by the web page filling programs. Column headers should be the first row at the top of the CSV file if you want to remove them.
Summary (to update a table)
1. Empty (NOT Delete) the table usingOperations --> TRUNCATE
2.
Importthe .csv file data
On the eoDance Server
- Log in
- Launch
cPanel
- Launch
phpMyAdmin
- Click on
eodadmin_db
database from left column - (Note that you can click on any of the tables in the database to select and display it.)
0. Click on eodadmin_db in top left column to expose the SQL tables
1. Make a copy current table (just in case ...)
- Click on
boardPageOLD table to select it. (Make sure this is the OLD table) - Click on Operations menu at the top.
In the
Delete data or table
area at the bottom click onDelete the table (DROP)
and clickOK
when prompted. - Click on
boardPage table on left to select it (the current GOOD table) - Click on
Operations
menu at the top Scroll to middle of page toCopy table to
, enterboardPageOLD manually as the destination table name (in place of the defaulted name of "boardpage") and click on that section'sGo
button at the bottom right of the "Copy table" box.
For the next 2 steps it would be wise to work on the boardpagedev
table instead of the live "boardpage" table to make sure everything works before updating the live table.
You can
see the results by forcing
the eoDance Board and Committee pages to use the ?dev(without the quotes) after the ".php" on each page's URL.
If everything is fine.
then you can select Copy table to (
with theAdd DROP TABLE
option
which will delete/replace the live production table with a copy of the development table
2. To EMPTY current table (ie, delete the data in the table)
- Click on
boardpagedev table to select it. - Click on
Operations
menu at the top. - Scroll to bottom of page and click on
Empty the table (TRUNCATE)
and clickOK
. This will "empty" the table. Do NOT choose the other option or the entire table will be lost and have to be recreated.
3. To reload new data into the database table
- Click on
Import
menu at the top. - Click the "Browse" button in the 'File To Import:' section. Select the needed CSV table on your PC, Click “OPEN”.
- Scroll down the page and Click on
Import
. You will get a lot of “Row Inserted” messages and perhaps some error messages that you can (hopefully) ignore. Most of these errors are because of the descriptive column headings of fields at the top of the CSV file are being treated a row to enter but the text doesn't match the field parameters (eg, too many characters, etc) - Click on
Browse
menu at the top and you will see your updated table
4. View results on the web
Go to the Board Directors and Committees pages on the website. Add "?dev" to end of URL and reload the page to see the web display of the database. If there are still changes to be made, correct the .csv file, and repeat Steps 2, 3 and 4 to correct and update the information
5. Update production table
If all is correct with the production boardpagedev
SQL table,
you can repeat Steps 2, 3 and 4 on the boardpage
SQL table
to make the same changes that will now be available to all without adding "?dev"
to the URL line.
 
