Picture of Tom Taylor
Re: Creating Adapt menus - How to?
by Tom Taylor - Tuesday, 16 August 2016, 2:25 PM
 

Hi Henrik,

1)

By default, Adapt currently only supports 1 menu type per course. The reason for this being that any menu included in src/menu will render itself when the course wants to render a menu. Therefore, if you want a specific menu in your course, all you need do is to drop it into that folder.

2)

The properties.schema is the file that tells the authoring tool which attributes are editable, so you're indeed looking in the right place. However In the case of menus, there's currently no way to modify these settings in-tool (although this is something that is on our agenda).

What you can do however, is to set up some styles in the theme, and add them to the relevant section using the classes attribute. Due to the way that the tool only includes used assets, you'd also need to find some way to select/include the specific menu image you want. One way of doing this would be to write a custom extension which sets the image path (have a look at resources for something vaguely similar).