This document outlines the content layouts used within the content types to build a course page. This is a breakdown of the course content type:
Name: Course Content type
ID: 359
URL: https://tcdie-cms01-production.terminalfour.net/terminalfour/page/contenttype#edit/359
Text/html
This is used to show custom logic to display a course. If course matches set rules then content will be displayed (text/main).
If show course is Yes or Details is no null or course is not PGR or PGD.
Text/main
This is the main body page for the course. This Content layout includes all the layouts to build the course page.
Navigation assets used
- TCD - Courses – Banner id 342
- TCD - Courses - Banner Options id 370
Used to fetch text/course-banner from the current section
This is used to fetch text/course-banner-options from the current section
- TCD - Course – Duration id 353
- TCD - Courses - Places2 id 351
This is used to fetch text/duration from the current section
Used to fetch text/place2 from current section
- TCD - Courses Header CAO id 390
- TCD - Course - Details Menu id 388
Used to fetch text/cao_heading from the current section
Used to fetch text/detailsmenu from the current section
- TCD - Courses Fee Menu id 393
- TCD Courses Admission link Id 361
Used to fetch text/feesmenu from the current section
Used to fetch text/admission_link from the current section
- TCD Courses Get In Touch menu link Id 392
- TCD - Course - PG - Register your Interest – menu id 379
Used to fetch text/GetInTouchmenu from the current section
Used to fetch text/GetInTouchmenu from the current section
- TCD - Courses – Video id 344
- TCD - Course - Details Body id 387
Used to fetch text/video from the current section
Used to fetch text/DetailsBody from the current section
- TCD - courses Admission id 360
- TCD - courses Fees id 323
Used to fetch text/admission from the current section
Used to fetch text/fees from the current section
- TCD - courses Apply id 325
- TCD - Course - Get In Touch Body id 386
Used to fetch text/apply from the current section
Used to fetch text/GetInTouchBody from the current section
- TCD - Courses - get Testimonial id 329
- TCD - Courses - Additional Course - get Related Courses id 331
Used to fetch text/testimonial from the current section
Used to fetch text/related from the current section
text/a-z
This is used to create a listing view for the course listing.i.e https://www.tcd.ie/courses/postgraduate/postgraduate-research/arts-humanities-and-social-sciences/school-of-business/ at the bottom of the page
URL: https://tcdie-cms01-production.terminalfour.net/terminalfour/page/contentlayouts/36792
text/admission
Used to output admission text, if course type = shortcourses then do nothing
URL: https://tcdie-cms01-production.terminalfour.net/terminalfour/page/contentlayouts/59837
text/admission_link
Used to output admission link, if course type = shortcourses then do nothing.
URL: https://tcdie-cms01-production.terminalfour.net/terminalfour/page/contentlayouts/59847
Text/apply
Used to output apply text to the course. Contains custom rules to do nothing if Course Code is equal to DUBDM-ACT-1F09 & DPTBU-BADM-1F09.
text/apply_button
Used to output apply button to the course. Contains custom rules to do nothing if Course Code is equal to DUBDM-ACT-1F09 & DPTBU-BADM-1F09.
text/apply_duration
Has ruling in place to allow duration to be overwritten.
text/cao
Used to format CAO string which is output to the page. And to make sure only output for UG courses.
text/cao_heading
Used to format CAO heading which is output to the page. And to make sure only output for UG courses.
text/closing
Used to format closing date which is output to the page. This is for only UG courses
text/course-banner
This is used to structure the Course Banner. It includes the options for different types of banners.
Banner from Additional Courses <t4 type="navigation" name="TCD - Courses - Additional Course - Banner" id="317" />
Global Banner <t4 type="navigation" name="TCD - Courses - Global Banner - Banner Image" id="341" />
Global UG Banner <t4 type="navigation" name="Course - Global - UG Banner" id="354" />
Global PG Banner <t4 type="navigation" name="Course - Global - PG Banner" id="355" />
If Banner is set in the Additional Course Content type output that
ELSE
If UG course output UG Banner
ELSE
If PG course output UG Banner
Else
Output Global Banner
text/course-json
Used to format JSON for course Search.
text/DetailsBody
Used to output the main body of the course:
- CAO
- Places
- Intake
- Coords
- Directors
- Closing
- Joint
Navigation:
Include Course Details: <t4 type="navigation" name="TCD - Courses - Global Course - Course Details" id="321" />
Include Closing: <t4 type="navigation" name="TCD Courses" id="383" />
Include Places: <t4 type="navigation" name="TCD - Courses - Places" id="319" />
Include CAO: <t4 type="navigation" name="TCD - Config - CAO" id="385" />
text/detailsmenu
Used output menu option for Course Details
Only output course details menu option if one of the following has content
- Joint
- Globalcourse
- Directors
- Admin
- Coords
- CAO
- Title
- closing
text/ duration
Outputs the duration to the page. If the duration override is blank and the duration is not blank output duraction else output duration override.
text/fees
Output fee information to the page.
If course type = shortcourse output heading
text/feesmenu
Used to output fee menu item
text/funnelback
Used to create custom feed for funnelback
text/GetInTouchBody
Used to format the content which appears in the Get In Touch Box on the course page. This includes elements for Telephone, email and course URL.
text/ GetInTouchmenu
Used to output Get In Touch menu item
text/link
Used to create a link which is used for Listing requirements.
text/listing
This layout is used for testing, to make sure the correct course is appearing on the listing
text/mode
Used to convert Course mode from aberration to full words
mode == 'FP' Then Full-Time & Part-Time
mode == 'F' Then Full-Time
mode == 'P' Then Part-Time
mode == 'O' Then 'Online
mode == 'M' Then Module
text/places
Used to output the number of place available to the page if content is set
text/places_2
Used to output places to the banner
text/register-interest
Outputs different messages for register Interest if you are a Postgraduate Taught, PMOD or CPD
text/register-interest-menu
Outputs menu item for Register your interest if you are Postgraduate Taught, PMOD or CPD
text/Related-Course
Layout for Related Courses
text/testimonial
Used to display basic testimonial or load in new testimonial
Navigation
Loads in New testimonial from Testimonial Silo <t4 type="navigation" name="TCD - Courses - Course Testimonial" id="328" />
text/video
Used to display basic video or load in new video
Navigation
Loads in New testimonial from Video Silo <t4 type="navigation" name="TCD - Courses - Course video" id="453" />
Additional Course Content
ID 357
URL: https://tcdie-cms01-production.terminalfour.net/terminalfour/page/contenttype#edit/357
text/additional-course-banner
Used to set custom banner image for a course
Text/award
Use to override an award for a course
text/banner-options
Used to apply a gradient over the course banner.
text/FPtime
Used to override a course if it is full time or part time.
text/nfq
Use to set the NFQ for a course.
text/other-course-json
Used to load course JSON for search
text/pg-grouping
Use to override the PG Grouping.
text/related
Used to display related courses. Can have up to 4 related courses.
text/ug-grouping
Use to override the UG Grouping.
text/tagging
Used to add tagging to a course which in loaded into the course JSON