Relates to - WIP-1478Getting issue details... STATUS
Here's how to turn this: MMBA 531-599
into this: MMBA 531-599
For requirement course ranges. E.g. "Complete two further courses from MMBA 531-599." in the MBA.
Process
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 DIV.
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.
The link should look like this:
http://www.victoria.ac.nz/search?q=inmeta:subjectcode=CODE+AND+NUM1..NUM2&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=inmeta:subjectcode=MMBA+AND+531..599&site=course_search_collection
The html code looks like this:
<a href="http://www.victoria.ac.nz/search?q=inmeta:subjectcode=MMBA+AND+531..599&site=course_search_collection">MMBA 531-599</a>
CAUTION
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.