Hey Adam,
Like Kev said, the structure of the course does rely on having this structure:
course
=> contentObjects
=> articles
=> blocks
=> components
But this is not to say that you can't have a one page course that routes straight there. We don't give access to the router directly (we believe the router has a primary role of routing between pages and menus) but you can route to a one page course by doing the following.
Go into the menu folder and open up your JS file. In here you can tap into Adapt's event system. Remove everything under the variable declaration and put this:
Adapt.on('router:menu', function(model) {
// Listen to when Adapt hits a menu and navigate to a page. Make sure the string here is the page ID you're trying to route too.
var newRouteId = 'co-05'
Backbone.history.navigate('#/id/' + newRouteId, true);
});
Adapt.on('router:page', function(model) {
// Hide the navigation back button. _.defer makes show everything is rendered before hiding.
_.defer(function() {
$('.navigation-back-button').addClass('display-none');
});
});
As a vibrant member of the community - would you mind creating a new menu plugin and registering it in the community registry? It's a great way to contribute back to the community. Instructions on how to do this are here:
https://github.com/adaptlearning/adapt_framework/wiki/Developing-plugins
If you need any more help on registering this please contact me.
Thanks and hope this helps,
Daryl