-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #97 from AAU-P5-Moodle/89-documentation-documentat…
…ion-for-homework-block Homework Block doc
- Loading branch information
Showing
6 changed files
with
73 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
# Homework Block # | ||
|
||
This plugin adds a homework block to the dashboard, displaying homework assignments for users. | ||
It also includes a feature to view homework for a given coruse event in the calendar. | ||
Additionally, it offers a map feature that provides a link to a location of an event within the calendar. | ||
|
||
## Structure ## | ||
|
||
The plugin relies on the <code>mod/homework</code> plugin to enable most of its functionalities. | ||
|
||
The map links utilizes Google Map URLs. For more information, visit: <https://developers.google.com/maps/documentation/urls/get-started/> | ||
|
||
## installation of Homework Block ## | ||
|
||
The plugin can be also installed by putting the contents of this directory to | ||
|
||
{your/moodle/dirroot}/blocks/homework | ||
|
||
Afterwards, log in to your Moodle site as an admin and go to Site administration > | ||
Notifications_ to complete the installation. | ||
|
||
Alternatively, you can run | ||
|
||
$ php admin/cli/upgrade.php | ||
|
||
to complete the installation from the command line. | ||
|
||
## Example of Usage ## | ||
|
||
### Homework Block ### | ||
To use the homework block, it needs to be added to the dashboard in edit mode. | ||
Once in edit mode, add the block to the desired location and select <code>Homework</code>: | ||
|
||
![SetupHomeworkBlock](readme/SetupHomeworkBlock.png) | ||
|
||
Thereafter, the block should display information from all courses relevant to the current user: | ||
|
||
![HomeworkBlock](readme/HomeworkBlock.png) | ||
|
||
It is also possible to save homework time by using the <code>Time</code> button for a specific homework task on the homework block: | ||
|
||
![TimeOfHomework](readme/TimeOfHomework.png) | ||
|
||
### Calender Event ### | ||
To view the added information in calendar events, the homework block must be added to the dashboard. | ||
This can be done by entering edit mode, adding the block to the desired location, and selecting <code>Homework</code>: | ||
|
||
![SetupHomeworkBlock](readme/SetupHomeworkBlock.png) | ||
|
||
When creating an event, select a course to use the added features. | ||
If a location is specified for the event, the plugin will automatically add the link to the location. | ||
|
||
![EventSetup](readme/EventSetup.png) | ||
|
||
If the event is linked to homework, the associated homework will be displayed within the event: | ||
|
||
![Event](readme/Event.png) | ||
|
||
## License ## | ||
|
||
2024 PV | ||
|
||
This program is free software: you can redistribute it and/or modify it under | ||
the terms of the GNU General Public License as published by the Free Software | ||
Foundation, either version 3 of the License, or (at your option) any later | ||
version. | ||
|
||
This program is distributed in the hope that it will be useful, but WITHOUT ANY | ||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A | ||
PARTICULAR PURPOSE. See the GNU General Public License for more details. | ||
|
||
You should have received a copy of the GNU General Public License along with | ||
this program. If not, see <https://www.gnu.org/licenses/>. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.