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?
Blocks
print_section_add_menus is printing for multiple sections
Šī diskusija ir slēgta, tāpēc jūs uz to vairs nevarat atbildēt.