Skip to content
Grapevine Learning Support
Contents

Grapevine Branches

Grapevine Branches are embeddable course pieces for your own website: the same course cards, outlines and lessons as on Grapevine, on your pages. Each one below is live, against a sample site.

Adding a Branch

<script src="https://grapevinelearning.org/branches/v1/grapevine.js"
        data-key="$GRAPEVINE_PUBLISHABLE_KEY"
        data-site="https://your-site.grapevinelearning.org"></script>

<gvl-course-card course="12"></gvl-course-card>

Your site's publishable key, from Site Admin → API. Add your website to "Websites allowed to use it" there too.

Course card

One course as the catalog shows it: its facts, first modules and lesson count. The whole card is the link.

<gvl-course-card course="57"></gvl-course-card>

Course outline

The syllabus a visitor sees: modules, lesson titles and kinds, and when each module opens.

<gvl-course-outline course="57"></gvl-course-outline>

Catalog

Every course in the site's order, with search and paging. Or just the courses you list.

<gvl-catalog per-page="6"></gvl-catalog>

Sign in

A learner signs in with a code emailed to them, for pages with no server of their own.

<gvl-sign-in></gvl-sign-in>

Course

The whole course for an enrolled learner: the outline with their progress, and the lesson player.

<gvl-course course="57"></gvl-course>

Enroll

The right way in for this visitor, including paying on your own page.

<gvl-enroll course="65"></gvl-enroll>

My courses

The courses a learner is on, as cards, as Grapevine's My Courses page shows them.

<gvl-my-courses></gvl-my-courses>

Progress

How far a learner is through one course, as a bar or a line of text.

<gvl-progress course="57"></gvl-progress>

My grades

A learner's points on a course, each graded answer and the teacher's feedback.

<gvl-my-grades course="57"></gvl-my-grades>

Lesson

One lesson of a course, with its questions checked by Grapevine.

<gvl-lesson lesson="63"></gvl-lesson>

Gradebook

For a teacher: their roster and the grading queue, graded from your own page.

<gvl-gradebook></gvl-gradebook>