You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 6
Next »
1) Create individual custom dates if not currently present under 607663
2) Create a custom page to contain your date sets. These are found under 771712. Give it a relatively clear name - the DIV's within the page must give the details for each key date set. See 843533 for example
3) Ensure the single custom dates and date set page are live. The application will fail if they are not live.
4) Add your new date set and an example of the qual where it is used to the custom dates table, found in the same menu area as this page. This is so others can re-use or look-up the date sets used quickly
5) Add the new date set page to the metadata of the parent qual, or to the quals underneath the parent asset (see KeyDateSet in the metadata of 373328 for example)
6) Apply the following code to the postgrad-apply (see #380708) block / atAGlance (see #720362) block in place of current JSON object. Copy the code to retain indents / structure from the relevant asset, or JSONLint it:
{ "contentType" : "postgrad-apply", "content" : { "startStudying" : { "type" : "keyDatesSet", "heading" : "Start Studying", "appendix" : "", "keyDatesSet" : [ %asset_parent^as_asset:asset_metadata_keyDateSet^as_asset:asset_contents^replace_keywords:empty:{asset_parent^as_asset:asset_metadata_parentProgramme^as_asset:asset_metadata_keyDateSet^as_asset:asset_contents}% {}] }, "fees" : { "contentType" : "fees", "heading" : "", "content" : "" } } } |
---|
or
{ "contentType" :"atAGlance", "references" :["qualifications"], "qualificationDefault":[{ "asset_assetid" : "%globals_asset_metadata_ProgrammeId^as_asset:asset_assetid^json_encode%", "name" : "%globals_asset_metadata_ProgrammeId^as_asset:asset_name^json_encode%", "major_code" : "%globals_asset_metadata_ProgrammeId^as_asset:asset_metadata_MajorCode^json_encode%", "asset_short_name" : "%globals_asset_metadata_ProgrammeId^as_asset:asset_short_name^json_encode%", "asset_metadata_WebPath" : "%globals_asset_metadata_ProgrammeId^as_asset:asset_metadata_WebPath^json_encode%", "asset_metadata_courses" : "%globals_asset_metadata_ProgrammeId^as_asset:asset_metadata_courses^json_encode%", "asset_metadata_points" : "%globals_asset_metadata_ProgrammeId^as_asset:asset_metadata_points^json_encode%", "asset_metadata_location" : "%globals_asset_metadata_ProgrammeId^as_asset:asset_metadata_location^json_encode%", "asset_metadata_requiredContact" : "%globals_asset_metadata_ProgrammeId^as_asset:asset_metadata_requiredContact^json_encode%", "asset_metadata_composition" : "%globals_asset_metadata_ProgrammeId^as_asset:asset_metadata_composition^json_encode%", "asset_metadata_applicationsDue" : "%globals_asset_metadata_ProgrammeId^as_asset:asset_metadata_applicationsDue^json_encode%", "asset_metadata_applicationsDueCustom" : "%globals_asset_metadata_ProgrammeId^as_asset:asset_metadata_applicationsDueCustom^json_encode%", "asset_metadata_startingTrimester" : "%globals_asset_metadata_ProgrammeId^as_asset:asset_metadata_startingTrimester^json_encode%", "asset_metadata_summaryEntryRequirements" : "%globals_asset_metadata_ProgrammeId^as_asset:asset_metadata_summaryEntryRequirements^json_encode%", "asset_metadata_canBeStudiedPartTime" : "%globals_asset_metadata_ProgrammeId^as_asset:asset_metadata_canBeStudiedPartTime^json_encode%", "asset_metadata_durationDescription" : "%globals_asset_metadata_ProgrammeId^as_asset:asset_metadata_durationDescription^json_encode%", "asset_metadata_minimumDuration" : "%globals_asset_metadata_ProgrammeId^as_asset:asset_metadata_minimumDuration^json_encode%", "asset_metadata_internationalApiCode" : "%globals_asset_metadata_ProgrammeId^as_asset:asset_metadata_internationalApiCode^json_encode%", "asset_metadata_keyDateSet" : [ %asset_parent^as_asset:asset_metadata_keyDateSet^as_asset:asset_contents% {} ], "asset_metadata_keyInfoSet" : "%globals_asset_metadata_ProgrammeId^as_asset:asset_metadata_keyInfoSet%", "showOldCardDefault" : "true" }] } |
---|
7) Shuffle the key date set DIV's up the page, to sit below any international warning DIVs.
Caveats
Don't edit existing individual date, date sets or date pages. These are used in multiple areas, so editing it in one area will create erroneous dates in other areas.
Add Comment