Just use everything after the DNS name:
<a href="/mod/forum/discuss.php?d=1131">link</a>
You just have to be sure that
http://oldsite.com/ --> http://newsite.com/
or
http://oldsite.com/moodle --> http://newsite.com/moodle
but not:
http://oldsite.com/moodle --> http://newsite.com/mycourses
Martin Dougiamas
Posts made by Martin Dougiamas
Make it as long as you like, no problem.
Wow - long name. I think people are going to be asking that question regardless of whether it's chopped off!
Wow - long name. I think people are going to be asking that question regardless of whether it's chopped off!
This is actually a browser default ... but I just implemented centering for images by default with a new style to control it further if you wish.
I think it looks a lot better now.
eg http://moodle.org/mod/resource/view.php?id=7
I think it looks a lot better now.
eg http://moodle.org/mod/resource/view.php?id=7
Try putting print statements all through mod/survey/graph.php ... if you can narrow down a line which fails, or a loop that doesn't get entered, then that will help narrow this down.
The survey module is actually the oldest Moodle module .. its error checking may not be as good as the other modules.
The survey module is actually the oldest Moodle module .. its error checking may not be as good as the other modules.
Aha, thanks! That's it!
I've got 18 duplicate enrolments. I've deleted them manually, but do you happen to know a neat SQL trick to delete duplicates?
I'll put in a check before doing the insert so this doesn't happen anymore.
(This still doesn't explain why phpmyadmin gave different results but I'll happily ignore that for now)
I've got 18 duplicate enrolments. I've deleted them manually, but do you happen to know a neat SQL trick to delete duplicates?
I'll put in a check before doing the insert so this doesn't happen anymore.
(This still doesn't explain why phpmyadmin gave different results but I'll happily ignore that for now)