Versions Compared

Key

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

Table of Contents

...

This is a bit confusing, so see Architecture>Interior Architecture for a good example of how it is used. (Asset id 309042)

The content element is used to provide extra information about the related degree where necessary. This is just a plain text field. See Economics and Finance>Actuarial Science for a good example of this (asset number 309568).

...

Code Block
{
    "contentType": "related-degrees",
    "content": {
        "undergrad": [{
			"asset_assetid"                        : "%globals_asset_assetid:339832^json_encode%",
			"asset_metadata_ProgrammeCode"         : "%globals_asset_metadata_ProgrammeCode:339832^json_encode%",
			"asset_metadata_LengthOfFulltimeStudy" : "%globals_asset_metadata_LengthOfFulltimeStudy:339832^json_encode%",
			"asset_metadata_WebPath"               : "%globals_asset_metadata_WebPath:339832^json_encode%",
			"asset_name"                           : "%globals_asset_name:339832^json_encode%",
            "content"                              : "",
			"leadsIntoLink"                        : "%globals_asset_url:62170^json_encode%",
			"leadsIntoText"                        : "Master of Architecture (Professional)",
            "leadsIntoExtraPreText"                : "and other",
            "leadsIntoExtraLink"                   : "%globals_asset_url:62166^json_encode%",
            "leadsIntoExtraLinkText"               : "postgraduate programmes"
        }],
        "postgrad": [{
			"asset_assetid"                        : "%globals_asset_assetid:296680^json_encode%",
			"asset_metadata_ProgrammeCode"         : "MClinIm",
			"asset_metadata_LengthOfFulltimeStudy" : "1-2 years (180 points)",
			"asset_metadata_WebPath"               : "%globals_asset_url:296680^json_encode%",
			"asset_name"                           : "Master of Clinical Immunology"
        }]
    }
}

 

Used exclusively on subject pages for non-major subjects. (e.g. Linguistics>Text Technologies). Allows the subject to link to the victoria search page with the appropriate subject selected.

 

Code Block
{
    "contentType": "related-nonmajor-courses",
    "content": {
        "undergrad": [{
            "subjectCode":"127",
            "content":"Learn more about the undergraduate courses available in Science in Society"
        }],
        "postgrad": [{
            "subjectCode":"139",
            "content":"Learn more about the postgraduate courses available in Science in Society"
        }]
    }
}

 

slide-show

(architecture has a good example of a slideshow)

...