Excellent! Thank you!
Now I am trying to turn that link into a button. I have tried to put the html into the language customization, and into mod/lesson/renderer, and nothing works. How do I turn it from a link to a button?
RESOLVED!
I have made several hacks, but this is what I did and it worked for me* (see end of this entry)
In site administration > Language > Language Customization...
1) highlight "Moodle.php" in the core strings, enter "yes" in the "only strings containing" box and press enter.
2) Go down to the string that says "yes", and put in this code:
<div class="singlebutton"><input type="submit" value="whatever you want the button to say" /></div>
*********************************************************
3) In your ftp files, go into mod/lesson/renderer and change line 172 from
$output .= html_writer::tag('span', $yeslink, array('class'=>'lessonbutton standardbutton));
to
$output .= html_writer::tag('span', $yeslink, array('class'=>'lessonbutton singlebutton));
******************************************************
4) Go to site administration > appearance > themes > (your selected theme) and enter proper css coding. You can create the button you want, and get the css code here:
http://livetools.uiparade.com/button-builder.html#
_______________________________________________________________________________
The code, as you can see, was originally "standardbutton", and not "singlebutton". I am uncertain if this will work with just these three areas of change. If it does not work perhaps trying "standardbutton" in all areas may serve you better.