I have developed a module that presents a custom form in a page.

I want to count the time from the moment the user is on the content url.

There is a pause button that takes the user back to the start page and a submit button that sets the status of the node to "Ended".

I used timespent with some modification on it but it bugs, sometimes it makes the call 3 times in a row which records a duration multiplied x3.

enter image description here


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.