Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Relates to 

Jira Legacy
serverJIRA (victoriauniversity.atlassian.net)
serverId27f93f26-1c92-33a3-8ce5-991824ed6542
keyWIP-1478

 

Here's how to turn this: MMBA 531-599

into this: MMBA 531-599

in the requirements pages for degrees and programmes.

 

For requirement course ranges. E.g. "Complete two further courses from MMBA 531-599." in the MBA.

 

 

Locate the asset of the specific qualification you are editing.

Edit the metadata value HeadingOverride. This should already contain the name of the asset, with any course codes converted to html links.


Make sure that when you're editing this metadata field that the Format in the WYSIWYG menu is set to DIVP.Image Removed

 

Now change the course code and range into a link, either by selecting it and creating a link using the wysiwyg interface, or by editing the code manually.

...

Code Block
http://www.victoria.ac.nz/search?q=+&as_q=inmeta:subjectcode=CODE+AND+NUM1..NUM2inmeta:coursenumber:NUM1%2E%2ENUM2&site=course_search_collection

With the values CODE, NUM1 and NUM2 replaced with the appropriate values.

 

 

For example, MMBA 531-599 would become

http://www.victoria.ac.nz/search?q=+&as_q=inmeta:subjectcode=MMBA+AND+531..inmeta:coursenumber:531%2E%2E599&site=course_search_collection

 

 

The html code looks like this:

Code Block
<a href="http://www.victoria.ac.nz/search?q=+&as_q=inmeta:subjectcode=MMBA+AND+531..599&amp;inmeta:coursenumber:531%2E%2E599&site=course_search_collection">MMBA 531-599</a>

 

The script we use to replace the qualification courses with their links will overwrite this value, so ensure you update course ranges after you have run the script to update the links.