Nolink hack to put in every new lesson question

Re: FYI;: Nolink hack to put in every new lesson question

by Chris Collman -
Number of replies: 0
Picture of Documentation writers
Ok sports fans,
In 1.9 I found mod/glossary/filter.php. Right under global $CFG'
I put:

if (strpos($_SERVER['REQUEST_URI'], "/quiz/")) {
return $text;

Sweet, still works to turn off quiz. Somehow I don't think there is a call for viewing a lesson page type.

In other news, I see that the HTML tool automatically puts some code </br> I think. Humm, create a second tool just for questions, insert the nolink code there. That might even handle the answers nolinks as well. Oh well, the life of an ignorant hacker is never easy smile