Short code in pages and true popup.
-
I’ve been playing with your plugin and works nice for most parts.
I just have 3 start modules, and each module is followed by a test. After the test is completed user gets access to a “diploma”.
I don’t require a tree structure, too many things for users to click. So I’ve put a short code to a chapter on a normal page. And popup seam to stop working. I investigated and the cluevo.js file is not included in pages. I would expect to have the popup working here too.
Now about the popup, I need to have new window popup not a new tab. I kinda fixed this by adding dimensions for windows.oprn() in cluevo.js. I’m worried that the actual link to the course is exposed to the world and communication is done from window to window and parent window could be closed. I’ve seen another system that used a wrapper with the module loaded inside an iframe. On completion / close it would reload the parent window. A wrapper would help to customise the UI, and permit me to do the popups how I want.
I would also need to know if there is any way to read the user score or level from code. After the test module user should have access to diploma and another section of the site. Maybe even change the role of the user, so he would have access to other areas of the website.
Thanks.
- The topic ‘Short code in pages and true popup.’ is closed to new replies.