Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Staff lists are lists of staff pages in different formats. There are two different kinds of staff listings:

  1. using [stafflist] and [/stafflist] to generate a list in the new responsive format
  2. using {begin stafflist} and {end stafflist} to generate a list in the old template format

An example of 1 would be  http://www.victoria.ac.nz/about/governance/academic/staff/

 

An example of 2 would be http://www.victoria.ac.nz/psyc/about/staff

 

Type 1

To use this, simply add the following contents:

 

[stafflist]
emailaddress1@vuw.ac.nz
emailaddress2@vuw.ac.nz
[/stafflist] 

Note, each email address must be on a newline or it will not work.

This will return the contact details and picture of the staff member who has that email address.

This format of stafflist also allows for the values displayed to be overwritten.

{ "Read_More_URL": "", "Name": "", "Job_Title": "", "Organization_Unit": "", "Biography": “”}

If the email address doesn't match anything in the existing database, it will simply be removed and ignored. ensure email addresses and overriding values are spelt correctly.

If the overrides are not working:

Make sure that the Value Name and Replacement Value are in speech marks.

Good:

"Name": "New Name"

Bad:

ValuesReason
"Name :" "New Name"" after :
Name: New NameNo "
"Name: New Name"Missing " before and after :
"Name': 'New Name" 

Started with " but used ' before :

" must match

 

TODO How are multiple roles handled here? - They aren't... (sad)

 

 

  • No labels