Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi, this seems pretty cool. If I wanted to bypass the "launch page" on sco nodes, what would be the best way to go about it?
For example, when I first go to a sco node it goes to something like node/6. There I get a start or a resume button and a table of attempts and such. What if I wanted to make node/6 play the sco without going to something like:
node/6/play/10010
Or would just need to link straight to node/6/play/1000
?
Thanks,
Dallas
Comments
Comment #1
jimbullington CreditAttribution: jimbullington commentedThank you for the feedback.
This should be corrected after the next dev build later today.
The node/nnn/play link should play/resume the SCO based on the node settings and the user's attempt status.
Comment #2
pandaPowder CreditAttribution: pandaPowder commentedthanks! That is really cool. It makes sense that if you attempt to play it without passing in an existing attempt, based on settings, it would find or create the attempt for you. Works fine for me.
Comment #3
pandaPowder CreditAttribution: pandaPowder commentedI wanted to avoid changing the links to the sco_nodes which were generated by another module, so I simply leveraged your new logic to make going to any sco_node automatically call sco_node_play(); I think this is ok to do...
UPDATE -- removed user_access test because I think it is redundant.
Comment #4
pandaPowder CreditAttribution: pandaPowder commentedComment #6
gennadiy CreditAttribution: gennadiy commentedIf we also need to open SCO in the new browser tab in the full screen mode (this is to use the entire screen estate on mobile devices). What would be the best possible way to achieve this functionality, please?
I also opened the separate issue for this question:
https://www.drupal.org/node/2456123
Thank you,
Gennady