Selection Criteria:
Not to select if the ‘display” field in the fbu_faculty table is not “Y”
Not to select if the ‘language” field in the fbu_faculty table does not contain the corresponding language code,
for example:
On the Chinese version of a Clinic Practitioners page, the ‘language’ field should contain the language code ‘zh‘ and
On the English version of a Clinic Practitioners page, the ‘language’ field should contain the language code ‘en‘
Check the table structure mentioned in the above References block.
Full Name Display criteria:
On the Chinese version of a Clinic Practitioners page, use content from “ch_names” field from fbu_faculty table as Full Name
On the English version of a Clinic Practitioners page, use content from “firstname” and “lastname” fields from fbu_faculty table as Full Name.
If a Practitioner does not have “ch_name” (empty) to show on the Chinese page, display his/her “firstname” and “lastname” Chinese name.
By the same token,
If a Practitioner does not have “firstname” and “lastname” (empty) to show on the English page, display his/her “ch_name” as English name.
All names, be it lastname, firstname or ch_names, come from fbu_faculty table.
Keep the display order by Full Name with English name first, then Chinese name.
Check the Faculty page as a reference:
教學師資
Keep the display order by Full Name with English name first, then Chinese name.
Check the Faculty page as a reference:
教學師資
4 thoughts on “Enhance Clinic Practitioners Selection and Display Criteria”
Display the Card listing order by Full name with Practitioners with English name first then Practitioners with Chinese name.
All points have been done.
Reviewing
closed