Skip to content

Commit

Permalink
Added new {menucoursemore} tag.
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-milette committed Apr 24, 2024
1 parent ea1a091 commit 20646e4
Show file tree
Hide file tree
Showing 4 changed files with 232 additions and 168 deletions.
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
# Change Log
All notable changes to this project will be documented in this file.

## [2.4.5] 2024-04-22
## [2.5.0] 2024-04-24
### Added
- New {menucoursemore} tag.
- New {iftheme}{/iftheme} tag.
- New {ifnottheme}{/ifnottheme} tag.
- New {alert border}{/alert} tag.
- New links to edit Advanced theme settings and current theme settings to {menuthemes} tag.
- {ALPHA} New {dashboard_siteinfo} tag. Work in progress - doesn't display correctly in all themes.
- GitHub actions workflow.
### Updated
- Small performance optimization.
- Corrected "Course: Badges" link in {menuadmin}.
- Updated PHP and Moodle compatibility in CONTRIBUTING.md.
- Fix-291: Escape tags now work reliably.
- Improved filtering of parameters for some tags.
- Improved detection of https protocol.
Expand All @@ -18,7 +22,7 @@ All notable changes to this project will be documented in this file.
- Improved error handling of the ifnotactivitycompleted tag.
- {getstring} tag now checks if string is deprecated before trying to load a string from the language pack.
- Reference to style guides in CONTRIBUTING.md.
- References to PHP and Noodle versions in bug reports.
- References to PHP and Moodle versions in bug reports.
- Removed support for Travis integration.
- Copyright notice to include 2024.
- Fixed compatibility issue with Moodle LMS 4.4
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ Also, see Courses section below.
* {menuadmin} : Useful dynamic menu for Moodle teachers, managers and administrators.
* {menudev} : Useful dynamic menu for Moodle developers. Only visible when debugging is set to DEVELOPER mode.
* {menuthemes} : Theme switcher. Only for administrators. Not available after POST. Allow Theme Changes on URL must be enabled. Will be visible even when Administrator is using the **Log In As** feature to log in as a different user.
* {menucoursemore} : Adds the content of the secondary menu to a menu called "More". Useful for themes with pre-4.x style navigation.

### URL

Expand Down Expand Up @@ -1111,6 +1112,7 @@ Create a Page on your Moodle site, preferably in a course, so that those tags wo
* Moodle Admin custom menu items [{menuadmin}]: <br><pre>{menuadmin}</pre>
* Moodle Dev custom menu items [{menudev}]: <br><pre>{menudev}</pre>
* Moodle Admin theme switcher [{menuthemes}]: <br><pre>{menuthemes}</pre>
* Secondary menu for pre-4.x themes [{menucoursemore}]: <br><pre>{menucoursemore}</pre>
* Course's category ID (0 if not in a course or category list of course) [{categoryid}]: {categoryid}
* Course's category name (blank if not in a course) [{categoryname}]: {categoryname}
* Course's category number (blank if not in a course) [{categorynumber}]: {categorynumber}
Expand Down
Loading

0 comments on commit 20646e4

Please sign in to comment.