Hi All,
I am trying to display only the number of students currently enrolled in a course next to the course description but cannot find a good way to do this. I am using Moodle 2.3.3.
On examination of the code in "Participants" on the course page I think this code maybe what I need
<div class="singleselect">
<form id="rolesform" action="http://local/moodle/user/index.php" method="get">
</div>
</div>
Does anyone have any idea how I can display the total of enrolled students in a course without having to look at the participants list/page? Just the number, no pics, no frills, just the number enrolled.
The reason I want to do this is because my course has a maximum of 5 students who can enrol, and I want students to see how many more can enrol i.e. if 3 students enrol, 2 seats would be left.
Thanks all