I want to add a button (HTML block) to go directly to the add new calendar event screen for easy homework entry.
I want to define this as a sticky block. The problem is that the course id is part of the url.
Is it possible to use a variable for this?
regards
Jeroen Kleijn
I solved it myself by
<a href="http://www.bonhoeffer.nl/elo/calendar/event.php?action=new&course=courseid" target="_blank"><font size="4" style="font-weight: bold;">Huiswerk opgeven</font></a>
- edit the description of the HTML block -
- press <> (edit html code)
- replace the coursenr by "coursid"
<a href="http://www.bonhoeffer.nl/elo/calendar/event.php?action=new&course=courseid" target="_blank"><font size="4" style="font-weight: bold;">Huiswerk opgeven</font></a>