## Where communities thrive

• Join over 1.5M+ people
• Join over 100K+ communities
• Free without limits
##### Activity
• Nov 25 12:44
guywillis labeled #154
• Nov 25 12:44
guywillis review_requested #154
• Nov 25 12:44
guywillis assigned #154
• Nov 25 12:44
guywillis review_requested #154
• Nov 25 12:44
guywillis review_requested #154
• Nov 25 12:44
guywillis review_requested #154
• Nov 25 12:44
guywillis opened #154
• Nov 25 12:40

guywillis on 153

Added alternative styling to PL… (compare)

• Nov 25 12:39

guywillis on 153

Removed line height from plp na… (compare)

• Nov 25 12:39

guywillis on 153

• Nov 25 12:38
guywillis labeled #153
• Nov 25 12:38
guywillis assigned #153
• Nov 25 12:38
guywillis opened #153
• Nov 24 16:19
guywillis labeled #80
• Nov 24 16:19
guywillis opened #80
• Nov 24 10:52
github-actions[bot] labeled #372
• Nov 24 10:52
github-actions[bot] labeled #373
• Nov 24 10:52

github-actions[bot] on v8.1.1

• Nov 24 10:52

github-actions[bot] on master

Chore(release): 8.1.1 [skip ci]… (compare)

• Nov 24 10:51

kirsty-hames on 372

Emre Ayaz
@ayazemregm
How can I solve this
I want to try to framework internally in the company
Oliver Foster
@oliverfoster
Did you run grunt dev or grunt build first?
Emre Ayaz
@ayazemregm
grunt build
I did not see grunt dev command on installing tutorial
Emre Ayaz
@ayazemregm
It gets stuck on watching part, is this normal behaviour?
Emre Ayaz
@ayazemregm

Starting server in 'build/' using port 9001

Running "connect:server" (connect) task
Waiting forever...
Started connect web server on http://localhost:9001
Fatal error: Exited with code 3
This part is where it gives me exit code
Oliver Foster
@oliverfoster
You got anything else listening on port 9001?
Emre Ayaz
@ayazemregm
no
it is a new instance on google cloud
Hans Hillen
@hhillen:matrix.org
[m]
Is there a way to have Spoor set cmi.core.lesson_status to "failed" when a course completes with a failed assessment but remaining attempts? It seems that tracking.js is preventing this with:
    const canRetry = (completionData.assessment?.canRetry === true);
if (completionData.status === COMPLETION_STATE.FAILED && canRetry) {
return;
}
Hans Hillen
@hhillen:matrix.org
[m]
I would like to the the assessment's attempts to infinite, but still convey to the LMS that a student failed it
Oliver Foster
@oliverfoster
@ayazemregm no, as in that you've checked? or no as in you'd assume not? have you tried changing the port number? Is it definitely not the port, does it have to be something else? What have you tried?
@hhillen:matrix.org often an lms will close the session if it receives a finishing status, however, if that's not the case for you, it sounds like you need to remove that return early.
davetaz
@davetaz
Hello all. With the new relative referencing, is there any way to make a button that links to the next page in a set of pages? Currently this button is an href?
e.g. "Go to the <a href="@page+1">next page</a> to discover more"
Oliver Foster
@oliverfoster
No, you have to use the id url "#/id/[pageId]"
Oliver Foster
@oliverfoster

<a href='#' onclick='event.preventDefault();window.location.hash=\"#/id/\" + require(\"core/js/adapt\").parentView.model.findRelativeModel(\"@page+1\").get(\"_id\");'>Test</a>

That is about as close as I can get

Rookie-zxr
@Rookie-zrx
If I use the adapt framework to change the theme and menu, can I do this? The menu on the left is the content page on the right, and the menu on the left also retains real-time progress detection
Because I now find menus and themes to be two plugins, if you don't change the adapt framework itself, whether it can be done
Chuck Lorenz
@chucklorenz
@Rookie-zrx There is a plug-in that does much of what you are attempting: https://github.com/cgkineo/adapt-toc
It is a menu that is based on the slide-out Drawer. It tracks progress. Why not try that and is if it satisfies your needs? If not, perhaps it can serve as a foundation for your customizations.
Rookie-zxr
@Rookie-zrx
@chucklorenz I'll go to work tomorrow and I'll try cloning, and if this one can reflect this effect, then I'll save a lot of time to deal with it, thank you
Charlie S
@cas2082_gitlab
Hi all, any tips on how to position the hot spots on hotgraphic to the middle of the given coordinates, rather than top left? For example, if I need the middle of the hot spot to located at 50%/50%
Oliver Foster
@oliverfoster
@cas2082_gitlab apply a transform(50%, 50%) to the hotspot itself. Then use top,let 50% in the usual way.
Charlie S
@cas2082_gitlab
@oliverfoster - thank you very much!
.hotgraphic__pin {
transform: translate(-50%,-50%);
}
Oliver Foster
@oliverfoster
:+1: np
Charlie S
@cas2082_gitlab

Sorry, me looking for another pointer again!
I'm trying to add an icon to the start of each component's instruction.
I've modified src\core\templates\partials\component.hbs:

    <div class="component__instruction {{lowercase _component}}__instruction">
<div class="component__instruction-icon {{lowercase _component}}__instruction-icon icon icon-mouse"></div>
<div class="component__instruction-inner {{lowercase _component}}__instruction-inner">
{{{compile instruction}}}
</div>
</div>

This works for any component that uses an .hbs template (e.g. hotgraphic). But not for components with a .jsx template (e.g. accordion). Is there a better way to approach this?

Oliver Foster
@oliverfoster
Modify the jsx template as well.
I works in the same way, just copy it over.
Oliver Foster
@oliverfoster
*it
Charlie S
@cas2082_gitlab
@oliverfoster thanks again for pointing me in the correct direction - header.jsx
Oliver Foster
@oliverfoster
:+1:
Simon Date
@simondate
Has anyone here had any experience with SCORM connectors?
I had never heard of them before today, but one of my clients uses them. This sales page explains what they do https://www.scormnext.es/en/scorm-cloud-connectors-catalogue/ essentially the main SCORM package is hosted on a remote LMS and the client is sent just a link to that, meaning you have control over the files
One of my clients has informed me that when they deliver Adapt courses through a SCORM connector to their clients, any time a learner launches a course it is instantly marked as complete
I was going to test on SCORM Cloud on Monday, just wanted to check if anyone else had any issues with this technology before?
sebj8
@sebj8
Hello, Is there a public plugin like: https://community.adaptlearning.org/kineo_example1/index.html#/id/co-05 when you scroll between images (blocks) like video? In code there is mention about "adapt-video-scroll", but I can't find this plugin...
Oliver Foster
@oliverfoster
hemant mishra
Hello everyone,
can we disable accordion item and enable one by one. After clicking the first item then enable the 2nd item
Simon Date
@simondate
@hemantm40372177_twitter , no that is not a feature of the Accordion. To achieve that functionality you would have to modify the Javascript of the component yourself
hemant mishra
Thanks Simon
Dan Gray
@dancgray

Hello. Has anyone had any issues with trickle locking and no trickle button after updating a course in an LMS. Couldn't find anything specific in issues.

Basics steps for issue are user starts ccourse & gets part way through - content is updated and re-uploaded to LMS (just block and text component ID changed on 1st block) - user reopens course and cannot proceed. Trickle seems to think there is incomplete content somewhere within the rendered blocks but can't pinpoint where trickle is falling over. All blocks and components on screen set to complete. It's in FW v5.18.7 & xAPI. Latest FW version works fine but it's not an option for us at the moment. Any pointers appreciated.

Guy Willis
@guywillis

A thumbs up to the last comment which contains the proposed changes to vanilla would suffice if you're happy with the changes, otherwise please leave a comment.

k-jensen
@k-jensen
Hi all, does anyone have a suggestion to conditionally set a component model? I am creating a new component where, depending on a model variable could be either a standard presentation component OR a question component. Or should I just "bite the bullet" and create two different components instead.
Kevin Doherty
@kevindoherty30
Hi All,
Is it still possible to customise a course by pulling in the learners name, I may be using the wrong placeholder value but I thought it was {{_globals._learnerInfo.firstname}}? I believe that is specific to using spoor as well, but curious if it was ever implemented for xAPI as well?
Kevin Doherty
@kevindoherty30
You can ignore the above, I must have been setting it incorrectly as I've just tried it again and was able to get the name on an xAPI course and a SCORM course
JC Geduld
@jameelio
Hi guys just a question when running adapt course on webserver, how does one get course progression ? example course completion in percentage 15% or 100% completed