Stray Numbers on Pages

Stray Numbers on Pages

by Paula Edmiston -
Number of replies: 2
A funny thing has happened. I started changing styles and after some desperate times I think I'm settling down and getting a grasp on things. But now I'm getting a number on many (but not all ) pages. The number appears on the Home page: http://matrixmagic.com/cweb

In the first column, under the link to "My Courses" is the number 175. On other pages (but not all) there is the number 200. On all the pages that list courses you'll see the number 200. There is no stray number on any other page, just those (publically accessible) pages listing courses. And all the course listing pages have the number 200 on them and the home page has the number 175.

I feel it must have something to so with me trying to make changes to styles or, more likely due to me trying to move the link (on the home page) to "My Courses" to the top of the list of links under "Course Categories". I was never able to do that but apparently I did wreck some damage.

Any assistance any one can offer will be deeply appreciated.


Average of ratings: -
In reply to Paula Edmiston

Re: Stray Numbers on Pages

by Martin Dougiamas -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
I'd say you've added a line of code somewhere in the print_course_categories() function in course/lib.php
In reply to Martin Dougiamas

Re: Stray Numbers on Pages

by Paula Edmiston -
Thanks, you helped. I wasn't able to find where I messed it up but I uploaded a fresh copy of course/lib.php and sure enough, that fixed it.