Clinic Faculty: Add “language” field to the table

The “language” field is needed to indicate which (or both) language pages to display on Health Center pages. Clinic Faculty table is now a complete, self-contained table for Health Center pages. “language” field used in Faculty table. “language” field used in Clinic Faculty table. “language” field Editing UI is ready.

Display frontend Health Center pages with photos from Clinic Faculty table

To decouple “Clinic Faculty” table from “Faculty” table, photos to be displayed on the frontend Health Center pages, from now on, should be retrieved from “photo” field in the “Clinic Faculty” table. Photos are stored under /portrait folder with naming convention as follows: cfxxx.png or cfxxx.png ( cf1.png, cf22.jpg, cf345.png) xxx: the facultyID from 1 … Read more

Fix: Faculty & Clinic Faculty display sorting order on last name + first name

For Faculty & Practitioners with the same last name, the sorting criteria should also apply to the first name. To get around the issue caused by the trilingual data fields, an extra step to create a temporary array for sorting purpose is implemented to resolve the issue. Clinic Practitioners – San Jose All Teaching Faculty … Read more

Clinic Faculty: Access names directly from its table instead of from faculty table

To decouple the relation between “Faculty” (fbu_faculty)  and “Clinic Faculty” (fbu_clinic_faculty) tables, instead of retriving Names from mapped Faculty record (fbu_faculty), retrieve directly from Names of its own (fbu_clinic_faculty) table, to display on the frontend Health Center pages. If the name is not available, leave it blank. NOT to retrieve it from the corresponing record … Read more

Alumni: Set up Log In/Out options

After restricting users to only those who signed up with FBU email account, the login process behave different from regular WordPress login processes. Set up menu option such that Show “Log In” option if a user has not logged. And hide that option once logged in. Hide “Log Out” option befor a user logging in. … Read more

Clinic Faculty: Change display criteria

Display Practitioners on both locations San Jose and Santa Cruz both Languages: English and Chinese Only if the Practitioner’s “Active” field in the Clinic Faculty table is set to “Yes”. Ignore the “Suspend” field setting in its corresponding record in Faculty table. Clinic Faculty table Faculty Table Test case: Chen Ping (Joanna) Chao: Faculty ID: … Read more

Retrieve the latest posts as featured posts on the homepage

Instead of retrieving Post ID from FBU settings, retrieving the latest post of the corresponding Category as the Featured Post for the Homepage. Both English and Chinese sites have their own latest posts. So retrieve correctly on each language. Featured posts on the Homepage Current posts to retrieve from New request: The latest post of … Read more