Hello,
I just want it to print section 0. When passed 0, it prints up to section 4.
I'm using this in a course block to move the activities out of the topics list of the course.
It works well except the dropdown list to add doesn't work (which I suspect is due to the multiple section printing problem). When you manually add a resource (by looking at the page source and pasting the link into the address bar) it works.
Any suggestions to fix that problem?
Edit: It actually is printing the content in two places. The first place goes up to section 4. The second place goes only to section 0 (which is what I want). How do I stop the first place from printing?
Well, I made a slight mistake.
The other 4 sections are the course content. Duh :P.
What I should have said is..
The menus for section 0 just don't work :/
The other 4 sections are the course content. Duh :P.
What I should have said is..
The menus for section 0 just don't work :/