As with most of my students, I feel ashamed to ask, but unlike most of them, I'll still ask. What am I doing wrong?
I followed the instructions to:
Copy everything into /grade/edit/custom_letter/ and add the following code just before the </head> tag in header.html
<?php $filenamejs = "$CFG->dirroot/grade/edit/custom_letter/lettermenufixer.php";
if (file_exists($filenamejs)) { include($filenamejs); } else { } ?>
After doing so, I couldn't find any changes in behavior. I modified the header code to:
<?php $filenamejs = "$CFG->dirroot/grade/edit/custom_letter/lettermenufixer.php";
if (file_exists($filenamejs)) { include($filenamejs);
echo " $CFG->dirroot/grade/edit/custom_letter/lettermenufixer.php present"; }
else { echo "$CFG->dirroot/grade/edit/custom_letter/lettermenufixer.php NOT present";
} ?>
and the browser displayed the line indicating that the piece was present and included. But I cannot find any alteration in the behavior of Side Administration-->Grades-->Letters or in a course when I go to Grades-->Edit-->Letters.
This is on my "test
server" (read MacBook Pro) with
MySQL 4.1.21,
Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.7l
DAV/2 PHP/5.2.6
Any ideas?
Richard