{"_id":"56d8888bb159f10b00304653","category":{"_id":"56d88885b159f10b00304611","__v":1,"version":"56d88884b159f10b00304609","pages":["56d8888bb159f10b00304650","56d8888bb159f10b00304651","56d8888bb159f10b00304652","56d8888bb159f10b00304653","56d8888bb159f10b00304654","56d8888bb159f10b00304655","56d8888bb159f10b00304656","56d8888bb159f10b00304657","56d8888bb159f10b00304658","56d8888bb159f10b00304659"],"project":"549a321bf876ae0b00f33623","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-05-19T22:25:35.426Z","from_sync":false,"order":7,"slug":"templates","title":"Templates"},"project":"549a321bf876ae0b00f33623","user":"549a320d5b50c21400fae689","parentDoc":null,"__v":0,"version":{"_id":"56d88884b159f10b00304609","__v":3,"project":"549a321bf876ae0b00f33623","createdAt":"2016-03-03T18:55:00.567Z","releaseDate":"2016-03-03T18:55:00.567Z","categories":["56d88885b159f10b0030460a","56d88885b159f10b0030460b","56d88885b159f10b0030460c","56d88885b159f10b0030460d","56d88885b159f10b0030460e","56d88885b159f10b0030460f","56d88885b159f10b00304610","56d88885b159f10b00304611","56d88885b159f10b00304612","56d88885b159f10b00304613","56d88885b159f10b00304614","56d89250b159f10b003046d4","56da13977222d50b0070167c"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"2.2.1","version":"2.2.1"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-05-19T23:58:03.183Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"auth":"required","params":[],"url":""},"isReference":false,"order":3,"body":"[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"audio.php\"\n}\n[/block]\nTemplate for displaying embedded audio on course homepage.\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"complete-lesson-link.php\"\n}\n[/block]\nLesson Template: Template for managing complete lesson link. Link will display if lesson is not completed. If the lesson is completed it will display \"This Lesson is completed\" If there is a quiz assigned to the lesson it will display \"Take Quiz\"\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"difficulty.php\"\n}\n[/block]\nTemplate for displaying the lesson difficulty on course homepage.\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"featured-image.php\"\n}\n[/block]\nTemplate for displaying the featured image on the course homepage.\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"lesson-navigation.php\"\n}\n[/block]\nLesson Template: Template for displaying the lesson navigation below the lesson content. Displays previous and next lesson in the section. If there is no previous lesson OR there is no prior lesson the navigation link is replaced with \"Back to *Course Name*.\"\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"lesson_length.php\"\n}\n[/block]\nTemplate for displaying the length of the course on the course home page.\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"parent_course.php\"\n}\n[/block]\nTemplate for displaying the \"Back to *Name of Course*\" link on the top of each lesson.\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"price.php\"\n}\n[/block]\nTemplate for displaying the course price options. Template will display single price and/or multiple payment options.\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"purchase-link.php\"\n}\n[/block]\nTemplate for displaying the \"Take this Course\" button on the course homepage. Button is form that submits different information based on status of user and course. \n  * If user is not logged in the button redirects the user to the registration page. \n  * If user is logged in but not enrolled it either enrolls the user (free course) or redirects the user to the purchase page to pay for the course (paid course.) \n  * If the course is free but restricted by a membership and the user does not have that membership the user is redirected to the membership details page. \n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"syllabus.php\"\n}\n[/block]\nTemplate for displaying the course syllabus on the course homepage. Displays the section title (optional) and each lesson in the section. If the user has completed the lesson it is marked with a checkmark. If the user is not enrolled in the course, clicking on the lesson links will display a message \"You must enroll in this course to view the lesson.\"\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"title.php\"\n}\n[/block]\nTemplate for displaying the title of the course on the course home page.\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"video.php\"\n}\n[/block]\nTemplate for displaying the embedded video content on the course home page.","excerpt":"lifterlms/Templates/Course","slug":"course-templates","type":"basic","title":"Course Templates"}

Course Templates

lifterlms/Templates/Course

[block:api-header] { "type": "basic", "title": "audio.php" } [/block] Template for displaying embedded audio on course homepage. [block:api-header] { "type": "basic", "title": "complete-lesson-link.php" } [/block] Lesson Template: Template for managing complete lesson link. Link will display if lesson is not completed. If the lesson is completed it will display "This Lesson is completed" If there is a quiz assigned to the lesson it will display "Take Quiz" [block:api-header] { "type": "basic", "title": "difficulty.php" } [/block] Template for displaying the lesson difficulty on course homepage. [block:api-header] { "type": "basic", "title": "featured-image.php" } [/block] Template for displaying the featured image on the course homepage. [block:api-header] { "type": "basic", "title": "lesson-navigation.php" } [/block] Lesson Template: Template for displaying the lesson navigation below the lesson content. Displays previous and next lesson in the section. If there is no previous lesson OR there is no prior lesson the navigation link is replaced with "Back to *Course Name*." [block:api-header] { "type": "basic", "title": "lesson_length.php" } [/block] Template for displaying the length of the course on the course home page. [block:api-header] { "type": "basic", "title": "parent_course.php" } [/block] Template for displaying the "Back to *Name of Course*" link on the top of each lesson. [block:api-header] { "type": "basic", "title": "price.php" } [/block] Template for displaying the course price options. Template will display single price and/or multiple payment options. [block:api-header] { "type": "basic", "title": "purchase-link.php" } [/block] Template for displaying the "Take this Course" button on the course homepage. Button is form that submits different information based on status of user and course. * If user is not logged in the button redirects the user to the registration page. * If user is logged in but not enrolled it either enrolls the user (free course) or redirects the user to the purchase page to pay for the course (paid course.) * If the course is free but restricted by a membership and the user does not have that membership the user is redirected to the membership details page. [block:api-header] { "type": "basic", "title": "syllabus.php" } [/block] Template for displaying the course syllabus on the course homepage. Displays the section title (optional) and each lesson in the section. If the user has completed the lesson it is marked with a checkmark. If the user is not enrolled in the course, clicking on the lesson links will display a message "You must enroll in this course to view the lesson." [block:api-header] { "type": "basic", "title": "title.php" } [/block] Template for displaying the title of the course on the course home page. [block:api-header] { "type": "basic", "title": "video.php" } [/block] Template for displaying the embedded video content on the course home page.