Picture of Mark D'Aquin
Importing Project
by Mark D'Aquin - Thursday, 5 November 2015, 3:13 PM
 

If something was created in the Adapt Framework (not Builder), but now wanting to bring this into Builder - can this be done? Or, is this what is being worked on with the import feature? 

If I just want to bring in the Theme is there an easy way to do that?

Thanks - Mark.

Picture of Tom Taylor
Re: Importing Project
by Tom Taylor - Friday, 6 November 2015, 9:47 AM
 

Hi Mark,

That is correct: the import/export feature is currently being worked on, but probably won't be ready until the new year, so your only option at the moment is to rebuild your course manually.

You can however upload any custom plugins (components, extensions, themes or menus) for use in your authoring tool courses. To do this, you'll need to bump the version number in the bower.json file, re-zip, and upload using the plugin manager page in the tool. If you're comfortable working with JSON, you can also change some of the other values in that file (i.e. renaming your theme from the default 'vanilla').

Picture of Mark D'Aquin
Re: Importing Project
by Mark D'Aquin - Friday, 6 November 2015, 3:18 PM
 

Hi Tom - thank you, I will give that a try.

Picture of Mark D'Aquin
Re: Importing Project
by Mark D'Aquin - Friday, 6 November 2015, 3:34 PM
 

Hi Tom - just a quick check. If I want to import my theme from my-adapt-course into Adapt Builder...

  1. Make a copy of my theme file
  2. Edit the bower.json

{
"name": "adapt-contrib-vanilla", // Rename to custom theme name
"version": "2.0.0", // Rename to builder version?
"framework": "^2.0.0", // This stays the same?
"homepage": "https://github.com/darylhedley/adapt-contrib-vanilla", //Do I just remove this?
"issues": "https://adaptlearning.atlassian.net/secure/CreateIssueDetails!init.jspa? pid=10100&issuetype=1&priority=6&components=10516", // And remove this?
"displayName": "Vanilla", // New custom theme name
"theme": "vanilla", // New name
"description": "A core bundled theme", // New description
"main": "js/vanilla.js", // I am guessing it would still use this js file
"keywords": [
"adapt-plugin",
"adapt-theme"
], // Change? or does it matter?
"license": "MIT", // keep?
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
]
}

Once all this is complete...

  1. Save file
  2. Zip theme folder
  3. Upload with plug-in manager

Is this correct?

Thank you,

Mark

Picture of Mark D'Aquin
Re: Importing Project
by Mark D'Aquin - Friday, 6 November 2015, 3:35 PM
 

Meant to say theme folder above.