Picture of Dick Moore
an idea to help with development / debuging
by Dick Moore - Thursday, 7 August 2014, 4:16 PM
 

Hi there

How difficult would it be to have a software switch that we could use to tell us the component, block or artical id when the course is being rendered.

I know that we can get some of that from the url but only the top level item.  Having a small label appear on screen or as a mouse over that told you that what you are looking at is co-30  or some such would be VERY useful.

Just a thought.

Dick

 

 

 

Picture of Daryl Hedley
Re: an idea to help with development / debuging
by Daryl Hedley - Thursday, 7 August 2014, 7:25 PM
 

Hey Dick,

I built a really rough extension called shadowId that does just that. To install it run:

"adapt install shadowId". You shouldn't need to add any JSON data in the course and should just work. Remember to remove this in production!

Thanks,

Daryl

Picture of Dick Moore
Re: an idea to help with development / debuging
by Dick Moore - Friday, 8 August 2014, 10:22 AM
 

Daryl

That's really cool and will make development much easier.

We sym link the SRC directory out from our development environment into one of our two production build enviromments (SCORM and NON SCORM) so removing it is not a problem :)

 

D