Copy link to clipboard
Copied
We have created 20 page slide course (Content 10 slide and Quiz 10 slide), When we run publish build it show total page ount "1 of 20", But we only want view Content slide count, exmple: "1 of 10", no want to see quistion slide count, Please help to resolve this issue
Copy link to clipboard
Copied
Insertion of slide numbers is not set up by default, it needs to be done manually by insertion of two system variables on the main master slide, or on the first slide and timed for the rest of the project:
$$cpInfoCurrentSlide$$/$$cpInfoSlideCount$$
On the contrary, quiz slides do have by default a Progress indicator, it is checked in the Quiz Preferences.
I wonder if you are not confusing both?
To take the first combi (system variables) out of the quiz slides, make sure the Quizzing master slides do not inherit objects from the Main Master slide (if that was the workflow). If you used those system variables in a timed for the Rest of the Project scenario, use the On Enter action of the first quiz slide to hide that text container (having the system variables).
Copy link to clipboard
Copied
Since you only have 10 content slide it shouldn't take too much time to just use a text caption and manually change the text on each slide. But if you want to do it dynamically, you could create a variable pageCount and then execute this JavaScript in an Advanced Action on each slide. It will do what you want and also hide the page numbering if on a question slide.
if ( window.cpInfoCurrentSlideType === "Question Slide" )
{
window.pageCount = '';
}
else
{
var quizTotal = cp.model.data.project_main.questions.split( ',' ).length;
var myTotal = window.cpInfoSlideCount - quizTotal;
window.pageCount = window.cpInfoCurrentSlide + " of " + myTotal;
}
Copy link to clipboard
Copied
Thank you guys for your Reply. this issue resolved.
We have just placed this simple script "$$cpInfoCurrentSlide$$ of 10" (10 is total content slide) on first slide, and its work. Its showing me 1 of 10 instead of 1 of 20. :).
Copy link to clipboard
Copied
Guys can you help us on my last post. here is link my post.
This will be relly help me, we have english course to locaized in many Indian languages.