The place for more technical questions for those who want to create new pagetypes or bespoke functionality.

blending Xerte Online Toolkits with a Mysql call

Plus d'informations
il y a 12 ans 8 mois - il y a 12 ans 8 mois #943 par Rolaine
I am mainly using Xerte Online Toolkits object inserted into a Moodle classroom on a hosted linux server. I want to be able to track the users' keystrokes and time how long they spend on each screen. For example, I want to make a navigator connection page update my database with a note about what connector page option button they clicked on first. Knowing this keystroke history makes it a whole lot easier to figure out how to help them regain fiscal stability.

Preferred method: Where do I look in the XOT code to figure out where to insert a custom, new database record's save call that updates my central mysql database?

Alternatively, if I should customize a toolkit page using Xerte desktop, how do I pull the Online Toolkit lesson object down locally into Xerte, then customize that lesson object by embeding a PHP mysql call and a PHP timer function into that page and upload it back up to the server's Xerte Online Toolkits and/or Moodle framework?
Dernière édition: il y a 12 ans 8 mois par Rolaine.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 12 ans 8 mois #944 par Rolaine

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 12 ans 8 mois #945 par tom
Please note, that a lot of what you want is alredy there. If you put a SCORM 2004 LO in Moodle, time spent in each page is tracked, including in which order they were visited. This information ends up in MySQL as well. However, it will be in SCORM compliant datastructures, so you would have to do some work to extract what you need from there.

Alternatively you could create your own implementation of a xttracking.js file.
Les utilisateur(s) suivant ont remercié: Rolaine

Connexion ou Créer un compte pour participer à la conversation.

Modérateurs: JohnSmith
Temps de génération de la page : 0.127 secondes
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo