Picture of Tamieka Geter
Adding the Home button to the downloaded version from the AT
by Tamieka Geter - Friday, 5 May 2017, 8:51 PM
 

Is there anyway to add the Home button to the downloaded version of the course that comes from the Authoring tool?  Or can you only add it to the exported source code version?

Picture of Matt Leathes
Re: Adding the Home button to the downloaded version from the AT
by Matt Leathes - Tuesday, 9 May 2017, 2:34 PM
 

How are you applying it to the exported version?

Picture of Tamieka Geter
Re: Adding the Home button to the downloaded version from the AT
by Tamieka Geter - Tuesday, 9 May 2017, 3:23 PM
 

Hi Matt,

I added the code below to the following file: src/theme/adapt-contrib-vanilla/templates/navigation.hbs

<button class="base navigation-home-button icon icon-home" data-event="homeButton" role="button" aria-label="{{_globals._accessibility._ariaLabels.home}}"></button>

I can't find that file in the downloaded version.

Picture of Matt Leathes
Re: Adding the Home button to the downloaded version from the AT
by Matt Leathes - Tuesday, 9 May 2017, 4:18 PM
 

No, it's compiled into the output.

At the moment, the best way to do this would be to customise the theme for the authoring tool. How you go about this depends on whether you always want your theme to have the home button or just sometimes.

I'm afraid I don't do much themeing nor do I use the authoring tool day-to-day - but there's plenty of discussion about this here on the forum (this for example) and of course you can always pop into the authoring tool chat room if you have any questions.