Static Pages
Versions
Current version
v5.2-r1 (2026042000)
v5.2-r1
Plugin type: Local plugins
Frankenstyle component name: local_staticpage
Version build number: 2026042000
Version release name: v5.2-r1
Maturity: Stable
Supported Moodle versions: 5.2
Repository URL (Git): https://github.com/moodle-an-hochschulen/moodle-local_staticpage
Repository branch:
Repository tag: v5.2-r1
Issue/bug tracker URL: https://github.com/moodle-an-hochschulen/moodle-local_staticpage/issues
moodle-local_staticpage
Changes
v5.2-r1
- 2026-04-20 - Prepare compatibility for Moodle 5.2.
v5.1-r1
- 2025-10-26 - Prepare compatibility for Moodle 5.1.
v5.0-r3
- 2025-10-31 - Improvement: Replace the usage of $_SERVER with $FULLME, resolves #77
v5.0-r2
- 2025-10-15 - Make codechecker happy again
- 2025-10-15 - Tests: Switch Github actions workflows to reusable workflows by Moodle an Hochschulen e.V.
v5.0-r1
- 2025-04-14 - Prepare compatibility for Moodle 5.0.
v4.5-r2
- 2025-05-06 - Tests: Fix Behat failures due to MDL-67683, resolves #76
v4.5-r1
- 2024-10-14 - Upgrade: Adopt changes from MDL-82183 and use new \core\output\html_writer
- 2024-10-14 - Upgrade: Adopt changes from MDL-81960 and use new \core\url class
- 2024-10-14 - Upgrade: Adopt changes from MDL-81818 to remove old bootstrap classes
- 2024-10-07 - Prepare compatibility for Moodle 4.5.
v4.4-r1
- 2024-08-24 - Development: Rename master branch to main, please update your clones.
- 2024-08-20 - Upgrade: Update Bootstrap classes for Moodle 4.4.
- 2024-08-20 - Prepare compatibility for Moodle 4.4.
v4.3-r2
- 2024-08-11 - Add section for scheduled tasks to README
- 2024-08-11 - Updated Moodle Plugin CI to latest upstream recommendations
- 2024-08-11 - Preserve tags in head of static page document by moving it to the Moodle
- 2024-08-11 - Added static page view even, credits to Jeroen de Bruijn.
- 2024-01-08 - Improve the installation and usage of language packs in Behat tests.
v4.3-r1
- 2023-10-20 - Prepare compatibility for Moodle 4.3.
v4.2-r1
- 2023-10-19 - Fix Behat tests which broke on Moodle 4.2.
- 2023-09-01 - Prepare compatibility for Moodle 4.2.
v4.1-r2
- 2023-10-14 - Add automated release to moodle.org/plugins
- 2023-10-14 - Make codechecker happy again
- 2023-10-10 - Updated Moodle Plugin CI to latest upstream recommendations
- 2023-04-30 - Tests: Updated Moodle Plugin CI to use PHP 8.1 and Postgres 13 from Moodle 4.1 on.
v4.1-r1
- 2023-01-21 - Prepare compatibility for Moodle 4.1.
- 2022-11-28 - Updated Moodle Plugin CI to latest upstream recommendations
v4.0-r1
- 2022-07-12 - Improve lib.php, solves #62.
- 2022-07-12 - Remove the 'documentnavbarsource' setting as static pages do not have a navbar anymore on Moodle 4.0.
- 2022-07-12 - Fix Behat tests which broke with Moodle 4.0.
- 2022-07-12 - Prepare compatibility for Moodle 4.0.
v3.11-r3
- 2022-07-11 - Bugfix: Static page was crippled if the HTML code did not contain a plain body tag, solves #64 and several older issues.
- 2022-07-11 - Add links to README to the language pack, solves #61
- 2022-07-10 - Add Visual checks section to UPGRADE.md
v3.11-r2
- 2022-06-26 - Make codechecker happy again
- 2022-06-26 - Updated Moodle Plugin CI to latest upstream recommendations
- 2022-06-26 - Add UPGRADE.md as internal upgrade documentation
- 2022-06-26 - Update maintainers and copyrights in README.md.
v3.11-r1
- 2021-12-08 - Prepare compatibility for Moodle 3.11.
v3.10-r2
- 2021-08-28 - Feature: Add a body class which contains the page name of the static page shown
- 2021-08-28 - Bugfix: Fix incorrect setting defaults when installing the plugin - Thanks to Davo Smith
- 2021-08-28 - Replace the deprecated print_error() function with a Moodle exception
- 2021-08-28 - Feature: Allow non-admins to manage static page documents by introducing the local/staticpage:managedocuments capability
- 2021-02-05 - Move Moodle Plugin CI from Travis CI to Github actions
v3.10-r1
- 2021-01-09 - Change Bootstrap labels to badges to comply with Bootstrap 4 standards
- 2021-01-09 - Fix a small language pack flaw for the admin setting page.
- 2021-01-09 - Prepare compatibility for Moodle 3.10.
- 2021-01-06 - Change in Moodle release support:
For the time being, this plugin is maintained for the most recent LTS release of Moodle as well as the most recent major release of Moodle.
Bugfixes are backported to the LTS release. However, new features and improvements are not necessarily backported to the LTS release. - 2021-01-06 - Improvement: Declare which major stable version of Moodle this plugin supports (see MDL-59562 for details).
v3.9-r1
- 2020-11-25 - Improvement: Improve require_once calls which require the plugin's library - Credits to Antoni Bertran.
- 2020-11-25 - Prepare compatibility for Moodle 3.9.
v3.8-r1
- 2020-02-14 - Prepare compatibility for Moodle 3.8.
- 2019-12-18 - Improved behat test for fileupload because MDL-60975 was fixed.
PLEASE NOTE: For all scenarios to pass, the Moodle version 3.7.3+ (Build: 20191212) is needed.
v3.7-r2
- 2019-12-12 - Bugfix: List of static pages link broken when moodle is installed in subdirectory - Credits to wuzhuoqing.
- 2019-10-24 - Improvement: Add @_file_upload tag to fix failing behat tests.
v3.7-r1
- 2019-09-27 - Added behat tests.
- 2019-09-23 - Add admin setting to check availability on list of static pages or not - Credits to Arief Wibowo.
- 2019-08-05 - Prepare compatibility for Moodle 3.7.
v3.6-r1
- 2019-01-22 - Check compatibility for Moodle 3.6, no functionality change.
- 2018-12-05 - Changed travis.yml due to upstream changes.
v3.5-r2
- 2018-09-26 - Bugfix: Forcing apache rewrite wasn't possible for Moodle installations in subdirectories.
v3.5-r1
- 2018-06-29 - Check compatibility for Moodle 3.5, no functionality change.
v3.4-r2
- 2018-05-16 - Implement Privacy API.
v3.4-r1
- 2017-12-14 - Check compatibility for Moodle 3.4, no functionality change.
- 2017-12-05 - Added Workaround to travis.yml for fixing Behat tests with TravisCI.
v3.3-r1
- 2017-11-23 - Check compatibility for Moodle 3.3, no functionality change.
- 2017-11-08 - Updated travis.yml to use newer node version for fixing TravisCI error.
v3.2-r9
- 2017-09-22 - Bugfix: Boost seems not to process filters for our breadcrumb element anymore
v3.2-r8
- 2017-09-13 - Escape proposed HTML structure and Apache configuration in README
- 2017-09-13 - Escape HTML code in language pack - Credits to Carson Tam
v3.2-r7
- 2017-05-29 - Add Travis CI support
v3.2-r6
- 2017-05-05 - Improve README.md
- 2017-02-15 - Minor code improvement, no functionality change
v3.2-r5
- 2017-01-27 - Automatically rename htm files to html - Credits to Andrew Hancox
v3.2-r4
- 2017-01-12 - Move Changelog from README.md to CHANGES.md
v3.2-r3
- 2017-01-12 - Check compatibility for Moodle 3.2, no functionality change
- 2017-01-12 - Re-add the list of available static pages
- 2017-01-11 - Improve README
v3.2-r2
- Internal release
v3.2-r1
- Internal release
v3.1-r2
- 2016-07-21 - Move the plugin's settings page to Site Administration -> Static Pages because this is where it logically belongs to
v3.1-r1
- 2016-07-19 - Check compatibility for Moodle 3.1, no functionality change
Changes before v3.1
- 2016-05-09 - Add settings to control if filters are processed and if the HTML code is cleaned on a static page or not
- 2016-04-07 - Add a setting to control if a static page should be shown to visitors or not
- 2016-02-10 - Add a new filearea to save the document files within Moodle - This change might break backwards compatibility in some situations, please read the "Upgrading from previous versions" below
- 2016-02-10 - Change plugin version and release scheme to the scheme promoted by moodle.org, no functionality change
- 2016-01-25 - Improve RewriteRules in README, no functionality change - Credits to Daniel Ruf
- 2016-01-01 - Check compatibility for Moodle 3.0, no functionality change
- 2015-08-18 - Check compatibility for Moodle 2.9, no functionality change
- 2015-01-23 - Check compatibility for Moodle 2.8, no functionality change
- 2014-08-19 - Add possibility to use a
<style>tag in the HTML code of static page files - 2014-06-30 - Add plugin's name as prefix to function names
- 2014-06-30 - Check compatibility for Moodle 2.7, no functionality change
- 2014-01-31 - Add description how to add blocks to static pages
- 2014-01-31 - Extend valid URLs to alphanumeric characters (no numbers were allowed before)
- 2014-01-31 - Require login if Moodle is configured to force login - Credits to toby saunders
- 2014-01-31 - Check compatibility for Moodle 2.6, no functionality change
- 2013-10-25 - Remove support for 'staticpage' pagelayout because of problems with Bootstrap-based themes. local_staticpage uses 'standard' pagelayout now. Please check your CSS cascades if you have styled static pages in any special way.
- 2013-09-02 - Check availability of static page directly on settings page, show error if page isn't downloadable
- 2013-09-02 - Add an option to set the data source of document title, document heading and breadcrumb item title
- 2013-08-08 - Improve README
- 2013-07-30 - Transfer Github repository from github.com/abias/... to github.com/moodleuulm/...; Please update your Git paths if necessary
- 2013-07-30 - Check compatibility for Moodle 2.5, no functionality change
- 2013-07-23 - Extend valid URLs with "_-" characters
- 2013-04-23 - Fix problems on windows systems
- 2013-04-22 - Bugfix: Language switcher didn't work anymore on a static page
- 2013-03-22 - Bugfix: Static page wouldn't show even if everything was configured correctly; Please notice that apache rewrite rule has changed
- 2013-03-18 - Code cleanup according to moodle codechecker
- 2013-02-18 - Check compatibility for Moodle 2.4, fix language string names to comply with language string name convention
- 2013-01-21 - Fix a flaw in README file regarding filename examples
- 2013-01-21 - Fix a flaw in README file regarding Apache mod_rewrite
- 2013-01-21 - Migrate plugin settings from config.php to a settings page within Moodle
- 2012-09-26 - Replace deprecated get_context_instance function
- 2012-06-25 - Update version.php for Moodle 2.3
- 2012-06-01 - Initial version
v5.1-r1 (2025100600)
v5.1-r1
Plugin type: Local plugins
Frankenstyle component name: local_staticpage
Version build number: 2025100600
Version release name: v5.1-r1
Maturity: Stable
Supported Moodle versions: 5.1
Repository URL (Git): https://github.com/moodle-an-hochschulen/moodle-local_staticpage
Repository branch:
Repository tag: v5.1-r1
Issue/bug tracker URL: https://github.com/moodle-an-hochschulen/moodle-local_staticpage/issues
moodle-local_staticpage
Changes
v5.1-r1
- 2025-10-26 - Prepare compatibility for Moodle 5.1.
v5.0-r3
- 2025-10-31 - Improvement: Replace the usage of $_SERVER with $FULLME, resolves #77
v5.0-r2
- 2025-10-15 - Make codechecker happy again
- 2025-10-15 - Tests: Switch Github actions workflows to reusable workflows by Moodle an Hochschulen e.V.
v5.0-r1
- 2025-04-14 - Prepare compatibility for Moodle 5.0.
v4.5-r2
- 2025-05-06 - Tests: Fix Behat failures due to MDL-67683, resolves #76
v4.5-r1
- 2024-10-14 - Upgrade: Adopt changes from MDL-82183 and use new \core\output\html_writer
- 2024-10-14 - Upgrade: Adopt changes from MDL-81960 and use new \core\url class
- 2024-10-14 - Upgrade: Adopt changes from MDL-81818 to remove old bootstrap classes
- 2024-10-07 - Prepare compatibility for Moodle 4.5.
v4.4-r1
- 2024-08-24 - Development: Rename master branch to main, please update your clones.
- 2024-08-20 - Upgrade: Update Bootstrap classes for Moodle 4.4.
- 2024-08-20 - Prepare compatibility for Moodle 4.4.
v4.3-r2
- 2024-08-11 - Add section for scheduled tasks to README
- 2024-08-11 - Updated Moodle Plugin CI to latest upstream recommendations
- 2024-08-11 - Preserve tags in head of static page document by moving it to the Moodle
- 2024-08-11 - Added static page view even, credits to Jeroen de Bruijn.
- 2024-01-08 - Improve the installation and usage of language packs in Behat tests.
v4.3-r1
- 2023-10-20 - Prepare compatibility for Moodle 4.3.
v4.2-r1
- 2023-10-19 - Fix Behat tests which broke on Moodle 4.2.
- 2023-09-01 - Prepare compatibility for Moodle 4.2.
v4.1-r2
- 2023-10-14 - Add automated release to moodle.org/plugins
- 2023-10-14 - Make codechecker happy again
- 2023-10-10 - Updated Moodle Plugin CI to latest upstream recommendations
- 2023-04-30 - Tests: Updated Moodle Plugin CI to use PHP 8.1 and Postgres 13 from Moodle 4.1 on.
v4.1-r1
- 2023-01-21 - Prepare compatibility for Moodle 4.1.
- 2022-11-28 - Updated Moodle Plugin CI to latest upstream recommendations
v4.0-r1
- 2022-07-12 - Improve lib.php, solves #62.
- 2022-07-12 - Remove the 'documentnavbarsource' setting as static pages do not have a navbar anymore on Moodle 4.0.
- 2022-07-12 - Fix Behat tests which broke with Moodle 4.0.
- 2022-07-12 - Prepare compatibility for Moodle 4.0.
v3.11-r3
- 2022-07-11 - Bugfix: Static page was crippled if the HTML code did not contain a plain body tag, solves #64 and several older issues.
- 2022-07-11 - Add links to README to the language pack, solves #61
- 2022-07-10 - Add Visual checks section to UPGRADE.md
v3.11-r2
- 2022-06-26 - Make codechecker happy again
- 2022-06-26 - Updated Moodle Plugin CI to latest upstream recommendations
- 2022-06-26 - Add UPGRADE.md as internal upgrade documentation
- 2022-06-26 - Update maintainers and copyrights in README.md.
v3.11-r1
- 2021-12-08 - Prepare compatibility for Moodle 3.11.
v3.10-r2
- 2021-08-28 - Feature: Add a body class which contains the page name of the static page shown
- 2021-08-28 - Bugfix: Fix incorrect setting defaults when installing the plugin - Thanks to Davo Smith
- 2021-08-28 - Replace the deprecated print_error() function with a Moodle exception
- 2021-08-28 - Feature: Allow non-admins to manage static page documents by introducing the local/staticpage:managedocuments capability
- 2021-02-05 - Move Moodle Plugin CI from Travis CI to Github actions
v3.10-r1
- 2021-01-09 - Change Bootstrap labels to badges to comply with Bootstrap 4 standards
- 2021-01-09 - Fix a small language pack flaw for the admin setting page.
- 2021-01-09 - Prepare compatibility for Moodle 3.10.
- 2021-01-06 - Change in Moodle release support:
For the time being, this plugin is maintained for the most recent LTS release of Moodle as well as the most recent major release of Moodle.
Bugfixes are backported to the LTS release. However, new features and improvements are not necessarily backported to the LTS release. - 2021-01-06 - Improvement: Declare which major stable version of Moodle this plugin supports (see MDL-59562 for details).
v3.9-r1
- 2020-11-25 - Improvement: Improve require_once calls which require the plugin's library - Credits to Antoni Bertran.
- 2020-11-25 - Prepare compatibility for Moodle 3.9.
v3.8-r1
- 2020-02-14 - Prepare compatibility for Moodle 3.8.
- 2019-12-18 - Improved behat test for fileupload because MDL-60975 was fixed.
PLEASE NOTE: For all scenarios to pass, the Moodle version 3.7.3+ (Build: 20191212) is needed.
v3.7-r2
- 2019-12-12 - Bugfix: List of static pages link broken when moodle is installed in subdirectory - Credits to wuzhuoqing.
- 2019-10-24 - Improvement: Add @_file_upload tag to fix failing behat tests.
v3.7-r1
- 2019-09-27 - Added behat tests.
- 2019-09-23 - Add admin setting to check availability on list of static pages or not - Credits to Arief Wibowo.
- 2019-08-05 - Prepare compatibility for Moodle 3.7.
v3.6-r1
- 2019-01-22 - Check compatibility for Moodle 3.6, no functionality change.
- 2018-12-05 - Changed travis.yml due to upstream changes.
v3.5-r2
- 2018-09-26 - Bugfix: Forcing apache rewrite wasn't possible for Moodle installations in subdirectories.
v3.5-r1
- 2018-06-29 - Check compatibility for Moodle 3.5, no functionality change.
v3.4-r2
- 2018-05-16 - Implement Privacy API.
v3.4-r1
- 2017-12-14 - Check compatibility for Moodle 3.4, no functionality change.
- 2017-12-05 - Added Workaround to travis.yml for fixing Behat tests with TravisCI.
v3.3-r1
- 2017-11-23 - Check compatibility for Moodle 3.3, no functionality change.
- 2017-11-08 - Updated travis.yml to use newer node version for fixing TravisCI error.
v3.2-r9
- 2017-09-22 - Bugfix: Boost seems not to process filters for our breadcrumb element anymore
v3.2-r8
- 2017-09-13 - Escape proposed HTML structure and Apache configuration in README
- 2017-09-13 - Escape HTML code in language pack - Credits to Carson Tam
v3.2-r7
- 2017-05-29 - Add Travis CI support
v3.2-r6
- 2017-05-05 - Improve README.md
- 2017-02-15 - Minor code improvement, no functionality change
v3.2-r5
- 2017-01-27 - Automatically rename htm files to html - Credits to Andrew Hancox
v3.2-r4
- 2017-01-12 - Move Changelog from README.md to CHANGES.md
v3.2-r3
- 2017-01-12 - Check compatibility for Moodle 3.2, no functionality change
- 2017-01-12 - Re-add the list of available static pages
- 2017-01-11 - Improve README
v3.2-r2
- Internal release
v3.2-r1
- Internal release
v3.1-r2
- 2016-07-21 - Move the plugin's settings page to Site Administration -> Static Pages because this is where it logically belongs to
v3.1-r1
- 2016-07-19 - Check compatibility for Moodle 3.1, no functionality change
Changes before v3.1
- 2016-05-09 - Add settings to control if filters are processed and if the HTML code is cleaned on a static page or not
- 2016-04-07 - Add a setting to control if a static page should be shown to visitors or not
- 2016-02-10 - Add a new filearea to save the document files within Moodle - This change might break backwards compatibility in some situations, please read the "Upgrading from previous versions" below
- 2016-02-10 - Change plugin version and release scheme to the scheme promoted by moodle.org, no functionality change
- 2016-01-25 - Improve RewriteRules in README, no functionality change - Credits to Daniel Ruf
- 2016-01-01 - Check compatibility for Moodle 3.0, no functionality change
- 2015-08-18 - Check compatibility for Moodle 2.9, no functionality change
- 2015-01-23 - Check compatibility for Moodle 2.8, no functionality change
- 2014-08-19 - Add possibility to use a
<style>tag in the HTML code of static page files - 2014-06-30 - Add plugin's name as prefix to function names
- 2014-06-30 - Check compatibility for Moodle 2.7, no functionality change
- 2014-01-31 - Add description how to add blocks to static pages
- 2014-01-31 - Extend valid URLs to alphanumeric characters (no numbers were allowed before)
- 2014-01-31 - Require login if Moodle is configured to force login - Credits to toby saunders
- 2014-01-31 - Check compatibility for Moodle 2.6, no functionality change
- 2013-10-25 - Remove support for 'staticpage' pagelayout because of problems with Bootstrap-based themes. local_staticpage uses 'standard' pagelayout now. Please check your CSS cascades if you have styled static pages in any special way.
- 2013-09-02 - Check availability of static page directly on settings page, show error if page isn't downloadable
- 2013-09-02 - Add an option to set the data source of document title, document heading and breadcrumb item title
- 2013-08-08 - Improve README
- 2013-07-30 - Transfer Github repository from github.com/abias/... to github.com/moodleuulm/...; Please update your Git paths if necessary
- 2013-07-30 - Check compatibility for Moodle 2.5, no functionality change
- 2013-07-23 - Extend valid URLs with "_-" characters
- 2013-04-23 - Fix problems on windows systems
- 2013-04-22 - Bugfix: Language switcher didn't work anymore on a static page
- 2013-03-22 - Bugfix: Static page wouldn't show even if everything was configured correctly; Please notice that apache rewrite rule has changed
- 2013-03-18 - Code cleanup according to moodle codechecker
- 2013-02-18 - Check compatibility for Moodle 2.4, fix language string names to comply with language string name convention
- 2013-01-21 - Fix a flaw in README file regarding filename examples
- 2013-01-21 - Fix a flaw in README file regarding Apache mod_rewrite
- 2013-01-21 - Migrate plugin settings from config.php to a settings page within Moodle
- 2012-09-26 - Replace deprecated get_context_instance function
- 2012-06-25 - Update version.php for Moodle 2.3
- 2012-06-01 - Initial version
v5.0-r3 (2025041402)
v5.0-r3
Plugin type: Local plugins
Frankenstyle component name: local_staticpage
Version build number: 2025041402
Version release name: v5.0-r3
Maturity: Stable
Supported Moodle versions: 5.0
Repository URL (Git): https://github.com/moodle-an-hochschulen/moodle-local_staticpage
Repository branch:
Repository tag: v5.0-r3
Issue/bug tracker URL: https://github.com/moodle-an-hochschulen/moodle-local_staticpage/issues
moodle-local_staticpage
Changes
v5.0-r3
- 2025-10-31 - Improvement: Replace the usage of $_SERVER with $FULLME, resolves #77
v5.0-r2
- 2025-10-15 - Make codechecker happy again
- 2025-10-15 - Tests: Switch Github actions workflows to reusable workflows by Moodle an Hochschulen e.V.
v5.0-r1
- 2025-04-14 - Prepare compatibility for Moodle 5.0.
v4.5-r2
- 2025-05-06 - Tests: Fix Behat failures due to MDL-67683, resolves #76
v4.5-r1
- 2024-10-14 - Upgrade: Adopt changes from MDL-82183 and use new \core\output\html_writer
- 2024-10-14 - Upgrade: Adopt changes from MDL-81960 and use new \core\url class
- 2024-10-14 - Upgrade: Adopt changes from MDL-81818 to remove old bootstrap classes
- 2024-10-07 - Prepare compatibility for Moodle 4.5.
v4.4-r1
- 2024-08-24 - Development: Rename master branch to main, please update your clones.
- 2024-08-20 - Upgrade: Update Bootstrap classes for Moodle 4.4.
- 2024-08-20 - Prepare compatibility for Moodle 4.4.
v4.3-r2
- 2024-08-11 - Add section for scheduled tasks to README
- 2024-08-11 - Updated Moodle Plugin CI to latest upstream recommendations
- 2024-08-11 - Preserve tags in head of static page document by moving it to the Moodle
- 2024-08-11 - Added static page view even, credits to Jeroen de Bruijn.
- 2024-01-08 - Improve the installation and usage of language packs in Behat tests.
v4.3-r1
- 2023-10-20 - Prepare compatibility for Moodle 4.3.
v4.2-r1
- 2023-10-19 - Fix Behat tests which broke on Moodle 4.2.
- 2023-09-01 - Prepare compatibility for Moodle 4.2.
v4.1-r2
- 2023-10-14 - Add automated release to moodle.org/plugins
- 2023-10-14 - Make codechecker happy again
- 2023-10-10 - Updated Moodle Plugin CI to latest upstream recommendations
- 2023-04-30 - Tests: Updated Moodle Plugin CI to use PHP 8.1 and Postgres 13 from Moodle 4.1 on.
v4.1-r1
- 2023-01-21 - Prepare compatibility for Moodle 4.1.
- 2022-11-28 - Updated Moodle Plugin CI to latest upstream recommendations
v4.0-r1
- 2022-07-12 - Improve lib.php, solves #62.
- 2022-07-12 - Remove the 'documentnavbarsource' setting as static pages do not have a navbar anymore on Moodle 4.0.
- 2022-07-12 - Fix Behat tests which broke with Moodle 4.0.
- 2022-07-12 - Prepare compatibility for Moodle 4.0.
v3.11-r3
- 2022-07-11 - Bugfix: Static page was crippled if the HTML code did not contain a plain body tag, solves #64 and several older issues.
- 2022-07-11 - Add links to README to the language pack, solves #61
- 2022-07-10 - Add Visual checks section to UPGRADE.md
v3.11-r2
- 2022-06-26 - Make codechecker happy again
- 2022-06-26 - Updated Moodle Plugin CI to latest upstream recommendations
- 2022-06-26 - Add UPGRADE.md as internal upgrade documentation
- 2022-06-26 - Update maintainers and copyrights in README.md.
v3.11-r1
- 2021-12-08 - Prepare compatibility for Moodle 3.11.
v3.10-r2
- 2021-08-28 - Feature: Add a body class which contains the page name of the static page shown
- 2021-08-28 - Bugfix: Fix incorrect setting defaults when installing the plugin - Thanks to Davo Smith
- 2021-08-28 - Replace the deprecated print_error() function with a Moodle exception
- 2021-08-28 - Feature: Allow non-admins to manage static page documents by introducing the local/staticpage:managedocuments capability
- 2021-02-05 - Move Moodle Plugin CI from Travis CI to Github actions
v3.10-r1
- 2021-01-09 - Change Bootstrap labels to badges to comply with Bootstrap 4 standards
- 2021-01-09 - Fix a small language pack flaw for the admin setting page.
- 2021-01-09 - Prepare compatibility for Moodle 3.10.
- 2021-01-06 - Change in Moodle release support:
For the time being, this plugin is maintained for the most recent LTS release of Moodle as well as the most recent major release of Moodle.
Bugfixes are backported to the LTS release. However, new features and improvements are not necessarily backported to the LTS release. - 2021-01-06 - Improvement: Declare which major stable version of Moodle this plugin supports (see MDL-59562 for details).
v3.9-r1
- 2020-11-25 - Improvement: Improve require_once calls which require the plugin's library - Credits to Antoni Bertran.
- 2020-11-25 - Prepare compatibility for Moodle 3.9.
v3.8-r1
- 2020-02-14 - Prepare compatibility for Moodle 3.8.
- 2019-12-18 - Improved behat test for fileupload because MDL-60975 was fixed.
PLEASE NOTE: For all scenarios to pass, the Moodle version 3.7.3+ (Build: 20191212) is needed.
v3.7-r2
- 2019-12-12 - Bugfix: List of static pages link broken when moodle is installed in subdirectory - Credits to wuzhuoqing.
- 2019-10-24 - Improvement: Add @_file_upload tag to fix failing behat tests.
v3.7-r1
- 2019-09-27 - Added behat tests.
- 2019-09-23 - Add admin setting to check availability on list of static pages or not - Credits to Arief Wibowo.
- 2019-08-05 - Prepare compatibility for Moodle 3.7.
v3.6-r1
- 2019-01-22 - Check compatibility for Moodle 3.6, no functionality change.
- 2018-12-05 - Changed travis.yml due to upstream changes.
v3.5-r2
- 2018-09-26 - Bugfix: Forcing apache rewrite wasn't possible for Moodle installations in subdirectories.
v3.5-r1
- 2018-06-29 - Check compatibility for Moodle 3.5, no functionality change.
v3.4-r2
- 2018-05-16 - Implement Privacy API.
v3.4-r1
- 2017-12-14 - Check compatibility for Moodle 3.4, no functionality change.
- 2017-12-05 - Added Workaround to travis.yml for fixing Behat tests with TravisCI.
v3.3-r1
- 2017-11-23 - Check compatibility for Moodle 3.3, no functionality change.
- 2017-11-08 - Updated travis.yml to use newer node version for fixing TravisCI error.
v3.2-r9
- 2017-09-22 - Bugfix: Boost seems not to process filters for our breadcrumb element anymore
v3.2-r8
- 2017-09-13 - Escape proposed HTML structure and Apache configuration in README
- 2017-09-13 - Escape HTML code in language pack - Credits to Carson Tam
v3.2-r7
- 2017-05-29 - Add Travis CI support
v3.2-r6
- 2017-05-05 - Improve README.md
- 2017-02-15 - Minor code improvement, no functionality change
v3.2-r5
- 2017-01-27 - Automatically rename htm files to html - Credits to Andrew Hancox
v3.2-r4
- 2017-01-12 - Move Changelog from README.md to CHANGES.md
v3.2-r3
- 2017-01-12 - Check compatibility for Moodle 3.2, no functionality change
- 2017-01-12 - Re-add the list of available static pages
- 2017-01-11 - Improve README
v3.2-r2
- Internal release
v3.2-r1
- Internal release
v3.1-r2
- 2016-07-21 - Move the plugin's settings page to Site Administration -> Static Pages because this is where it logically belongs to
v3.1-r1
- 2016-07-19 - Check compatibility for Moodle 3.1, no functionality change
Changes before v3.1
- 2016-05-09 - Add settings to control if filters are processed and if the HTML code is cleaned on a static page or not
- 2016-04-07 - Add a setting to control if a static page should be shown to visitors or not
- 2016-02-10 - Add a new filearea to save the document files within Moodle - This change might break backwards compatibility in some situations, please read the "Upgrading from previous versions" below
- 2016-02-10 - Change plugin version and release scheme to the scheme promoted by moodle.org, no functionality change
- 2016-01-25 - Improve RewriteRules in README, no functionality change - Credits to Daniel Ruf
- 2016-01-01 - Check compatibility for Moodle 3.0, no functionality change
- 2015-08-18 - Check compatibility for Moodle 2.9, no functionality change
- 2015-01-23 - Check compatibility for Moodle 2.8, no functionality change
- 2014-08-19 - Add possibility to use a
<style>tag in the HTML code of static page files - 2014-06-30 - Add plugin's name as prefix to function names
- 2014-06-30 - Check compatibility for Moodle 2.7, no functionality change
- 2014-01-31 - Add description how to add blocks to static pages
- 2014-01-31 - Extend valid URLs to alphanumeric characters (no numbers were allowed before)
- 2014-01-31 - Require login if Moodle is configured to force login - Credits to toby saunders
- 2014-01-31 - Check compatibility for Moodle 2.6, no functionality change
- 2013-10-25 - Remove support for 'staticpage' pagelayout because of problems with Bootstrap-based themes. local_staticpage uses 'standard' pagelayout now. Please check your CSS cascades if you have styled static pages in any special way.
- 2013-09-02 - Check availability of static page directly on settings page, show error if page isn't downloadable
- 2013-09-02 - Add an option to set the data source of document title, document heading and breadcrumb item title
- 2013-08-08 - Improve README
- 2013-07-30 - Transfer Github repository from github.com/abias/... to github.com/moodleuulm/...; Please update your Git paths if necessary
- 2013-07-30 - Check compatibility for Moodle 2.5, no functionality change
- 2013-07-23 - Extend valid URLs with "_-" characters
- 2013-04-23 - Fix problems on windows systems
- 2013-04-22 - Bugfix: Language switcher didn't work anymore on a static page
- 2013-03-22 - Bugfix: Static page wouldn't show even if everything was configured correctly; Please notice that apache rewrite rule has changed
- 2013-03-18 - Code cleanup according to moodle codechecker
- 2013-02-18 - Check compatibility for Moodle 2.4, fix language string names to comply with language string name convention
- 2013-01-21 - Fix a flaw in README file regarding filename examples
- 2013-01-21 - Fix a flaw in README file regarding Apache mod_rewrite
- 2013-01-21 - Migrate plugin settings from config.php to a settings page within Moodle
- 2012-09-26 - Replace deprecated get_context_instance function
- 2012-06-25 - Update version.php for Moodle 2.3
- 2012-06-01 - Initial version
v4.5-r4 (2024100703)
v4.5-r4
Plugin type: Local plugins
Frankenstyle component name: local_staticpage
Version build number: 2024100703
Version release name: v4.5-r4
Maturity: Stable
Supported Moodle versions: 4.5
Repository URL (Git): https://github.com/moodle-an-hochschulen/moodle-local_staticpage
Repository branch:
Repository tag: v4.5-r4
Issue/bug tracker URL: https://github.com/moodle-an-hochschulen/moodle-local_staticpage/issues
moodle-local_staticpage
Changes
v4.5-r4
- 2025-10-31 - Improvement: Replace the usage of $_SERVER with $FULLME, resolves #77
v4.5-r3
- 2025-10-15 - Make codechecker happy again
- 2025-10-15 - Tests: Switch Github actions workflows to reusable workflows by Moodle an Hochschulen e.V.
v4.5-r2
- 2025-05-06 - Tests: Fix Behat failures due to MDL-67683, resolves #76
v4.5-r1
- 2024-10-14 - Upgrade: Adopt changes from MDL-82183 and use new \core\output\html_writer
- 2024-10-14 - Upgrade: Adopt changes from MDL-81960 and use new \core\url class
- 2024-10-14 - Upgrade: Adopt changes from MDL-81818 to remove old bootstrap classes
- 2024-10-07 - Prepare compatibility for Moodle 4.5.
v4.4-r1
- 2024-08-24 - Development: Rename master branch to main, please update your clones.
- 2024-08-20 - Upgrade: Update Bootstrap classes for Moodle 4.4.
- 2024-08-20 - Prepare compatibility for Moodle 4.4.
v4.3-r2
- 2024-08-11 - Add section for scheduled tasks to README
- 2024-08-11 - Updated Moodle Plugin CI to latest upstream recommendations
- 2024-08-11 - Preserve tags in head of static page document by moving it to the Moodle
- 2024-08-11 - Added static page view even, credits to Jeroen de Bruijn.
- 2024-01-08 - Improve the installation and usage of language packs in Behat tests.
v4.3-r1
- 2023-10-20 - Prepare compatibility for Moodle 4.3.
v4.2-r1
- 2023-10-19 - Fix Behat tests which broke on Moodle 4.2.
- 2023-09-01 - Prepare compatibility for Moodle 4.2.
v4.1-r2
- 2023-10-14 - Add automated release to moodle.org/plugins
- 2023-10-14 - Make codechecker happy again
- 2023-10-10 - Updated Moodle Plugin CI to latest upstream recommendations
- 2023-04-30 - Tests: Updated Moodle Plugin CI to use PHP 8.1 and Postgres 13 from Moodle 4.1 on.
v4.1-r1
- 2023-01-21 - Prepare compatibility for Moodle 4.1.
- 2022-11-28 - Updated Moodle Plugin CI to latest upstream recommendations
v4.0-r1
- 2022-07-12 - Improve lib.php, solves #62.
- 2022-07-12 - Remove the 'documentnavbarsource' setting as static pages do not have a navbar anymore on Moodle 4.0.
- 2022-07-12 - Fix Behat tests which broke with Moodle 4.0.
- 2022-07-12 - Prepare compatibility for Moodle 4.0.
v3.11-r3
- 2022-07-11 - Bugfix: Static page was crippled if the HTML code did not contain a plain body tag, solves #64 and several older issues.
- 2022-07-11 - Add links to README to the language pack, solves #61
- 2022-07-10 - Add Visual checks section to UPGRADE.md
v3.11-r2
- 2022-06-26 - Make codechecker happy again
- 2022-06-26 - Updated Moodle Plugin CI to latest upstream recommendations
- 2022-06-26 - Add UPGRADE.md as internal upgrade documentation
- 2022-06-26 - Update maintainers and copyrights in README.md.
v3.11-r1
- 2021-12-08 - Prepare compatibility for Moodle 3.11.
v3.10-r2
- 2021-08-28 - Feature: Add a body class which contains the page name of the static page shown
- 2021-08-28 - Bugfix: Fix incorrect setting defaults when installing the plugin - Thanks to Davo Smith
- 2021-08-28 - Replace the deprecated print_error() function with a Moodle exception
- 2021-08-28 - Feature: Allow non-admins to manage static page documents by introducing the local/staticpage:managedocuments capability
- 2021-02-05 - Move Moodle Plugin CI from Travis CI to Github actions
v3.10-r1
- 2021-01-09 - Change Bootstrap labels to badges to comply with Bootstrap 4 standards
- 2021-01-09 - Fix a small language pack flaw for the admin setting page.
- 2021-01-09 - Prepare compatibility for Moodle 3.10.
- 2021-01-06 - Change in Moodle release support:
For the time being, this plugin is maintained for the most recent LTS release of Moodle as well as the most recent major release of Moodle.
Bugfixes are backported to the LTS release. However, new features and improvements are not necessarily backported to the LTS release. - 2021-01-06 - Improvement: Declare which major stable version of Moodle this plugin supports (see MDL-59562 for details).
v3.9-r1
- 2020-11-25 - Improvement: Improve require_once calls which require the plugin's library - Credits to Antoni Bertran.
- 2020-11-25 - Prepare compatibility for Moodle 3.9.
v3.8-r1
- 2020-02-14 - Prepare compatibility for Moodle 3.8.
- 2019-12-18 - Improved behat test for fileupload because MDL-60975 was fixed.
PLEASE NOTE: For all scenarios to pass, the Moodle version 3.7.3+ (Build: 20191212) is needed.
v3.7-r2
- 2019-12-12 - Bugfix: List of static pages link broken when moodle is installed in subdirectory - Credits to wuzhuoqing.
- 2019-10-24 - Improvement: Add @_file_upload tag to fix failing behat tests.
v3.7-r1
- 2019-09-27 - Added behat tests.
- 2019-09-23 - Add admin setting to check availability on list of static pages or not - Credits to Arief Wibowo.
- 2019-08-05 - Prepare compatibility for Moodle 3.7.
v3.6-r1
- 2019-01-22 - Check compatibility for Moodle 3.6, no functionality change.
- 2018-12-05 - Changed travis.yml due to upstream changes.
v3.5-r2
- 2018-09-26 - Bugfix: Forcing apache rewrite wasn't possible for Moodle installations in subdirectories.
v3.5-r1
- 2018-06-29 - Check compatibility for Moodle 3.5, no functionality change.
v3.4-r2
- 2018-05-16 - Implement Privacy API.
v3.4-r1
- 2017-12-14 - Check compatibility for Moodle 3.4, no functionality change.
- 2017-12-05 - Added Workaround to travis.yml for fixing Behat tests with TravisCI.
v3.3-r1
- 2017-11-23 - Check compatibility for Moodle 3.3, no functionality change.
- 2017-11-08 - Updated travis.yml to use newer node version for fixing TravisCI error.
v3.2-r9
- 2017-09-22 - Bugfix: Boost seems not to process filters for our breadcrumb element anymore
v3.2-r8
- 2017-09-13 - Escape proposed HTML structure and Apache configuration in README
- 2017-09-13 - Escape HTML code in language pack - Credits to Carson Tam
v3.2-r7
- 2017-05-29 - Add Travis CI support
v3.2-r6
- 2017-05-05 - Improve README.md
- 2017-02-15 - Minor code improvement, no functionality change
v3.2-r5
- 2017-01-27 - Automatically rename htm files to html - Credits to Andrew Hancox
v3.2-r4
- 2017-01-12 - Move Changelog from README.md to CHANGES.md
v3.2-r3
- 2017-01-12 - Check compatibility for Moodle 3.2, no functionality change
- 2017-01-12 - Re-add the list of available static pages
- 2017-01-11 - Improve README
v3.2-r2
- Internal release
v3.2-r1
- Internal release
v3.1-r2
- 2016-07-21 - Move the plugin's settings page to Site Administration -> Static Pages because this is where it logically belongs to
v3.1-r1
- 2016-07-19 - Check compatibility for Moodle 3.1, no functionality change
Changes before v3.1
- 2016-05-09 - Add settings to control if filters are processed and if the HTML code is cleaned on a static page or not
- 2016-04-07 - Add a setting to control if a static page should be shown to visitors or not
- 2016-02-10 - Add a new filearea to save the document files within Moodle - This change might break backwards compatibility in some situations, please read the "Upgrading from previous versions" below
- 2016-02-10 - Change plugin version and release scheme to the scheme promoted by moodle.org, no functionality change
- 2016-01-25 - Improve RewriteRules in README, no functionality change - Credits to Daniel Ruf
- 2016-01-01 - Check compatibility for Moodle 3.0, no functionality change
- 2015-08-18 - Check compatibility for Moodle 2.9, no functionality change
- 2015-01-23 - Check compatibility for Moodle 2.8, no functionality change
- 2014-08-19 - Add possibility to use a
<style>tag in the HTML code of static page files - 2014-06-30 - Add plugin's name as prefix to function names
- 2014-06-30 - Check compatibility for Moodle 2.7, no functionality change
- 2014-01-31 - Add description how to add blocks to static pages
- 2014-01-31 - Extend valid URLs to alphanumeric characters (no numbers were allowed before)
- 2014-01-31 - Require login if Moodle is configured to force login - Credits to toby saunders
- 2014-01-31 - Check compatibility for Moodle 2.6, no functionality change
- 2013-10-25 - Remove support for 'staticpage' pagelayout because of problems with Bootstrap-based themes. local_staticpage uses 'standard' pagelayout now. Please check your CSS cascades if you have styled static pages in any special way.
- 2013-09-02 - Check availability of static page directly on settings page, show error if page isn't downloadable
- 2013-09-02 - Add an option to set the data source of document title, document heading and breadcrumb item title
- 2013-08-08 - Improve README
- 2013-07-30 - Transfer Github repository from github.com/abias/... to github.com/moodleuulm/...; Please update your Git paths if necessary
- 2013-07-30 - Check compatibility for Moodle 2.5, no functionality change
- 2013-07-23 - Extend valid URLs with "_-" characters
- 2013-04-23 - Fix problems on windows systems
- 2013-04-22 - Bugfix: Language switcher didn't work anymore on a static page
- 2013-03-22 - Bugfix: Static page wouldn't show even if everything was configured correctly; Please notice that apache rewrite rule has changed
- 2013-03-18 - Code cleanup according to moodle codechecker
- 2013-02-18 - Check compatibility for Moodle 2.4, fix language string names to comply with language string name convention
- 2013-01-21 - Fix a flaw in README file regarding filename examples
- 2013-01-21 - Fix a flaw in README file regarding Apache mod_rewrite
- 2013-01-21 - Migrate plugin settings from config.php to a settings page within Moodle
- 2012-09-26 - Replace deprecated get_context_instance function
- 2012-06-25 - Update version.php for Moodle 2.3
- 2012-06-01 - Initial version
v4.5-r3 (2024100702)
v4.5-r3
Plugin type: Local plugins
Frankenstyle component name: local_staticpage
Version build number: 2024100702
Version release name: v4.5-r3
Maturity: Stable
Supported Moodle versions: 4.5
Repository URL (Git): https://github.com/moodle-an-hochschulen/moodle-local_staticpage
Repository branch:
Repository tag: v4.5-r3
Issue/bug tracker URL: https://github.com/moodle-an-hochschulen/moodle-local_staticpage/issues
moodle-local_staticpage
Changes
v4.5-r3
- 2025-10-15 - Make codechecker happy again
- 2025-10-15 - Tests: Switch Github actions workflows to reusable workflows by Moodle an Hochschulen e.V.
v4.5-r2
- 2025-05-06 - Tests: Fix Behat failures due to MDL-67683, resolves #76
v4.5-r1
- 2024-10-14 - Upgrade: Adopt changes from MDL-82183 and use new \core\output\html_writer
- 2024-10-14 - Upgrade: Adopt changes from MDL-81960 and use new \core\url class
- 2024-10-14 - Upgrade: Adopt changes from MDL-81818 to remove old bootstrap classes
- 2024-10-07 - Prepare compatibility for Moodle 4.5.
v4.4-r1
- 2024-08-24 - Development: Rename master branch to main, please update your clones.
- 2024-08-20 - Upgrade: Update Bootstrap classes for Moodle 4.4.
- 2024-08-20 - Prepare compatibility for Moodle 4.4.
v4.3-r2
- 2024-08-11 - Add section for scheduled tasks to README
- 2024-08-11 - Updated Moodle Plugin CI to latest upstream recommendations
- 2024-08-11 - Preserve tags in head of static page document by moving it to the Moodle
- 2024-08-11 - Added static page view even, credits to Jeroen de Bruijn.
- 2024-01-08 - Improve the installation and usage of language packs in Behat tests.
v4.3-r1
- 2023-10-20 - Prepare compatibility for Moodle 4.3.
v4.2-r1
- 2023-10-19 - Fix Behat tests which broke on Moodle 4.2.
- 2023-09-01 - Prepare compatibility for Moodle 4.2.
v4.1-r2
- 2023-10-14 - Add automated release to moodle.org/plugins
- 2023-10-14 - Make codechecker happy again
- 2023-10-10 - Updated Moodle Plugin CI to latest upstream recommendations
- 2023-04-30 - Tests: Updated Moodle Plugin CI to use PHP 8.1 and Postgres 13 from Moodle 4.1 on.
v4.1-r1
- 2023-01-21 - Prepare compatibility for Moodle 4.1.
- 2022-11-28 - Updated Moodle Plugin CI to latest upstream recommendations
v4.0-r1
- 2022-07-12 - Improve lib.php, solves #62.
- 2022-07-12 - Remove the 'documentnavbarsource' setting as static pages do not have a navbar anymore on Moodle 4.0.
- 2022-07-12 - Fix Behat tests which broke with Moodle 4.0.
- 2022-07-12 - Prepare compatibility for Moodle 4.0.
v3.11-r3
- 2022-07-11 - Bugfix: Static page was crippled if the HTML code did not contain a plain body tag, solves #64 and several older issues.
- 2022-07-11 - Add links to README to the language pack, solves #61
- 2022-07-10 - Add Visual checks section to UPGRADE.md
v3.11-r2
- 2022-06-26 - Make codechecker happy again
- 2022-06-26 - Updated Moodle Plugin CI to latest upstream recommendations
- 2022-06-26 - Add UPGRADE.md as internal upgrade documentation
- 2022-06-26 - Update maintainers and copyrights in README.md.
v3.11-r1
- 2021-12-08 - Prepare compatibility for Moodle 3.11.
v3.10-r2
- 2021-08-28 - Feature: Add a body class which contains the page name of the static page shown
- 2021-08-28 - Bugfix: Fix incorrect setting defaults when installing the plugin - Thanks to Davo Smith
- 2021-08-28 - Replace the deprecated print_error() function with a Moodle exception
- 2021-08-28 - Feature: Allow non-admins to manage static page documents by introducing the local/staticpage:managedocuments capability
- 2021-02-05 - Move Moodle Plugin CI from Travis CI to Github actions
v3.10-r1
- 2021-01-09 - Change Bootstrap labels to badges to comply with Bootstrap 4 standards
- 2021-01-09 - Fix a small language pack flaw for the admin setting page.
- 2021-01-09 - Prepare compatibility for Moodle 3.10.
- 2021-01-06 - Change in Moodle release support:
For the time being, this plugin is maintained for the most recent LTS release of Moodle as well as the most recent major release of Moodle.
Bugfixes are backported to the LTS release. However, new features and improvements are not necessarily backported to the LTS release. - 2021-01-06 - Improvement: Declare which major stable version of Moodle this plugin supports (see MDL-59562 for details).
v3.9-r1
- 2020-11-25 - Improvement: Improve require_once calls which require the plugin's library - Credits to Antoni Bertran.
- 2020-11-25 - Prepare compatibility for Moodle 3.9.
v3.8-r1
- 2020-02-14 - Prepare compatibility for Moodle 3.8.
- 2019-12-18 - Improved behat test for fileupload because MDL-60975 was fixed.
PLEASE NOTE: For all scenarios to pass, the Moodle version 3.7.3+ (Build: 20191212) is needed.
v3.7-r2
- 2019-12-12 - Bugfix: List of static pages link broken when moodle is installed in subdirectory - Credits to wuzhuoqing.
- 2019-10-24 - Improvement: Add @_file_upload tag to fix failing behat tests.
v3.7-r1
- 2019-09-27 - Added behat tests.
- 2019-09-23 - Add admin setting to check availability on list of static pages or not - Credits to Arief Wibowo.
- 2019-08-05 - Prepare compatibility for Moodle 3.7.
v3.6-r1
- 2019-01-22 - Check compatibility for Moodle 3.6, no functionality change.
- 2018-12-05 - Changed travis.yml due to upstream changes.
v3.5-r2
- 2018-09-26 - Bugfix: Forcing apache rewrite wasn't possible for Moodle installations in subdirectories.
v3.5-r1
- 2018-06-29 - Check compatibility for Moodle 3.5, no functionality change.
v3.4-r2
- 2018-05-16 - Implement Privacy API.
v3.4-r1
- 2017-12-14 - Check compatibility for Moodle 3.4, no functionality change.
- 2017-12-05 - Added Workaround to travis.yml for fixing Behat tests with TravisCI.
v3.3-r1
- 2017-11-23 - Check compatibility for Moodle 3.3, no functionality change.
- 2017-11-08 - Updated travis.yml to use newer node version for fixing TravisCI error.
v3.2-r9
- 2017-09-22 - Bugfix: Boost seems not to process filters for our breadcrumb element anymore
v3.2-r8
- 2017-09-13 - Escape proposed HTML structure and Apache configuration in README
- 2017-09-13 - Escape HTML code in language pack - Credits to Carson Tam
v3.2-r7
- 2017-05-29 - Add Travis CI support
v3.2-r6
- 2017-05-05 - Improve README.md
- 2017-02-15 - Minor code improvement, no functionality change
v3.2-r5
- 2017-01-27 - Automatically rename htm files to html - Credits to Andrew Hancox
v3.2-r4
- 2017-01-12 - Move Changelog from README.md to CHANGES.md
v3.2-r3
- 2017-01-12 - Check compatibility for Moodle 3.2, no functionality change
- 2017-01-12 - Re-add the list of available static pages
- 2017-01-11 - Improve README
v3.2-r2
- Internal release
v3.2-r1
- Internal release
v3.1-r2
- 2016-07-21 - Move the plugin's settings page to Site Administration -> Static Pages because this is where it logically belongs to
v3.1-r1
- 2016-07-19 - Check compatibility for Moodle 3.1, no functionality change
Changes before v3.1
- 2016-05-09 - Add settings to control if filters are processed and if the HTML code is cleaned on a static page or not
- 2016-04-07 - Add a setting to control if a static page should be shown to visitors or not
- 2016-02-10 - Add a new filearea to save the document files within Moodle - This change might break backwards compatibility in some situations, please read the "Upgrading from previous versions" below
- 2016-02-10 - Change plugin version and release scheme to the scheme promoted by moodle.org, no functionality change
- 2016-01-25 - Improve RewriteRules in README, no functionality change - Credits to Daniel Ruf
- 2016-01-01 - Check compatibility for Moodle 3.0, no functionality change
- 2015-08-18 - Check compatibility for Moodle 2.9, no functionality change
- 2015-01-23 - Check compatibility for Moodle 2.8, no functionality change
- 2014-08-19 - Add possibility to use a
<style>tag in the HTML code of static page files - 2014-06-30 - Add plugin's name as prefix to function names
- 2014-06-30 - Check compatibility for Moodle 2.7, no functionality change
- 2014-01-31 - Add description how to add blocks to static pages
- 2014-01-31 - Extend valid URLs to alphanumeric characters (no numbers were allowed before)
- 2014-01-31 - Require login if Moodle is configured to force login - Credits to toby saunders
- 2014-01-31 - Check compatibility for Moodle 2.6, no functionality change
- 2013-10-25 - Remove support for 'staticpage' pagelayout because of problems with Bootstrap-based themes. local_staticpage uses 'standard' pagelayout now. Please check your CSS cascades if you have styled static pages in any special way.
- 2013-09-02 - Check availability of static page directly on settings page, show error if page isn't downloadable
- 2013-09-02 - Add an option to set the data source of document title, document heading and breadcrumb item title
- 2013-08-08 - Improve README
- 2013-07-30 - Transfer Github repository from github.com/abias/... to github.com/moodleuulm/...; Please update your Git paths if necessary
- 2013-07-30 - Check compatibility for Moodle 2.5, no functionality change
- 2013-07-23 - Extend valid URLs with "_-" characters
- 2013-04-23 - Fix problems on windows systems
- 2013-04-22 - Bugfix: Language switcher didn't work anymore on a static page
- 2013-03-22 - Bugfix: Static page wouldn't show even if everything was configured correctly; Please notice that apache rewrite rule has changed
- 2013-03-18 - Code cleanup according to moodle codechecker
- 2013-02-18 - Check compatibility for Moodle 2.4, fix language string names to comply with language string name convention
- 2013-01-21 - Fix a flaw in README file regarding filename examples
- 2013-01-21 - Fix a flaw in README file regarding Apache mod_rewrite
- 2013-01-21 - Migrate plugin settings from config.php to a settings page within Moodle
- 2012-09-26 - Replace deprecated get_context_instance function
- 2012-06-25 - Update version.php for Moodle 2.3
- 2012-06-01 - Initial version
v5.0-r2 (2025041401)
v5.0-r2
Plugin type: Local plugins
Frankenstyle component name: local_staticpage
Version build number: 2025041401
Version release name: v5.0-r2
Maturity: Stable
Supported Moodle versions: 5.0
Repository URL (Git): https://github.com/moodle-an-hochschulen/moodle-local_staticpage
Repository branch:
Repository tag: v5.0-r2
Issue/bug tracker URL: https://github.com/moodle-an-hochschulen/moodle-local_staticpage/issues
moodle-local_staticpage
Changes
v5.0-r2
- 2025-10-15 - Make codechecker happy again
- 2025-10-15 - Tests: Switch Github actions workflows to reusable workflows by Moodle an Hochschulen e.V.
v5.0-r1
- 2025-04-14 - Prepare compatibility for Moodle 5.0.
v4.5-r2
- 2025-05-06 - Tests: Fix Behat failures due to MDL-67683, resolves #76
v4.5-r1
- 2024-10-14 - Upgrade: Adopt changes from MDL-82183 and use new \core\output\html_writer
- 2024-10-14 - Upgrade: Adopt changes from MDL-81960 and use new \core\url class
- 2024-10-14 - Upgrade: Adopt changes from MDL-81818 to remove old bootstrap classes
- 2024-10-07 - Prepare compatibility for Moodle 4.5.
v4.4-r1
- 2024-08-24 - Development: Rename master branch to main, please update your clones.
- 2024-08-20 - Upgrade: Update Bootstrap classes for Moodle 4.4.
- 2024-08-20 - Prepare compatibility for Moodle 4.4.
v4.3-r2
- 2024-08-11 - Add section for scheduled tasks to README
- 2024-08-11 - Updated Moodle Plugin CI to latest upstream recommendations
- 2024-08-11 - Preserve tags in head of static page document by moving it to the Moodle
- 2024-08-11 - Added static page view even, credits to Jeroen de Bruijn.
- 2024-01-08 - Improve the installation and usage of language packs in Behat tests.
v4.3-r1
- 2023-10-20 - Prepare compatibility for Moodle 4.3.
v4.2-r1
- 2023-10-19 - Fix Behat tests which broke on Moodle 4.2.
- 2023-09-01 - Prepare compatibility for Moodle 4.2.
v4.1-r2
- 2023-10-14 - Add automated release to moodle.org/plugins
- 2023-10-14 - Make codechecker happy again
- 2023-10-10 - Updated Moodle Plugin CI to latest upstream recommendations
- 2023-04-30 - Tests: Updated Moodle Plugin CI to use PHP 8.1 and Postgres 13 from Moodle 4.1 on.
v4.1-r1
- 2023-01-21 - Prepare compatibility for Moodle 4.1.
- 2022-11-28 - Updated Moodle Plugin CI to latest upstream recommendations
v4.0-r1
- 2022-07-12 - Improve lib.php, solves #62.
- 2022-07-12 - Remove the 'documentnavbarsource' setting as static pages do not have a navbar anymore on Moodle 4.0.
- 2022-07-12 - Fix Behat tests which broke with Moodle 4.0.
- 2022-07-12 - Prepare compatibility for Moodle 4.0.
v3.11-r3
- 2022-07-11 - Bugfix: Static page was crippled if the HTML code did not contain a plain body tag, solves #64 and several older issues.
- 2022-07-11 - Add links to README to the language pack, solves #61
- 2022-07-10 - Add Visual checks section to UPGRADE.md
v3.11-r2
- 2022-06-26 - Make codechecker happy again
- 2022-06-26 - Updated Moodle Plugin CI to latest upstream recommendations
- 2022-06-26 - Add UPGRADE.md as internal upgrade documentation
- 2022-06-26 - Update maintainers and copyrights in README.md.
v3.11-r1
- 2021-12-08 - Prepare compatibility for Moodle 3.11.
v3.10-r2
- 2021-08-28 - Feature: Add a body class which contains the page name of the static page shown
- 2021-08-28 - Bugfix: Fix incorrect setting defaults when installing the plugin - Thanks to Davo Smith
- 2021-08-28 - Replace the deprecated print_error() function with a Moodle exception
- 2021-08-28 - Feature: Allow non-admins to manage static page documents by introducing the local/staticpage:managedocuments capability
- 2021-02-05 - Move Moodle Plugin CI from Travis CI to Github actions
v3.10-r1
- 2021-01-09 - Change Bootstrap labels to badges to comply with Bootstrap 4 standards
- 2021-01-09 - Fix a small language pack flaw for the admin setting page.
- 2021-01-09 - Prepare compatibility for Moodle 3.10.
- 2021-01-06 - Change in Moodle release support:
For the time being, this plugin is maintained for the most recent LTS release of Moodle as well as the most recent major release of Moodle.
Bugfixes are backported to the LTS release. However, new features and improvements are not necessarily backported to the LTS release. - 2021-01-06 - Improvement: Declare which major stable version of Moodle this plugin supports (see MDL-59562 for details).
v3.9-r1
- 2020-11-25 - Improvement: Improve require_once calls which require the plugin's library - Credits to Antoni Bertran.
- 2020-11-25 - Prepare compatibility for Moodle 3.9.
v3.8-r1
- 2020-02-14 - Prepare compatibility for Moodle 3.8.
- 2019-12-18 - Improved behat test for fileupload because MDL-60975 was fixed.
PLEASE NOTE: For all scenarios to pass, the Moodle version 3.7.3+ (Build: 20191212) is needed.
v3.7-r2
- 2019-12-12 - Bugfix: List of static pages link broken when moodle is installed in subdirectory - Credits to wuzhuoqing.
- 2019-10-24 - Improvement: Add @_file_upload tag to fix failing behat tests.
v3.7-r1
- 2019-09-27 - Added behat tests.
- 2019-09-23 - Add admin setting to check availability on list of static pages or not - Credits to Arief Wibowo.
- 2019-08-05 - Prepare compatibility for Moodle 3.7.
v3.6-r1
- 2019-01-22 - Check compatibility for Moodle 3.6, no functionality change.
- 2018-12-05 - Changed travis.yml due to upstream changes.
v3.5-r2
- 2018-09-26 - Bugfix: Forcing apache rewrite wasn't possible for Moodle installations in subdirectories.
v3.5-r1
- 2018-06-29 - Check compatibility for Moodle 3.5, no functionality change.
v3.4-r2
- 2018-05-16 - Implement Privacy API.
v3.4-r1
- 2017-12-14 - Check compatibility for Moodle 3.4, no functionality change.
- 2017-12-05 - Added Workaround to travis.yml for fixing Behat tests with TravisCI.
v3.3-r1
- 2017-11-23 - Check compatibility for Moodle 3.3, no functionality change.
- 2017-11-08 - Updated travis.yml to use newer node version for fixing TravisCI error.
v3.2-r9
- 2017-09-22 - Bugfix: Boost seems not to process filters for our breadcrumb element anymore
v3.2-r8
- 2017-09-13 - Escape proposed HTML structure and Apache configuration in README
- 2017-09-13 - Escape HTML code in language pack - Credits to Carson Tam
v3.2-r7
- 2017-05-29 - Add Travis CI support
v3.2-r6
- 2017-05-05 - Improve README.md
- 2017-02-15 - Minor code improvement, no functionality change
v3.2-r5
- 2017-01-27 - Automatically rename htm files to html - Credits to Andrew Hancox
v3.2-r4
- 2017-01-12 - Move Changelog from README.md to CHANGES.md
v3.2-r3
- 2017-01-12 - Check compatibility for Moodle 3.2, no functionality change
- 2017-01-12 - Re-add the list of available static pages
- 2017-01-11 - Improve README
v3.2-r2
- Internal release
v3.2-r1
- Internal release
v3.1-r2
- 2016-07-21 - Move the plugin's settings page to Site Administration -> Static Pages because this is where it logically belongs to
v3.1-r1
- 2016-07-19 - Check compatibility for Moodle 3.1, no functionality change
Changes before v3.1
- 2016-05-09 - Add settings to control if filters are processed and if the HTML code is cleaned on a static page or not
- 2016-04-07 - Add a setting to control if a static page should be shown to visitors or not
- 2016-02-10 - Add a new filearea to save the document files within Moodle - This change might break backwards compatibility in some situations, please read the "Upgrading from previous versions" below
- 2016-02-10 - Change plugin version and release scheme to the scheme promoted by moodle.org, no functionality change
- 2016-01-25 - Improve RewriteRules in README, no functionality change - Credits to Daniel Ruf
- 2016-01-01 - Check compatibility for Moodle 3.0, no functionality change
- 2015-08-18 - Check compatibility for Moodle 2.9, no functionality change
- 2015-01-23 - Check compatibility for Moodle 2.8, no functionality change
- 2014-08-19 - Add possibility to use a
<style>tag in the HTML code of static page files - 2014-06-30 - Add plugin's name as prefix to function names
- 2014-06-30 - Check compatibility for Moodle 2.7, no functionality change
- 2014-01-31 - Add description how to add blocks to static pages
- 2014-01-31 - Extend valid URLs to alphanumeric characters (no numbers were allowed before)
- 2014-01-31 - Require login if Moodle is configured to force login - Credits to toby saunders
- 2014-01-31 - Check compatibility for Moodle 2.6, no functionality change
- 2013-10-25 - Remove support for 'staticpage' pagelayout because of problems with Bootstrap-based themes. local_staticpage uses 'standard' pagelayout now. Please check your CSS cascades if you have styled static pages in any special way.
- 2013-09-02 - Check availability of static page directly on settings page, show error if page isn't downloadable
- 2013-09-02 - Add an option to set the data source of document title, document heading and breadcrumb item title
- 2013-08-08 - Improve README
- 2013-07-30 - Transfer Github repository from github.com/abias/... to github.com/moodleuulm/...; Please update your Git paths if necessary
- 2013-07-30 - Check compatibility for Moodle 2.5, no functionality change
- 2013-07-23 - Extend valid URLs with "_-" characters
- 2013-04-23 - Fix problems on windows systems
- 2013-04-22 - Bugfix: Language switcher didn't work anymore on a static page
- 2013-03-22 - Bugfix: Static page wouldn't show even if everything was configured correctly; Please notice that apache rewrite rule has changed
- 2013-03-18 - Code cleanup according to moodle codechecker
- 2013-02-18 - Check compatibility for Moodle 2.4, fix language string names to comply with language string name convention
- 2013-01-21 - Fix a flaw in README file regarding filename examples
- 2013-01-21 - Fix a flaw in README file regarding Apache mod_rewrite
- 2013-01-21 - Migrate plugin settings from config.php to a settings page within Moodle
- 2012-09-26 - Replace deprecated get_context_instance function
- 2012-06-25 - Update version.php for Moodle 2.3
- 2012-06-01 - Initial version
v5.0-r1 (2025041400)
v5.0-r1
Plugin type: Local plugins
Frankenstyle component name: local_staticpage
Version build number: 2025041400
Version release name: v5.0-r1
Maturity: Stable
Supported Moodle versions: 5.0
Repository URL (Git): https://github.com/moodle-an-hochschulen/moodle-local_staticpage
Repository branch:
Repository tag: v5.0-r1
Issue/bug tracker URL: https://github.com/moodle-an-hochschulen/moodle-local_staticpage/issues
moodle-local_staticpage
Changes
v5.0-r1
- 2025-04-14 - Prepare compatibility for Moodle 5.0.
v4.5-r2
- 2025-05-06 - Tests: Fix Behat failures due to MDL-67683, resolves #76
v4.5-r1
- 2024-10-14 - Upgrade: Adopt changes from MDL-82183 and use new \core\output\html_writer
- 2024-10-14 - Upgrade: Adopt changes from MDL-81960 and use new \core\url class
- 2024-10-14 - Upgrade: Adopt changes from MDL-81818 to remove old bootstrap classes
- 2024-10-07 - Prepare compatibility for Moodle 4.5.
v4.4-r1
- 2024-08-24 - Development: Rename master branch to main, please update your clones.
- 2024-08-20 - Upgrade: Update Bootstrap classes for Moodle 4.4.
- 2024-08-20 - Prepare compatibility for Moodle 4.4.
v4.3-r2
- 2024-08-11 - Add section for scheduled tasks to README
- 2024-08-11 - Updated Moodle Plugin CI to latest upstream recommendations
- 2024-08-11 - Preserve tags in head of static page document by moving it to the Moodle
- 2024-08-11 - Added static page view even, credits to Jeroen de Bruijn.
- 2024-01-08 - Improve the installation and usage of language packs in Behat tests.
v4.3-r1
- 2023-10-20 - Prepare compatibility for Moodle 4.3.
v4.2-r1
- 2023-10-19 - Fix Behat tests which broke on Moodle 4.2.
- 2023-09-01 - Prepare compatibility for Moodle 4.2.
v4.1-r2
- 2023-10-14 - Add automated release to moodle.org/plugins
- 2023-10-14 - Make codechecker happy again
- 2023-10-10 - Updated Moodle Plugin CI to latest upstream recommendations
- 2023-04-30 - Tests: Updated Moodle Plugin CI to use PHP 8.1 and Postgres 13 from Moodle 4.1 on.
v4.1-r1
- 2023-01-21 - Prepare compatibility for Moodle 4.1.
- 2022-11-28 - Updated Moodle Plugin CI to latest upstream recommendations
v4.0-r1
- 2022-07-12 - Improve lib.php, solves #62.
- 2022-07-12 - Remove the 'documentnavbarsource' setting as static pages do not have a navbar anymore on Moodle 4.0.
- 2022-07-12 - Fix Behat tests which broke with Moodle 4.0.
- 2022-07-12 - Prepare compatibility for Moodle 4.0.
v3.11-r3
- 2022-07-11 - Bugfix: Static page was crippled if the HTML code did not contain a plain body tag, solves #64 and several older issues.
- 2022-07-11 - Add links to README to the language pack, solves #61
- 2022-07-10 - Add Visual checks section to UPGRADE.md
v3.11-r2
- 2022-06-26 - Make codechecker happy again
- 2022-06-26 - Updated Moodle Plugin CI to latest upstream recommendations
- 2022-06-26 - Add UPGRADE.md as internal upgrade documentation
- 2022-06-26 - Update maintainers and copyrights in README.md.
v3.11-r1
- 2021-12-08 - Prepare compatibility for Moodle 3.11.
v3.10-r2
- 2021-08-28 - Feature: Add a body class which contains the page name of the static page shown
- 2021-08-28 - Bugfix: Fix incorrect setting defaults when installing the plugin - Thanks to Davo Smith
- 2021-08-28 - Replace the deprecated print_error() function with a Moodle exception
- 2021-08-28 - Feature: Allow non-admins to manage static page documents by introducing the local/staticpage:managedocuments capability
- 2021-02-05 - Move Moodle Plugin CI from Travis CI to Github actions
v3.10-r1
- 2021-01-09 - Change Bootstrap labels to badges to comply with Bootstrap 4 standards
- 2021-01-09 - Fix a small language pack flaw for the admin setting page.
- 2021-01-09 - Prepare compatibility for Moodle 3.10.
- 2021-01-06 - Change in Moodle release support:
For the time being, this plugin is maintained for the most recent LTS release of Moodle as well as the most recent major release of Moodle.
Bugfixes are backported to the LTS release. However, new features and improvements are not necessarily backported to the LTS release. - 2021-01-06 - Improvement: Declare which major stable version of Moodle this plugin supports (see MDL-59562 for details).
v3.9-r1
- 2020-11-25 - Improvement: Improve require_once calls which require the plugin's library - Credits to Antoni Bertran.
- 2020-11-25 - Prepare compatibility for Moodle 3.9.
v3.8-r1
- 2020-02-14 - Prepare compatibility for Moodle 3.8.
- 2019-12-18 - Improved behat test for fileupload because MDL-60975 was fixed.
PLEASE NOTE: For all scenarios to pass, the Moodle version 3.7.3+ (Build: 20191212) is needed.
v3.7-r2
- 2019-12-12 - Bugfix: List of static pages link broken when moodle is installed in subdirectory - Credits to wuzhuoqing.
- 2019-10-24 - Improvement: Add @_file_upload tag to fix failing behat tests.
v3.7-r1
- 2019-09-27 - Added behat tests.
- 2019-09-23 - Add admin setting to check availability on list of static pages or not - Credits to Arief Wibowo.
- 2019-08-05 - Prepare compatibility for Moodle 3.7.
v3.6-r1
- 2019-01-22 - Check compatibility for Moodle 3.6, no functionality change.
- 2018-12-05 - Changed travis.yml due to upstream changes.
v3.5-r2
- 2018-09-26 - Bugfix: Forcing apache rewrite wasn't possible for Moodle installations in subdirectories.
v3.5-r1
- 2018-06-29 - Check compatibility for Moodle 3.5, no functionality change.
v3.4-r2
- 2018-05-16 - Implement Privacy API.
v3.4-r1
- 2017-12-14 - Check compatibility for Moodle 3.4, no functionality change.
- 2017-12-05 - Added Workaround to travis.yml for fixing Behat tests with TravisCI.
v3.3-r1
- 2017-11-23 - Check compatibility for Moodle 3.3, no functionality change.
- 2017-11-08 - Updated travis.yml to use newer node version for fixing TravisCI error.
v3.2-r9
- 2017-09-22 - Bugfix: Boost seems not to process filters for our breadcrumb element anymore
v3.2-r8
- 2017-09-13 - Escape proposed HTML structure and Apache configuration in README
- 2017-09-13 - Escape HTML code in language pack - Credits to Carson Tam
v3.2-r7
- 2017-05-29 - Add Travis CI support
v3.2-r6
- 2017-05-05 - Improve README.md
- 2017-02-15 - Minor code improvement, no functionality change
v3.2-r5
- 2017-01-27 - Automatically rename htm files to html - Credits to Andrew Hancox
v3.2-r4
- 2017-01-12 - Move Changelog from README.md to CHANGES.md
v3.2-r3
- 2017-01-12 - Check compatibility for Moodle 3.2, no functionality change
- 2017-01-12 - Re-add the list of available static pages
- 2017-01-11 - Improve README
v3.2-r2
- Internal release
v3.2-r1
- Internal release
v3.1-r2
- 2016-07-21 - Move the plugin's settings page to Site Administration -> Static Pages because this is where it logically belongs to
v3.1-r1
- 2016-07-19 - Check compatibility for Moodle 3.1, no functionality change
Changes before v3.1
- 2016-05-09 - Add settings to control if filters are processed and if the HTML code is cleaned on a static page or not
- 2016-04-07 - Add a setting to control if a static page should be shown to visitors or not
- 2016-02-10 - Add a new filearea to save the document files within Moodle - This change might break backwards compatibility in some situations, please read the "Upgrading from previous versions" below
- 2016-02-10 - Change plugin version and release scheme to the scheme promoted by moodle.org, no functionality change
- 2016-01-25 - Improve RewriteRules in README, no functionality change - Credits to Daniel Ruf
- 2016-01-01 - Check compatibility for Moodle 3.0, no functionality change
- 2015-08-18 - Check compatibility for Moodle 2.9, no functionality change
- 2015-01-23 - Check compatibility for Moodle 2.8, no functionality change
- 2014-08-19 - Add possibility to use a
<style>tag in the HTML code of static page files - 2014-06-30 - Add plugin's name as prefix to function names
- 2014-06-30 - Check compatibility for Moodle 2.7, no functionality change
- 2014-01-31 - Add description how to add blocks to static pages
- 2014-01-31 - Extend valid URLs to alphanumeric characters (no numbers were allowed before)
- 2014-01-31 - Require login if Moodle is configured to force login - Credits to toby saunders
- 2014-01-31 - Check compatibility for Moodle 2.6, no functionality change
- 2013-10-25 - Remove support for 'staticpage' pagelayout because of problems with Bootstrap-based themes. local_staticpage uses 'standard' pagelayout now. Please check your CSS cascades if you have styled static pages in any special way.
- 2013-09-02 - Check availability of static page directly on settings page, show error if page isn't downloadable
- 2013-09-02 - Add an option to set the data source of document title, document heading and breadcrumb item title
- 2013-08-08 - Improve README
- 2013-07-30 - Transfer Github repository from github.com/abias/... to github.com/moodleuulm/...; Please update your Git paths if necessary
- 2013-07-30 - Check compatibility for Moodle 2.5, no functionality change
- 2013-07-23 - Extend valid URLs with "_-" characters
- 2013-04-23 - Fix problems on windows systems
- 2013-04-22 - Bugfix: Language switcher didn't work anymore on a static page
- 2013-03-22 - Bugfix: Static page wouldn't show even if everything was configured correctly; Please notice that apache rewrite rule has changed
- 2013-03-18 - Code cleanup according to moodle codechecker
- 2013-02-18 - Check compatibility for Moodle 2.4, fix language string names to comply with language string name convention
- 2013-01-21 - Fix a flaw in README file regarding filename examples
- 2013-01-21 - Fix a flaw in README file regarding Apache mod_rewrite
- 2013-01-21 - Migrate plugin settings from config.php to a settings page within Moodle
- 2012-09-26 - Replace deprecated get_context_instance function
- 2012-06-25 - Update version.php for Moodle 2.3
- 2012-06-01 - Initial version
v4.4-r2 (2024060101)
v4.4-r2
Plugin type: Local plugins
Frankenstyle component name: local_staticpage
Version build number: 2024060101
Version release name: v4.4-r2
Maturity: Stable
Supported Moodle versions: 4.4
Repository URL (Git): https://github.com/moodle-an-hochschulen/moodle-local_staticpage
Repository branch:
Repository tag: v4.4-r2
Issue/bug tracker URL: https://github.com/moodle-an-hochschulen/moodle-local_staticpage/issues
moodle-local_staticpage
Changes
v4.4-r2
- 2025-05-06 - Tests: Fix Behat failures due to MDL-67683, resolves #76
v4.4-r1
- 2024-08-24 - Development: Rename master branch to main, please update your clones.
- 2024-08-20 - Upgrade: Update Bootstrap classes for Moodle 4.4.
- 2024-08-20 - Prepare compatibility for Moodle 4.4.
v4.3-r2
- 2024-08-11 - Add section for scheduled tasks to README
- 2024-08-11 - Updated Moodle Plugin CI to latest upstream recommendations
- 2024-08-11 - Preserve tags in head of static page document by moving it to the Moodle
- 2024-08-11 - Added static page view even, credits to Jeroen de Bruijn.
- 2024-01-08 - Improve the installation and usage of language packs in Behat tests.
v4.3-r1
- 2023-10-20 - Prepare compatibility for Moodle 4.3.
v4.2-r1
- 2023-10-19 - Fix Behat tests which broke on Moodle 4.2.
- 2023-09-01 - Prepare compatibility for Moodle 4.2.
v4.1-r2
- 2023-10-14 - Add automated release to moodle.org/plugins
- 2023-10-14 - Make codechecker happy again
- 2023-10-10 - Updated Moodle Plugin CI to latest upstream recommendations
- 2023-04-30 - Tests: Updated Moodle Plugin CI to use PHP 8.1 and Postgres 13 from Moodle 4.1 on.
v4.1-r1
- 2023-01-21 - Prepare compatibility for Moodle 4.1.
- 2022-11-28 - Updated Moodle Plugin CI to latest upstream recommendations
v4.0-r1
- 2022-07-12 - Improve lib.php, solves #62.
- 2022-07-12 - Remove the 'documentnavbarsource' setting as static pages do not have a navbar anymore on Moodle 4.0.
- 2022-07-12 - Fix Behat tests which broke with Moodle 4.0.
- 2022-07-12 - Prepare compatibility for Moodle 4.0.
v3.11-r3
- 2022-07-11 - Bugfix: Static page was crippled if the HTML code did not contain a plain body tag, solves #64 and several older issues.
- 2022-07-11 - Add links to README to the language pack, solves #61
- 2022-07-10 - Add Visual checks section to UPGRADE.md
v3.11-r2
- 2022-06-26 - Make codechecker happy again
- 2022-06-26 - Updated Moodle Plugin CI to latest upstream recommendations
- 2022-06-26 - Add UPGRADE.md as internal upgrade documentation
- 2022-06-26 - Update maintainers and copyrights in README.md.
v3.11-r1
- 2021-12-08 - Prepare compatibility for Moodle 3.11.
v3.10-r2
- 2021-08-28 - Feature: Add a body class which contains the page name of the static page shown
- 2021-08-28 - Bugfix: Fix incorrect setting defaults when installing the plugin - Thanks to Davo Smith
- 2021-08-28 - Replace the deprecated print_error() function with a Moodle exception
- 2021-08-28 - Feature: Allow non-admins to manage static page documents by introducing the local/staticpage:managedocuments capability
- 2021-02-05 - Move Moodle Plugin CI from Travis CI to Github actions
v3.10-r1
- 2021-01-09 - Change Bootstrap labels to badges to comply with Bootstrap 4 standards
- 2021-01-09 - Fix a small language pack flaw for the admin setting page.
- 2021-01-09 - Prepare compatibility for Moodle 3.10.
- 2021-01-06 - Change in Moodle release support:
For the time being, this plugin is maintained for the most recent LTS release of Moodle as well as the most recent major release of Moodle.
Bugfixes are backported to the LTS release. However, new features and improvements are not necessarily backported to the LTS release. - 2021-01-06 - Improvement: Declare which major stable version of Moodle this plugin supports (see MDL-59562 for details).
v3.9-r1
- 2020-11-25 - Improvement: Improve require_once calls which require the plugin's library - Credits to Antoni Bertran.
- 2020-11-25 - Prepare compatibility for Moodle 3.9.
v3.8-r1
- 2020-02-14 - Prepare compatibility for Moodle 3.8.
- 2019-12-18 - Improved behat test for fileupload because MDL-60975 was fixed.
PLEASE NOTE: For all scenarios to pass, the Moodle version 3.7.3+ (Build: 20191212) is needed.
v3.7-r2
- 2019-12-12 - Bugfix: List of static pages link broken when moodle is installed in subdirectory - Credits to wuzhuoqing.
- 2019-10-24 - Improvement: Add @_file_upload tag to fix failing behat tests.
v3.7-r1
- 2019-09-27 - Added behat tests.
- 2019-09-23 - Add admin setting to check availability on list of static pages or not - Credits to Arief Wibowo.
- 2019-08-05 - Prepare compatibility for Moodle 3.7.
v3.6-r1
- 2019-01-22 - Check compatibility for Moodle 3.6, no functionality change.
- 2018-12-05 - Changed travis.yml due to upstream changes.
v3.5-r2
- 2018-09-26 - Bugfix: Forcing apache rewrite wasn't possible for Moodle installations in subdirectories.
v3.5-r1
- 2018-06-29 - Check compatibility for Moodle 3.5, no functionality change.
v3.4-r2
- 2018-05-16 - Implement Privacy API.
v3.4-r1
- 2017-12-14 - Check compatibility for Moodle 3.4, no functionality change.
- 2017-12-05 - Added Workaround to travis.yml for fixing Behat tests with TravisCI.
v3.3-r1
- 2017-11-23 - Check compatibility for Moodle 3.3, no functionality change.
- 2017-11-08 - Updated travis.yml to use newer node version for fixing TravisCI error.
v3.2-r9
- 2017-09-22 - Bugfix: Boost seems not to process filters for our breadcrumb element anymore
v3.2-r8
- 2017-09-13 - Escape proposed HTML structure and Apache configuration in README
- 2017-09-13 - Escape HTML code in language pack - Credits to Carson Tam
v3.2-r7
- 2017-05-29 - Add Travis CI support
v3.2-r6
- 2017-05-05 - Improve README.md
- 2017-02-15 - Minor code improvement, no functionality change
v3.2-r5
- 2017-01-27 - Automatically rename htm files to html - Credits to Andrew Hancox
v3.2-r4
- 2017-01-12 - Move Changelog from README.md to CHANGES.md
v3.2-r3
- 2017-01-12 - Check compatibility for Moodle 3.2, no functionality change
- 2017-01-12 - Re-add the list of available static pages
- 2017-01-11 - Improve README
v3.2-r2
- Internal release
v3.2-r1
- Internal release
v3.1-r2
- 2016-07-21 - Move the plugin's settings page to Site Administration -> Static Pages because this is where it logically belongs to
v3.1-r1
- 2016-07-19 - Check compatibility for Moodle 3.1, no functionality change
Changes before v3.1
- 2016-05-09 - Add settings to control if filters are processed and if the HTML code is cleaned on a static page or not
- 2016-04-07 - Add a setting to control if a static page should be shown to visitors or not
- 2016-02-10 - Add a new filearea to save the document files within Moodle - This change might break backwards compatibility in some situations, please read the "Upgrading from previous versions" below
- 2016-02-10 - Change plugin version and release scheme to the scheme promoted by moodle.org, no functionality change
- 2016-01-25 - Improve RewriteRules in README, no functionality change - Credits to Daniel Ruf
- 2016-01-01 - Check compatibility for Moodle 3.0, no functionality change
- 2015-08-18 - Check compatibility for Moodle 2.9, no functionality change
- 2015-01-23 - Check compatibility for Moodle 2.8, no functionality change
- 2014-08-19 - Add possibility to use a
<style>tag in the HTML code of static page files - 2014-06-30 - Add plugin's name as prefix to function names
- 2014-06-30 - Check compatibility for Moodle 2.7, no functionality change
- 2014-01-31 - Add description how to add blocks to static pages
- 2014-01-31 - Extend valid URLs to alphanumeric characters (no numbers were allowed before)
- 2014-01-31 - Require login if Moodle is configured to force login - Credits to toby saunders
- 2014-01-31 - Check compatibility for Moodle 2.6, no functionality change
- 2013-10-25 - Remove support for 'staticpage' pagelayout because of problems with Bootstrap-based themes. local_staticpage uses 'standard' pagelayout now. Please check your CSS cascades if you have styled static pages in any special way.
- 2013-09-02 - Check availability of static page directly on settings page, show error if page isn't downloadable
- 2013-09-02 - Add an option to set the data source of document title, document heading and breadcrumb item title
- 2013-08-08 - Improve README
- 2013-07-30 - Transfer Github repository from github.com/abias/... to github.com/moodleuulm/...; Please update your Git paths if necessary
- 2013-07-30 - Check compatibility for Moodle 2.5, no functionality change
- 2013-07-23 - Extend valid URLs with "_-" characters
- 2013-04-23 - Fix problems on windows systems
- 2013-04-22 - Bugfix: Language switcher didn't work anymore on a static page
- 2013-03-22 - Bugfix: Static page wouldn't show even if everything was configured correctly; Please notice that apache rewrite rule has changed
- 2013-03-18 - Code cleanup according to moodle codechecker
- 2013-02-18 - Check compatibility for Moodle 2.4, fix language string names to comply with language string name convention
- 2013-01-21 - Fix a flaw in README file regarding filename examples
- 2013-01-21 - Fix a flaw in README file regarding Apache mod_rewrite
- 2013-01-21 - Migrate plugin settings from config.php to a settings page within Moodle
- 2012-09-26 - Replace deprecated get_context_instance function
- 2012-06-25 - Update version.php for Moodle 2.3
- 2012-06-01 - Initial version
v4.5-r2 (2024100701)
v4.5-r2
Plugin type: Local plugins
Frankenstyle component name: local_staticpage
Version build number: 2024100701
Version release name: v4.5-r2
Maturity: Stable
Supported Moodle versions: 4.5
Repository URL (Git): https://github.com/moodle-an-hochschulen/moodle-local_staticpage
Repository branch:
Repository tag: v4.5-r2
Issue/bug tracker URL: https://github.com/moodle-an-hochschulen/moodle-local_staticpage/issues
moodle-local_staticpage
Changes
v4.5-r2
- 2025-05-06 - Tests: Fix Behat failures due to MDL-67683, resolves #76
v4.5-r1
- 2024-10-14 - Upgrade: Adopt changes from MDL-82183 and use new \core\output\html_writer
- 2024-10-14 - Upgrade: Adopt changes from MDL-81960 and use new \core\url class
- 2024-10-14 - Upgrade: Adopt changes from MDL-81818 to remove old bootstrap classes
- 2024-10-07 - Prepare compatibility for Moodle 4.5.
v4.4-r1
- 2024-08-24 - Development: Rename master branch to main, please update your clones.
- 2024-08-20 - Upgrade: Update Bootstrap classes for Moodle 4.4.
- 2024-08-20 - Prepare compatibility for Moodle 4.4.
v4.3-r2
- 2024-08-11 - Add section for scheduled tasks to README
- 2024-08-11 - Updated Moodle Plugin CI to latest upstream recommendations
- 2024-08-11 - Preserve tags in head of static page document by moving it to the Moodle
- 2024-08-11 - Added static page view even, credits to Jeroen de Bruijn.
- 2024-01-08 - Improve the installation and usage of language packs in Behat tests.
v4.3-r1
- 2023-10-20 - Prepare compatibility for Moodle 4.3.
v4.2-r1
- 2023-10-19 - Fix Behat tests which broke on Moodle 4.2.
- 2023-09-01 - Prepare compatibility for Moodle 4.2.
v4.1-r2
- 2023-10-14 - Add automated release to moodle.org/plugins
- 2023-10-14 - Make codechecker happy again
- 2023-10-10 - Updated Moodle Plugin CI to latest upstream recommendations
- 2023-04-30 - Tests: Updated Moodle Plugin CI to use PHP 8.1 and Postgres 13 from Moodle 4.1 on.
v4.1-r1
- 2023-01-21 - Prepare compatibility for Moodle 4.1.
- 2022-11-28 - Updated Moodle Plugin CI to latest upstream recommendations
v4.0-r1
- 2022-07-12 - Improve lib.php, solves #62.
- 2022-07-12 - Remove the 'documentnavbarsource' setting as static pages do not have a navbar anymore on Moodle 4.0.
- 2022-07-12 - Fix Behat tests which broke with Moodle 4.0.
- 2022-07-12 - Prepare compatibility for Moodle 4.0.
v3.11-r3
- 2022-07-11 - Bugfix: Static page was crippled if the HTML code did not contain a plain body tag, solves #64 and several older issues.
- 2022-07-11 - Add links to README to the language pack, solves #61
- 2022-07-10 - Add Visual checks section to UPGRADE.md
v3.11-r2
- 2022-06-26 - Make codechecker happy again
- 2022-06-26 - Updated Moodle Plugin CI to latest upstream recommendations
- 2022-06-26 - Add UPGRADE.md as internal upgrade documentation
- 2022-06-26 - Update maintainers and copyrights in README.md.
v3.11-r1
- 2021-12-08 - Prepare compatibility for Moodle 3.11.
v3.10-r2
- 2021-08-28 - Feature: Add a body class which contains the page name of the static page shown
- 2021-08-28 - Bugfix: Fix incorrect setting defaults when installing the plugin - Thanks to Davo Smith
- 2021-08-28 - Replace the deprecated print_error() function with a Moodle exception
- 2021-08-28 - Feature: Allow non-admins to manage static page documents by introducing the local/staticpage:managedocuments capability
- 2021-02-05 - Move Moodle Plugin CI from Travis CI to Github actions
v3.10-r1
- 2021-01-09 - Change Bootstrap labels to badges to comply with Bootstrap 4 standards
- 2021-01-09 - Fix a small language pack flaw for the admin setting page.
- 2021-01-09 - Prepare compatibility for Moodle 3.10.
- 2021-01-06 - Change in Moodle release support:
For the time being, this plugin is maintained for the most recent LTS release of Moodle as well as the most recent major release of Moodle.
Bugfixes are backported to the LTS release. However, new features and improvements are not necessarily backported to the LTS release. - 2021-01-06 - Improvement: Declare which major stable version of Moodle this plugin supports (see MDL-59562 for details).
v3.9-r1
- 2020-11-25 - Improvement: Improve require_once calls which require the plugin's library - Credits to Antoni Bertran.
- 2020-11-25 - Prepare compatibility for Moodle 3.9.
v3.8-r1
- 2020-02-14 - Prepare compatibility for Moodle 3.8.
- 2019-12-18 - Improved behat test for fileupload because MDL-60975 was fixed.
PLEASE NOTE: For all scenarios to pass, the Moodle version 3.7.3+ (Build: 20191212) is needed.
v3.7-r2
- 2019-12-12 - Bugfix: List of static pages link broken when moodle is installed in subdirectory - Credits to wuzhuoqing.
- 2019-10-24 - Improvement: Add @_file_upload tag to fix failing behat tests.
v3.7-r1
- 2019-09-27 - Added behat tests.
- 2019-09-23 - Add admin setting to check availability on list of static pages or not - Credits to Arief Wibowo.
- 2019-08-05 - Prepare compatibility for Moodle 3.7.
v3.6-r1
- 2019-01-22 - Check compatibility for Moodle 3.6, no functionality change.
- 2018-12-05 - Changed travis.yml due to upstream changes.
v3.5-r2
- 2018-09-26 - Bugfix: Forcing apache rewrite wasn't possible for Moodle installations in subdirectories.
v3.5-r1
- 2018-06-29 - Check compatibility for Moodle 3.5, no functionality change.
v3.4-r2
- 2018-05-16 - Implement Privacy API.
v3.4-r1
- 2017-12-14 - Check compatibility for Moodle 3.4, no functionality change.
- 2017-12-05 - Added Workaround to travis.yml for fixing Behat tests with TravisCI.
v3.3-r1
- 2017-11-23 - Check compatibility for Moodle 3.3, no functionality change.
- 2017-11-08 - Updated travis.yml to use newer node version for fixing TravisCI error.
v3.2-r9
- 2017-09-22 - Bugfix: Boost seems not to process filters for our breadcrumb element anymore
v3.2-r8
- 2017-09-13 - Escape proposed HTML structure and Apache configuration in README
- 2017-09-13 - Escape HTML code in language pack - Credits to Carson Tam
v3.2-r7
- 2017-05-29 - Add Travis CI support
v3.2-r6
- 2017-05-05 - Improve README.md
- 2017-02-15 - Minor code improvement, no functionality change
v3.2-r5
- 2017-01-27 - Automatically rename htm files to html - Credits to Andrew Hancox
v3.2-r4
- 2017-01-12 - Move Changelog from README.md to CHANGES.md
v3.2-r3
- 2017-01-12 - Check compatibility for Moodle 3.2, no functionality change
- 2017-01-12 - Re-add the list of available static pages
- 2017-01-11 - Improve README
v3.2-r2
- Internal release
v3.2-r1
- Internal release
v3.1-r2
- 2016-07-21 - Move the plugin's settings page to Site Administration -> Static Pages because this is where it logically belongs to
v3.1-r1
- 2016-07-19 - Check compatibility for Moodle 3.1, no functionality change
Changes before v3.1
- 2016-05-09 - Add settings to control if filters are processed and if the HTML code is cleaned on a static page or not
- 2016-04-07 - Add a setting to control if a static page should be shown to visitors or not
- 2016-02-10 - Add a new filearea to save the document files within Moodle - This change might break backwards compatibility in some situations, please read the "Upgrading from previous versions" below
- 2016-02-10 - Change plugin version and release scheme to the scheme promoted by moodle.org, no functionality change
- 2016-01-25 - Improve RewriteRules in README, no functionality change - Credits to Daniel Ruf
- 2016-01-01 - Check compatibility for Moodle 3.0, no functionality change
- 2015-08-18 - Check compatibility for Moodle 2.9, no functionality change
- 2015-01-23 - Check compatibility for Moodle 2.8, no functionality change
- 2014-08-19 - Add possibility to use a
<style>tag in the HTML code of static page files - 2014-06-30 - Add plugin's name as prefix to function names
- 2014-06-30 - Check compatibility for Moodle 2.7, no functionality change
- 2014-01-31 - Add description how to add blocks to static pages
- 2014-01-31 - Extend valid URLs to alphanumeric characters (no numbers were allowed before)
- 2014-01-31 - Require login if Moodle is configured to force login - Credits to toby saunders
- 2014-01-31 - Check compatibility for Moodle 2.6, no functionality change
- 2013-10-25 - Remove support for 'staticpage' pagelayout because of problems with Bootstrap-based themes. local_staticpage uses 'standard' pagelayout now. Please check your CSS cascades if you have styled static pages in any special way.
- 2013-09-02 - Check availability of static page directly on settings page, show error if page isn't downloadable
- 2013-09-02 - Add an option to set the data source of document title, document heading and breadcrumb item title
- 2013-08-08 - Improve README
- 2013-07-30 - Transfer Github repository from github.com/abias/... to github.com/moodleuulm/...; Please update your Git paths if necessary
- 2013-07-30 - Check compatibility for Moodle 2.5, no functionality change
- 2013-07-23 - Extend valid URLs with "_-" characters
- 2013-04-23 - Fix problems on windows systems
- 2013-04-22 - Bugfix: Language switcher didn't work anymore on a static page
- 2013-03-22 - Bugfix: Static page wouldn't show even if everything was configured correctly; Please notice that apache rewrite rule has changed
- 2013-03-18 - Code cleanup according to moodle codechecker
- 2013-02-18 - Check compatibility for Moodle 2.4, fix language string names to comply with language string name convention
- 2013-01-21 - Fix a flaw in README file regarding filename examples
- 2013-01-21 - Fix a flaw in README file regarding Apache mod_rewrite
- 2013-01-21 - Migrate plugin settings from config.php to a settings page within Moodle
- 2012-09-26 - Replace deprecated get_context_instance function
- 2012-06-25 - Update version.php for Moodle 2.3
- 2012-06-01 - Initial version
v4.5-r1 (2024100700)
v4.5-r1
Plugin type: Local plugins
Frankenstyle component name: local_staticpage
Version build number: 2024100700
Version release name: v4.5-r1
Maturity: Stable
Supported Moodle versions: 4.5
Repository URL (Git): https://github.com/moodle-an-hochschulen/moodle-local_staticpage
Repository branch:
Repository tag: v4.5-r1
Issue/bug tracker URL: https://github.com/moodle-an-hochschulen/moodle-local_staticpage/issues
moodle-local_staticpage
Changes
v4.5-r1
- 2024-10-14 - Upgrade: Adopt changes from MDL-82183 and use new \core\output\html_writer
- 2024-10-14 - Upgrade: Adopt changes from MDL-81960 and use new \core\url class
- 2024-10-14 - Upgrade: Adopt changes from MDL-81818 to remove old bootstrap classes
- 2024-10-07 - Prepare compatibility for Moodle 4.5.
v4.4-r1
- 2024-08-24 - Development: Rename master branch to main, please update your clones.
- 2024-08-20 - Upgrade: Update Bootstrap classes for Moodle 4.4.
- 2024-08-20 - Prepare compatibility for Moodle 4.4.
v4.3-r2
- 2024-08-11 - Add section for scheduled tasks to README
- 2024-08-11 - Updated Moodle Plugin CI to latest upstream recommendations
- 2024-08-11 - Preserve tags in head of static page document by moving it to the Moodle
- 2024-08-11 - Added static page view even, credits to Jeroen de Bruijn.
- 2024-01-08 - Improve the installation and usage of language packs in Behat tests.
v4.3-r1
- 2023-10-20 - Prepare compatibility for Moodle 4.3.
v4.2-r1
- 2023-10-19 - Fix Behat tests which broke on Moodle 4.2.
- 2023-09-01 - Prepare compatibility for Moodle 4.2.
v4.1-r2
- 2023-10-14 - Add automated release to moodle.org/plugins
- 2023-10-14 - Make codechecker happy again
- 2023-10-10 - Updated Moodle Plugin CI to latest upstream recommendations
- 2023-04-30 - Tests: Updated Moodle Plugin CI to use PHP 8.1 and Postgres 13 from Moodle 4.1 on.
v4.1-r1
- 2023-01-21 - Prepare compatibility for Moodle 4.1.
- 2022-11-28 - Updated Moodle Plugin CI to latest upstream recommendations
v4.0-r1
- 2022-07-12 - Improve lib.php, solves #62.
- 2022-07-12 - Remove the 'documentnavbarsource' setting as static pages do not have a navbar anymore on Moodle 4.0.
- 2022-07-12 - Fix Behat tests which broke with Moodle 4.0.
- 2022-07-12 - Prepare compatibility for Moodle 4.0.
v3.11-r3
- 2022-07-11 - Bugfix: Static page was crippled if the HTML code did not contain a plain body tag, solves #64 and several older issues.
- 2022-07-11 - Add links to README to the language pack, solves #61
- 2022-07-10 - Add Visual checks section to UPGRADE.md
v3.11-r2
- 2022-06-26 - Make codechecker happy again
- 2022-06-26 - Updated Moodle Plugin CI to latest upstream recommendations
- 2022-06-26 - Add UPGRADE.md as internal upgrade documentation
- 2022-06-26 - Update maintainers and copyrights in README.md.
v3.11-r1
- 2021-12-08 - Prepare compatibility for Moodle 3.11.
v3.10-r2
- 2021-08-28 - Feature: Add a body class which contains the page name of the static page shown
- 2021-08-28 - Bugfix: Fix incorrect setting defaults when installing the plugin - Thanks to Davo Smith
- 2021-08-28 - Replace the deprecated print_error() function with a Moodle exception
- 2021-08-28 - Feature: Allow non-admins to manage static page documents by introducing the local/staticpage:managedocuments capability
- 2021-02-05 - Move Moodle Plugin CI from Travis CI to Github actions
v3.10-r1
- 2021-01-09 - Change Bootstrap labels to badges to comply with Bootstrap 4 standards
- 2021-01-09 - Fix a small language pack flaw for the admin setting page.
- 2021-01-09 - Prepare compatibility for Moodle 3.10.
- 2021-01-06 - Change in Moodle release support:
For the time being, this plugin is maintained for the most recent LTS release of Moodle as well as the most recent major release of Moodle.
Bugfixes are backported to the LTS release. However, new features and improvements are not necessarily backported to the LTS release. - 2021-01-06 - Improvement: Declare which major stable version of Moodle this plugin supports (see MDL-59562 for details).
v3.9-r1
- 2020-11-25 - Improvement: Improve require_once calls which require the plugin's library - Credits to Antoni Bertran.
- 2020-11-25 - Prepare compatibility for Moodle 3.9.
v3.8-r1
- 2020-02-14 - Prepare compatibility for Moodle 3.8.
- 2019-12-18 - Improved behat test for fileupload because MDL-60975 was fixed.
PLEASE NOTE: For all scenarios to pass, the Moodle version 3.7.3+ (Build: 20191212) is needed.
v3.7-r2
- 2019-12-12 - Bugfix: List of static pages link broken when moodle is installed in subdirectory - Credits to wuzhuoqing.
- 2019-10-24 - Improvement: Add @_file_upload tag to fix failing behat tests.
v3.7-r1
- 2019-09-27 - Added behat tests.
- 2019-09-23 - Add admin setting to check availability on list of static pages or not - Credits to Arief Wibowo.
- 2019-08-05 - Prepare compatibility for Moodle 3.7.
v3.6-r1
- 2019-01-22 - Check compatibility for Moodle 3.6, no functionality change.
- 2018-12-05 - Changed travis.yml due to upstream changes.
v3.5-r2
- 2018-09-26 - Bugfix: Forcing apache rewrite wasn't possible for Moodle installations in subdirectories.
v3.5-r1
- 2018-06-29 - Check compatibility for Moodle 3.5, no functionality change.
v3.4-r2
- 2018-05-16 - Implement Privacy API.
v3.4-r1
- 2017-12-14 - Check compatibility for Moodle 3.4, no functionality change.
- 2017-12-05 - Added Workaround to travis.yml for fixing Behat tests with TravisCI.
v3.3-r1
- 2017-11-23 - Check compatibility for Moodle 3.3, no functionality change.
- 2017-11-08 - Updated travis.yml to use newer node version for fixing TravisCI error.
v3.2-r9
- 2017-09-22 - Bugfix: Boost seems not to process filters for our breadcrumb element anymore
v3.2-r8
- 2017-09-13 - Escape proposed HTML structure and Apache configuration in README
- 2017-09-13 - Escape HTML code in language pack - Credits to Carson Tam
v3.2-r7
- 2017-05-29 - Add Travis CI support
v3.2-r6
- 2017-05-05 - Improve README.md
- 2017-02-15 - Minor code improvement, no functionality change
v3.2-r5
- 2017-01-27 - Automatically rename htm files to html - Credits to Andrew Hancox
v3.2-r4
- 2017-01-12 - Move Changelog from README.md to CHANGES.md
v3.2-r3
- 2017-01-12 - Check compatibility for Moodle 3.2, no functionality change
- 2017-01-12 - Re-add the list of available static pages
- 2017-01-11 - Improve README
v3.2-r2
- Internal release
v3.2-r1
- Internal release
v3.1-r2
- 2016-07-21 - Move the plugin's settings page to Site Administration -> Static Pages because this is where it logically belongs to
v3.1-r1
- 2016-07-19 - Check compatibility for Moodle 3.1, no functionality change
Changes before v3.1
- 2016-05-09 - Add settings to control if filters are processed and if the HTML code is cleaned on a static page or not
- 2016-04-07 - Add a setting to control if a static page should be shown to visitors or not
- 2016-02-10 - Add a new filearea to save the document files within Moodle - This change might break backwards compatibility in some situations, please read the "Upgrading from previous versions" below
- 2016-02-10 - Change plugin version and release scheme to the scheme promoted by moodle.org, no functionality change
- 2016-01-25 - Improve RewriteRules in README, no functionality change - Credits to Daniel Ruf
- 2016-01-01 - Check compatibility for Moodle 3.0, no functionality change
- 2015-08-18 - Check compatibility for Moodle 2.9, no functionality change
- 2015-01-23 - Check compatibility for Moodle 2.8, no functionality change
- 2014-08-19 - Add possibility to use a
<style>tag in the HTML code of static page files - 2014-06-30 - Add plugin's name as prefix to function names
- 2014-06-30 - Check compatibility for Moodle 2.7, no functionality change
- 2014-01-31 - Add description how to add blocks to static pages
- 2014-01-31 - Extend valid URLs to alphanumeric characters (no numbers were allowed before)
- 2014-01-31 - Require login if Moodle is configured to force login - Credits to toby saunders
- 2014-01-31 - Check compatibility for Moodle 2.6, no functionality change
- 2013-10-25 - Remove support for 'staticpage' pagelayout because of problems with Bootstrap-based themes. local_staticpage uses 'standard' pagelayout now. Please check your CSS cascades if you have styled static pages in any special way.
- 2013-09-02 - Check availability of static page directly on settings page, show error if page isn't downloadable
- 2013-09-02 - Add an option to set the data source of document title, document heading and breadcrumb item title
- 2013-08-08 - Improve README
- 2013-07-30 - Transfer Github repository from github.com/abias/... to github.com/moodleuulm/...; Please update your Git paths if necessary
- 2013-07-30 - Check compatibility for Moodle 2.5, no functionality change
- 2013-07-23 - Extend valid URLs with "_-" characters
- 2013-04-23 - Fix problems on windows systems
- 2013-04-22 - Bugfix: Language switcher didn't work anymore on a static page
- 2013-03-22 - Bugfix: Static page wouldn't show even if everything was configured correctly; Please notice that apache rewrite rule has changed
- 2013-03-18 - Code cleanup according to moodle codechecker
- 2013-02-18 - Check compatibility for Moodle 2.4, fix language string names to comply with language string name convention
- 2013-01-21 - Fix a flaw in README file regarding filename examples
- 2013-01-21 - Fix a flaw in README file regarding Apache mod_rewrite
- 2013-01-21 - Migrate plugin settings from config.php to a settings page within Moodle
- 2012-09-26 - Replace deprecated get_context_instance function
- 2012-06-25 - Update version.php for Moodle 2.3
- 2012-06-01 - Initial version
v4.4-r1 (2024060100)
v4.4-r1
Plugin type: Local plugins
Frankenstyle component name: local_staticpage
Version build number: 2024060100
Version release name: v4.4-r1
Maturity: Stable
Supported Moodle versions: 4.4
Repository URL (Git): https://github.com/moodle-an-hochschulen/moodle-local_staticpage
Repository branch:
Repository tag: v4.4-r1
Issue/bug tracker URL: https://github.com/moodle-an-hochschulen/moodle-local_staticpage/issues
moodle-local_staticpage
Changes
v4.4-r1
- 2024-08-24 - Development: Rename master branch to main, please update your clones.
- 2024-08-20 - Upgrade: Update Bootstrap classes for Moodle 4.4.
- 2024-08-20 - Prepare compatibility for Moodle 4.4.
v4.3-r2
- 2024-08-11 - Add section for scheduled tasks to README
- 2024-08-11 - Updated Moodle Plugin CI to latest upstream recommendations
- 2024-08-11 - Preserve tags in head of static page document by moving it to the Moodle
- 2024-08-11 - Added static page view even, credits to Jeroen de Bruijn.
- 2024-01-08 - Improve the installation and usage of language packs in Behat tests.
v4.3-r1
- 2023-10-20 - Prepare compatibility for Moodle 4.3.
v4.2-r1
- 2023-10-19 - Fix Behat tests which broke on Moodle 4.2.
- 2023-09-01 - Prepare compatibility for Moodle 4.2.
v4.1-r2
- 2023-10-14 - Add automated release to moodle.org/plugins
- 2023-10-14 - Make codechecker happy again
- 2023-10-10 - Updated Moodle Plugin CI to latest upstream recommendations
- 2023-04-30 - Tests: Updated Moodle Plugin CI to use PHP 8.1 and Postgres 13 from Moodle 4.1 on.
v4.1-r1
- 2023-01-21 - Prepare compatibility for Moodle 4.1.
- 2022-11-28 - Updated Moodle Plugin CI to latest upstream recommendations
v4.0-r1
- 2022-07-12 - Improve lib.php, solves #62.
- 2022-07-12 - Remove the 'documentnavbarsource' setting as static pages do not have a navbar anymore on Moodle 4.0.
- 2022-07-12 - Fix Behat tests which broke with Moodle 4.0.
- 2022-07-12 - Prepare compatibility for Moodle 4.0.
v3.11-r3
- 2022-07-11 - Bugfix: Static page was crippled if the HTML code did not contain a plain body tag, solves #64 and several older issues.
- 2022-07-11 - Add links to README to the language pack, solves #61
- 2022-07-10 - Add Visual checks section to UPGRADE.md
v3.11-r2
- 2022-06-26 - Make codechecker happy again
- 2022-06-26 - Updated Moodle Plugin CI to latest upstream recommendations
- 2022-06-26 - Add UPGRADE.md as internal upgrade documentation
- 2022-06-26 - Update maintainers and copyrights in README.md.
v3.11-r1
- 2021-12-08 - Prepare compatibility for Moodle 3.11.
v3.10-r2
- 2021-08-28 - Feature: Add a body class which contains the page name of the static page shown
- 2021-08-28 - Bugfix: Fix incorrect setting defaults when installing the plugin - Thanks to Davo Smith
- 2021-08-28 - Replace the deprecated print_error() function with a Moodle exception
- 2021-08-28 - Feature: Allow non-admins to manage static page documents by introducing the local/staticpage:managedocuments capability
- 2021-02-05 - Move Moodle Plugin CI from Travis CI to Github actions
v3.10-r1
- 2021-01-09 - Change Bootstrap labels to badges to comply with Bootstrap 4 standards
- 2021-01-09 - Fix a small language pack flaw for the admin setting page.
- 2021-01-09 - Prepare compatibility for Moodle 3.10.
- 2021-01-06 - Change in Moodle release support:
For the time being, this plugin is maintained for the most recent LTS release of Moodle as well as the most recent major release of Moodle.
Bugfixes are backported to the LTS release. However, new features and improvements are not necessarily backported to the LTS release. - 2021-01-06 - Improvement: Declare which major stable version of Moodle this plugin supports (see MDL-59562 for details).
v3.9-r1
- 2020-11-25 - Improvement: Improve require_once calls which require the plugin's library - Credits to Antoni Bertran.
- 2020-11-25 - Prepare compatibility for Moodle 3.9.
v3.8-r1
- 2020-02-14 - Prepare compatibility for Moodle 3.8.
- 2019-12-18 - Improved behat test for fileupload because MDL-60975 was fixed.
PLEASE NOTE: For all scenarios to pass, the Moodle version 3.7.3+ (Build: 20191212) is needed.
v3.7-r2
- 2019-12-12 - Bugfix: List of static pages link broken when moodle is installed in subdirectory - Credits to wuzhuoqing.
- 2019-10-24 - Improvement: Add @_file_upload tag to fix failing behat tests.
v3.7-r1
- 2019-09-27 - Added behat tests.
- 2019-09-23 - Add admin setting to check availability on list of static pages or not - Credits to Arief Wibowo.
- 2019-08-05 - Prepare compatibility for Moodle 3.7.
v3.6-r1
- 2019-01-22 - Check compatibility for Moodle 3.6, no functionality change.
- 2018-12-05 - Changed travis.yml due to upstream changes.
v3.5-r2
- 2018-09-26 - Bugfix: Forcing apache rewrite wasn't possible for Moodle installations in subdirectories.
v3.5-r1
- 2018-06-29 - Check compatibility for Moodle 3.5, no functionality change.
v3.4-r2
- 2018-05-16 - Implement Privacy API.
v3.4-r1
- 2017-12-14 - Check compatibility for Moodle 3.4, no functionality change.
- 2017-12-05 - Added Workaround to travis.yml for fixing Behat tests with TravisCI.
v3.3-r1
- 2017-11-23 - Check compatibility for Moodle 3.3, no functionality change.
- 2017-11-08 - Updated travis.yml to use newer node version for fixing TravisCI error.
v3.2-r9
- 2017-09-22 - Bugfix: Boost seems not to process filters for our breadcrumb element anymore
v3.2-r8
- 2017-09-13 - Escape proposed HTML structure and Apache configuration in README
- 2017-09-13 - Escape HTML code in language pack - Credits to Carson Tam
v3.2-r7
- 2017-05-29 - Add Travis CI support
v3.2-r6
- 2017-05-05 - Improve README.md
- 2017-02-15 - Minor code improvement, no functionality change
v3.2-r5
- 2017-01-27 - Automatically rename htm files to html - Credits to Andrew Hancox
v3.2-r4
- 2017-01-12 - Move Changelog from README.md to CHANGES.md
v3.2-r3
- 2017-01-12 - Check compatibility for Moodle 3.2, no functionality change
- 2017-01-12 - Re-add the list of available static pages
- 2017-01-11 - Improve README
v3.2-r2
- Internal release
v3.2-r1
- Internal release
v3.1-r2
- 2016-07-21 - Move the plugin's settings page to Site Administration -> Static Pages because this is where it logically belongs to
v3.1-r1
- 2016-07-19 - Check compatibility for Moodle 3.1, no functionality change
Changes before v3.1
- 2016-05-09 - Add settings to control if filters are processed and if the HTML code is cleaned on a static page or not
- 2016-04-07 - Add a setting to control if a static page should be shown to visitors or not
- 2016-02-10 - Add a new filearea to save the document files within Moodle - This change might break backwards compatibility in some situations, please read the "Upgrading from previous versions" below
- 2016-02-10 - Change plugin version and release scheme to the scheme promoted by moodle.org, no functionality change
- 2016-01-25 - Improve RewriteRules in README, no functionality change - Credits to Daniel Ruf
- 2016-01-01 - Check compatibility for Moodle 3.0, no functionality change
- 2015-08-18 - Check compatibility for Moodle 2.9, no functionality change
- 2015-01-23 - Check compatibility for Moodle 2.8, no functionality change
- 2014-08-19 - Add possibility to use a
<style>tag in the HTML code of static page files - 2014-06-30 - Add plugin's name as prefix to function names
- 2014-06-30 - Check compatibility for Moodle 2.7, no functionality change
- 2014-01-31 - Add description how to add blocks to static pages
- 2014-01-31 - Extend valid URLs to alphanumeric characters (no numbers were allowed before)
- 2014-01-31 - Require login if Moodle is configured to force login - Credits to toby saunders
- 2014-01-31 - Check compatibility for Moodle 2.6, no functionality change
- 2013-10-25 - Remove support for 'staticpage' pagelayout because of problems with Bootstrap-based themes. local_staticpage uses 'standard' pagelayout now. Please check your CSS cascades if you have styled static pages in any special way.
- 2013-09-02 - Check availability of static page directly on settings page, show error if page isn't downloadable
- 2013-09-02 - Add an option to set the data source of document title, document heading and breadcrumb item title
- 2013-08-08 - Improve README
- 2013-07-30 - Transfer Github repository from github.com/abias/... to github.com/moodleuulm/...; Please update your Git paths if necessary
- 2013-07-30 - Check compatibility for Moodle 2.5, no functionality change
- 2013-07-23 - Extend valid URLs with "_-" characters
- 2013-04-23 - Fix problems on windows systems
- 2013-04-22 - Bugfix: Language switcher didn't work anymore on a static page
- 2013-03-22 - Bugfix: Static page wouldn't show even if everything was configured correctly; Please notice that apache rewrite rule has changed
- 2013-03-18 - Code cleanup according to moodle codechecker
- 2013-02-18 - Check compatibility for Moodle 2.4, fix language string names to comply with language string name convention
- 2013-01-21 - Fix a flaw in README file regarding filename examples
- 2013-01-21 - Fix a flaw in README file regarding Apache mod_rewrite
- 2013-01-21 - Migrate plugin settings from config.php to a settings page within Moodle
- 2012-09-26 - Replace deprecated get_context_instance function
- 2012-06-25 - Update version.php for Moodle 2.3
- 2012-06-01 - Initial version
v4.1-r3 (2023010502)
v4.1-r3
Plugin type: Local plugins
Frankenstyle component name: local_staticpage
Version build number: 2023010502
Version release name: v4.1-r3
Maturity: Stable
Supported Moodle versions: 4.1
Repository URL (Git): https://github.com/moodle-an-hochschulen/moodle-local_staticpage
Repository branch:
Repository tag: v4.1-r3
Issue/bug tracker URL: https://github.com/moodle-an-hochschulen/moodle-local_staticpage/issues
moodle-local_staticpage
Changes
v4.1-r3
- 2024-08-11 - Add section for scheduled tasks to README
- 2024-08-11 - Updated Moodle Plugin CI to latest upstream recommendations
- 2024-08-11 - Preserve tags in head of static page document by moving it to the Moodle
- 2024-08-11 - Added static page view even, credits to Jeroen de Bruijn.
- 2024-01-08 - Improve the installation and usage of language packs in Behat tests.
v4.1-r2
- 2023-10-14 - Add automated release to moodle.org/plugins
- 2023-10-14 - Make codechecker happy again
- 2023-10-10 - Updated Moodle Plugin CI to latest upstream recommendations
- 2023-04-30 - Tests: Updated Moodle Plugin CI to use PHP 8.1 and Postgres 13 from Moodle 4.1 on.
v4.1-r1
- 2023-01-21 - Prepare compatibility for Moodle 4.1.
- 2022-11-28 - Updated Moodle Plugin CI to latest upstream recommendations
v4.0-r1
- 2022-07-12 - Improve lib.php, solves #62.
- 2022-07-12 - Remove the 'documentnavbarsource' setting as static pages do not have a navbar anymore on Moodle 4.0.
- 2022-07-12 - Fix Behat tests which broke with Moodle 4.0.
- 2022-07-12 - Prepare compatibility for Moodle 4.0.
v3.11-r3
- 2022-07-11 - Bugfix: Static page was crippled if the HTML code did not contain a plain body tag, solves #64 and several older issues.
- 2022-07-11 - Add links to README to the language pack, solves #61
- 2022-07-10 - Add Visual checks section to UPGRADE.md
v3.11-r2
- 2022-06-26 - Make codechecker happy again
- 2022-06-26 - Updated Moodle Plugin CI to latest upstream recommendations
- 2022-06-26 - Add UPGRADE.md as internal upgrade documentation
- 2022-06-26 - Update maintainers and copyrights in README.md.
v3.11-r1
- 2021-12-08 - Prepare compatibility for Moodle 3.11.
v3.10-r2
- 2021-08-28 - Feature: Add a body class which contains the page name of the static page shown
- 2021-08-28 - Bugfix: Fix incorrect setting defaults when installing the plugin - Thanks to Davo Smith
- 2021-08-28 - Replace the deprecated print_error() function with a Moodle exception
- 2021-08-28 - Feature: Allow non-admins to manage static page documents by introducing the local/staticpage:managedocuments capability
- 2021-02-05 - Move Moodle Plugin CI from Travis CI to Github actions
v3.10-r1
- 2021-01-09 - Change Bootstrap labels to badges to comply with Bootstrap 4 standards
- 2021-01-09 - Fix a small language pack flaw for the admin setting page.
- 2021-01-09 - Prepare compatibility for Moodle 3.10.
- 2021-01-06 - Change in Moodle release support:
For the time being, this plugin is maintained for the most recent LTS release of Moodle as well as the most recent major release of Moodle.
Bugfixes are backported to the LTS release. However, new features and improvements are not necessarily backported to the LTS release. - 2021-01-06 - Improvement: Declare which major stable version of Moodle this plugin supports (see MDL-59562 for details).
v3.9-r1
- 2020-11-25 - Improvement: Improve require_once calls which require the plugin's library - Credits to Antoni Bertran.
- 2020-11-25 - Prepare compatibility for Moodle 3.9.
v3.8-r1
- 2020-02-14 - Prepare compatibility for Moodle 3.8.
- 2019-12-18 - Improved behat test for fileupload because MDL-60975 was fixed.
PLEASE NOTE: For all scenarios to pass, the Moodle version 3.7.3+ (Build: 20191212) is needed.
v3.7-r2
- 2019-12-12 - Bugfix: List of static pages link broken when moodle is installed in subdirectory - Credits to wuzhuoqing.
- 2019-10-24 - Improvement: Add @_file_upload tag to fix failing behat tests.
v3.7-r1
- 2019-09-27 - Added behat tests.
- 2019-09-23 - Add admin setting to check availability on list of static pages or not - Credits to Arief Wibowo.
- 2019-08-05 - Prepare compatibility for Moodle 3.7.
v3.6-r1
- 2019-01-22 - Check compatibility for Moodle 3.6, no functionality change.
- 2018-12-05 - Changed travis.yml due to upstream changes.
v3.5-r2
- 2018-09-26 - Bugfix: Forcing apache rewrite wasn't possible for Moodle installations in subdirectories.
v3.5-r1
- 2018-06-29 - Check compatibility for Moodle 3.5, no functionality change.
v3.4-r2
- 2018-05-16 - Implement Privacy API.
v3.4-r1
- 2017-12-14 - Check compatibility for Moodle 3.4, no functionality change.
- 2017-12-05 - Added Workaround to travis.yml for fixing Behat tests with TravisCI.
v3.3-r1
- 2017-11-23 - Check compatibility for Moodle 3.3, no functionality change.
- 2017-11-08 - Updated travis.yml to use newer node version for fixing TravisCI error.
v3.2-r9
- 2017-09-22 - Bugfix: Boost seems not to process filters for our breadcrumb element anymore
v3.2-r8
- 2017-09-13 - Escape proposed HTML structure and Apache configuration in README
- 2017-09-13 - Escape HTML code in language pack - Credits to Carson Tam
v3.2-r7
- 2017-05-29 - Add Travis CI support
v3.2-r6
- 2017-05-05 - Improve README.md
- 2017-02-15 - Minor code improvement, no functionality change
v3.2-r5
- 2017-01-27 - Automatically rename htm files to html - Credits to Andrew Hancox
v3.2-r4
- 2017-01-12 - Move Changelog from README.md to CHANGES.md
v3.2-r3
- 2017-01-12 - Check compatibility for Moodle 3.2, no functionality change
- 2017-01-12 - Re-add the list of available static pages
- 2017-01-11 - Improve README
v3.2-r2
- Internal release
v3.2-r1
- Internal release
v3.1-r2
- 2016-07-21 - Move the plugin's settings page to Site Administration -> Static Pages because this is where it logically belongs to
v3.1-r1
- 2016-07-19 - Check compatibility for Moodle 3.1, no functionality change
Changes before v3.1
- 2016-05-09 - Add settings to control if filters are processed and if the HTML code is cleaned on a static page or not
- 2016-04-07 - Add a setting to control if a static page should be shown to visitors or not
- 2016-02-10 - Add a new filearea to save the document files within Moodle - This change might break backwards compatibility in some situations, please read the "Upgrading from previous versions" below
- 2016-02-10 - Change plugin version and release scheme to the scheme promoted by moodle.org, no functionality change
- 2016-01-25 - Improve RewriteRules in README, no functionality change - Credits to Daniel Ruf
- 2016-01-01 - Check compatibility for Moodle 3.0, no functionality change
- 2015-08-18 - Check compatibility for Moodle 2.9, no functionality change
- 2015-01-23 - Check compatibility for Moodle 2.8, no functionality change
- 2014-08-19 - Add possibility to use a
<style>tag in the HTML code of static page files - 2014-06-30 - Add plugin's name as prefix to function names
- 2014-06-30 - Check compatibility for Moodle 2.7, no functionality change
- 2014-01-31 - Add description how to add blocks to static pages
- 2014-01-31 - Extend valid URLs to alphanumeric characters (no numbers were allowed before)
- 2014-01-31 - Require login if Moodle is configured to force login - Credits to toby saunders
- 2014-01-31 - Check compatibility for Moodle 2.6, no functionality change
- 2013-10-25 - Remove support for 'staticpage' pagelayout because of problems with Bootstrap-based themes. local_staticpage uses 'standard' pagelayout now. Please check your CSS cascades if you have styled static pages in any special way.
- 2013-09-02 - Check availability of static page directly on settings page, show error if page isn't downloadable
- 2013-09-02 - Add an option to set the data source of document title, document heading and breadcrumb item title
- 2013-08-08 - Improve README
- 2013-07-30 - Transfer Github repository from github.com/abias/... to github.com/moodleuulm/...; Please update your Git paths if necessary
- 2013-07-30 - Check compatibility for Moodle 2.5, no functionality change
- 2013-07-23 - Extend valid URLs with "_-" characters
- 2013-04-23 - Fix problems on windows systems
- 2013-04-22 - Bugfix: Language switcher didn't work anymore on a static page
- 2013-03-22 - Bugfix: Static page wouldn't show even if everything was configured correctly; Please notice that apache rewrite rule has changed
- 2013-03-18 - Code cleanup according to moodle codechecker
- 2013-02-18 - Check compatibility for Moodle 2.4, fix language string names to comply with language string name convention
- 2013-01-21 - Fix a flaw in README file regarding filename examples
- 2013-01-21 - Fix a flaw in README file regarding Apache mod_rewrite
- 2013-01-21 - Migrate plugin settings from config.php to a settings page within Moodle
- 2012-09-26 - Replace deprecated get_context_instance function
- 2012-06-25 - Update version.php for Moodle 2.3
- 2012-06-01 - Initial version
v4.2-r2 (2023090101)
v4.2-r2
Plugin type: Local plugins
Frankenstyle component name: local_staticpage
Version build number: 2023090101
Version release name: v4.2-r2
Maturity: Stable
Supported Moodle versions: 4.2
Repository URL (Git): https://github.com/moodle-an-hochschulen/moodle-local_staticpage
Repository branch:
Repository tag: v4.2-r2
Issue/bug tracker URL: https://github.com/moodle-an-hochschulen/moodle-local_staticpage/issues
moodle-local_staticpage
Changes
v4.2-r2
- 2024-08-11 - Add section for scheduled tasks to README
- 2024-08-11 - Updated Moodle Plugin CI to latest upstream recommendations
- 2024-08-11 - Preserve tags in head of static page document by moving it to the Moodle
- 2024-08-11 - Added static page view even, credits to Jeroen de Bruijn.
- 2024-01-08 - Improve the installation and usage of language packs in Behat tests.
v4.2-r1
- 2023-10-19 - Fix Behat tests which broke on Moodle 4.2.
- 2023-09-01 - Prepare compatibility for Moodle 4.2.
v4.1-r2
- 2023-10-14 - Add automated release to moodle.org/plugins
- 2023-10-14 - Make codechecker happy again
- 2023-10-10 - Updated Moodle Plugin CI to latest upstream recommendations
- 2023-04-30 - Tests: Updated Moodle Plugin CI to use PHP 8.1 and Postgres 13 from Moodle 4.1 on.
v4.1-r1
- 2023-01-21 - Prepare compatibility for Moodle 4.1.
- 2022-11-28 - Updated Moodle Plugin CI to latest upstream recommendations
v4.0-r1
- 2022-07-12 - Improve lib.php, solves #62.
- 2022-07-12 - Remove the 'documentnavbarsource' setting as static pages do not have a navbar anymore on Moodle 4.0.
- 2022-07-12 - Fix Behat tests which broke with Moodle 4.0.
- 2022-07-12 - Prepare compatibility for Moodle 4.0.
v3.11-r3
- 2022-07-11 - Bugfix: Static page was crippled if the HTML code did not contain a plain body tag, solves #64 and several older issues.
- 2022-07-11 - Add links to README to the language pack, solves #61
- 2022-07-10 - Add Visual checks section to UPGRADE.md
v3.11-r2
- 2022-06-26 - Make codechecker happy again
- 2022-06-26 - Updated Moodle Plugin CI to latest upstream recommendations
- 2022-06-26 - Add UPGRADE.md as internal upgrade documentation
- 2022-06-26 - Update maintainers and copyrights in README.md.
v3.11-r1
- 2021-12-08 - Prepare compatibility for Moodle 3.11.
v3.10-r2
- 2021-08-28 - Feature: Add a body class which contains the page name of the static page shown
- 2021-08-28 - Bugfix: Fix incorrect setting defaults when installing the plugin - Thanks to Davo Smith
- 2021-08-28 - Replace the deprecated print_error() function with a Moodle exception
- 2021-08-28 - Feature: Allow non-admins to manage static page documents by introducing the local/staticpage:managedocuments capability
- 2021-02-05 - Move Moodle Plugin CI from Travis CI to Github actions
v3.10-r1
- 2021-01-09 - Change Bootstrap labels to badges to comply with Bootstrap 4 standards
- 2021-01-09 - Fix a small language pack flaw for the admin setting page.
- 2021-01-09 - Prepare compatibility for Moodle 3.10.
- 2021-01-06 - Change in Moodle release support:
For the time being, this plugin is maintained for the most recent LTS release of Moodle as well as the most recent major release of Moodle.
Bugfixes are backported to the LTS release. However, new features and improvements are not necessarily backported to the LTS release. - 2021-01-06 - Improvement: Declare which major stable version of Moodle this plugin supports (see MDL-59562 for details).
v3.9-r1
- 2020-11-25 - Improvement: Improve require_once calls which require the plugin's library - Credits to Antoni Bertran.
- 2020-11-25 - Prepare compatibility for Moodle 3.9.
v3.8-r1
- 2020-02-14 - Prepare compatibility for Moodle 3.8.
- 2019-12-18 - Improved behat test for fileupload because MDL-60975 was fixed.
PLEASE NOTE: For all scenarios to pass, the Moodle version 3.7.3+ (Build: 20191212) is needed.
v3.7-r2
- 2019-12-12 - Bugfix: List of static pages link broken when moodle is installed in subdirectory - Credits to wuzhuoqing.
- 2019-10-24 - Improvement: Add @_file_upload tag to fix failing behat tests.
v3.7-r1
- 2019-09-27 - Added behat tests.
- 2019-09-23 - Add admin setting to check availability on list of static pages or not - Credits to Arief Wibowo.
- 2019-08-05 - Prepare compatibility for Moodle 3.7.
v3.6-r1
- 2019-01-22 - Check compatibility for Moodle 3.6, no functionality change.
- 2018-12-05 - Changed travis.yml due to upstream changes.
v3.5-r2
- 2018-09-26 - Bugfix: Forcing apache rewrite wasn't possible for Moodle installations in subdirectories.
v3.5-r1
- 2018-06-29 - Check compatibility for Moodle 3.5, no functionality change.
v3.4-r2
- 2018-05-16 - Implement Privacy API.
v3.4-r1
- 2017-12-14 - Check compatibility for Moodle 3.4, no functionality change.
- 2017-12-05 - Added Workaround to travis.yml for fixing Behat tests with TravisCI.
v3.3-r1
- 2017-11-23 - Check compatibility for Moodle 3.3, no functionality change.
- 2017-11-08 - Updated travis.yml to use newer node version for fixing TravisCI error.
v3.2-r9
- 2017-09-22 - Bugfix: Boost seems not to process filters for our breadcrumb element anymore
v3.2-r8
- 2017-09-13 - Escape proposed HTML structure and Apache configuration in README
- 2017-09-13 - Escape HTML code in language pack - Credits to Carson Tam
v3.2-r7
- 2017-05-29 - Add Travis CI support
v3.2-r6
- 2017-05-05 - Improve README.md
- 2017-02-15 - Minor code improvement, no functionality change
v3.2-r5
- 2017-01-27 - Automatically rename htm files to html - Credits to Andrew Hancox
v3.2-r4
- 2017-01-12 - Move Changelog from README.md to CHANGES.md
v3.2-r3
- 2017-01-12 - Check compatibility for Moodle 3.2, no functionality change
- 2017-01-12 - Re-add the list of available static pages
- 2017-01-11 - Improve README
v3.2-r2
- Internal release
v3.2-r1
- Internal release
v3.1-r2
- 2016-07-21 - Move the plugin's settings page to Site Administration -> Static Pages because this is where it logically belongs to
v3.1-r1
- 2016-07-19 - Check compatibility for Moodle 3.1, no functionality change
Changes before v3.1
- 2016-05-09 - Add settings to control if filters are processed and if the HTML code is cleaned on a static page or not
- 2016-04-07 - Add a setting to control if a static page should be shown to visitors or not
- 2016-02-10 - Add a new filearea to save the document files within Moodle - This change might break backwards compatibility in some situations, please read the "Upgrading from previous versions" below
- 2016-02-10 - Change plugin version and release scheme to the scheme promoted by moodle.org, no functionality change
- 2016-01-25 - Improve RewriteRules in README, no functionality change - Credits to Daniel Ruf
- 2016-01-01 - Check compatibility for Moodle 3.0, no functionality change
- 2015-08-18 - Check compatibility for Moodle 2.9, no functionality change
- 2015-01-23 - Check compatibility for Moodle 2.8, no functionality change
- 2014-08-19 - Add possibility to use a
<style>tag in the HTML code of static page files - 2014-06-30 - Add plugin's name as prefix to function names
- 2014-06-30 - Check compatibility for Moodle 2.7, no functionality change
- 2014-01-31 - Add description how to add blocks to static pages
- 2014-01-31 - Extend valid URLs to alphanumeric characters (no numbers were allowed before)
- 2014-01-31 - Require login if Moodle is configured to force login - Credits to toby saunders
- 2014-01-31 - Check compatibility for Moodle 2.6, no functionality change
- 2013-10-25 - Remove support for 'staticpage' pagelayout because of problems with Bootstrap-based themes. local_staticpage uses 'standard' pagelayout now. Please check your CSS cascades if you have styled static pages in any special way.
- 2013-09-02 - Check availability of static page directly on settings page, show error if page isn't downloadable
- 2013-09-02 - Add an option to set the data source of document title, document heading and breadcrumb item title
- 2013-08-08 - Improve README
- 2013-07-30 - Transfer Github repository from github.com/abias/... to github.com/moodleuulm/...; Please update your Git paths if necessary
- 2013-07-30 - Check compatibility for Moodle 2.5, no functionality change
- 2013-07-23 - Extend valid URLs with "_-" characters
- 2013-04-23 - Fix problems on windows systems
- 2013-04-22 - Bugfix: Language switcher didn't work anymore on a static page
- 2013-03-22 - Bugfix: Static page wouldn't show even if everything was configured correctly; Please notice that apache rewrite rule has changed
- 2013-03-18 - Code cleanup according to moodle codechecker
- 2013-02-18 - Check compatibility for Moodle 2.4, fix language string names to comply with language string name convention
- 2013-01-21 - Fix a flaw in README file regarding filename examples
- 2013-01-21 - Fix a flaw in README file regarding Apache mod_rewrite
- 2013-01-21 - Migrate plugin settings from config.php to a settings page within Moodle
- 2012-09-26 - Replace deprecated get_context_instance function
- 2012-06-25 - Update version.php for Moodle 2.3
- 2012-06-01 - Initial version
v4.3-r2 (2023102001)
v4.3-r2
Plugin type: Local plugins
Frankenstyle component name: local_staticpage
Version build number: 2023102001
Version release name: v4.3-r2
Maturity: Stable
Supported Moodle versions: 4.3
Repository URL (Git): https://github.com/moodle-an-hochschulen/moodle-local_staticpage
Repository branch:
Repository tag: v4.3-r2
Issue/bug tracker URL: https://github.com/moodle-an-hochschulen/moodle-local_staticpage/issues
moodle-local_staticpage
Changes
v4.3-r2
- 2024-08-11 - Add section for scheduled tasks to README
- 2024-08-11 - Updated Moodle Plugin CI to latest upstream recommendations
- 2024-08-11 - Preserve tags in head of static page document by moving it to the Moodle
- 2024-08-11 - Added static page view even, credits to Jeroen de Bruijn.
- 2024-01-08 - Improve the installation and usage of language packs in Behat tests.
v4.3-r1
- 2023-10-20 - Prepare compatibility for Moodle 4.3.
v4.2-r1
- 2023-10-19 - Fix Behat tests which broke on Moodle 4.2.
- 2023-09-01 - Prepare compatibility for Moodle 4.2.
v4.1-r2
- 2023-10-14 - Add automated release to moodle.org/plugins
- 2023-10-14 - Make codechecker happy again
- 2023-10-10 - Updated Moodle Plugin CI to latest upstream recommendations
- 2023-04-30 - Tests: Updated Moodle Plugin CI to use PHP 8.1 and Postgres 13 from Moodle 4.1 on.
v4.1-r1
- 2023-01-21 - Prepare compatibility for Moodle 4.1.
- 2022-11-28 - Updated Moodle Plugin CI to latest upstream recommendations
v4.0-r1
- 2022-07-12 - Improve lib.php, solves #62.
- 2022-07-12 - Remove the 'documentnavbarsource' setting as static pages do not have a navbar anymore on Moodle 4.0.
- 2022-07-12 - Fix Behat tests which broke with Moodle 4.0.
- 2022-07-12 - Prepare compatibility for Moodle 4.0.
v3.11-r3
- 2022-07-11 - Bugfix: Static page was crippled if the HTML code did not contain a plain body tag, solves #64 and several older issues.
- 2022-07-11 - Add links to README to the language pack, solves #61
- 2022-07-10 - Add Visual checks section to UPGRADE.md
v3.11-r2
- 2022-06-26 - Make codechecker happy again
- 2022-06-26 - Updated Moodle Plugin CI to latest upstream recommendations
- 2022-06-26 - Add UPGRADE.md as internal upgrade documentation
- 2022-06-26 - Update maintainers and copyrights in README.md.
v3.11-r1
- 2021-12-08 - Prepare compatibility for Moodle 3.11.
v3.10-r2
- 2021-08-28 - Feature: Add a body class which contains the page name of the static page shown
- 2021-08-28 - Bugfix: Fix incorrect setting defaults when installing the plugin - Thanks to Davo Smith
- 2021-08-28 - Replace the deprecated print_error() function with a Moodle exception
- 2021-08-28 - Feature: Allow non-admins to manage static page documents by introducing the local/staticpage:managedocuments capability
- 2021-02-05 - Move Moodle Plugin CI from Travis CI to Github actions
v3.10-r1
- 2021-01-09 - Change Bootstrap labels to badges to comply with Bootstrap 4 standards
- 2021-01-09 - Fix a small language pack flaw for the admin setting page.
- 2021-01-09 - Prepare compatibility for Moodle 3.10.
- 2021-01-06 - Change in Moodle release support:
For the time being, this plugin is maintained for the most recent LTS release of Moodle as well as the most recent major release of Moodle.
Bugfixes are backported to the LTS release. However, new features and improvements are not necessarily backported to the LTS release. - 2021-01-06 - Improvement: Declare which major stable version of Moodle this plugin supports (see MDL-59562 for details).
v3.9-r1
- 2020-11-25 - Improvement: Improve require_once calls which require the plugin's library - Credits to Antoni Bertran.
- 2020-11-25 - Prepare compatibility for Moodle 3.9.
v3.8-r1
- 2020-02-14 - Prepare compatibility for Moodle 3.8.
- 2019-12-18 - Improved behat test for fileupload because MDL-60975 was fixed.
PLEASE NOTE: For all scenarios to pass, the Moodle version 3.7.3+ (Build: 20191212) is needed.
v3.7-r2
- 2019-12-12 - Bugfix: List of static pages link broken when moodle is installed in subdirectory - Credits to wuzhuoqing.
- 2019-10-24 - Improvement: Add @_file_upload tag to fix failing behat tests.
v3.7-r1
- 2019-09-27 - Added behat tests.
- 2019-09-23 - Add admin setting to check availability on list of static pages or not - Credits to Arief Wibowo.
- 2019-08-05 - Prepare compatibility for Moodle 3.7.
v3.6-r1
- 2019-01-22 - Check compatibility for Moodle 3.6, no functionality change.
- 2018-12-05 - Changed travis.yml due to upstream changes.
v3.5-r2
- 2018-09-26 - Bugfix: Forcing apache rewrite wasn't possible for Moodle installations in subdirectories.
v3.5-r1
- 2018-06-29 - Check compatibility for Moodle 3.5, no functionality change.
v3.4-r2
- 2018-05-16 - Implement Privacy API.
v3.4-r1
- 2017-12-14 - Check compatibility for Moodle 3.4, no functionality change.
- 2017-12-05 - Added Workaround to travis.yml for fixing Behat tests with TravisCI.
v3.3-r1
- 2017-11-23 - Check compatibility for Moodle 3.3, no functionality change.
- 2017-11-08 - Updated travis.yml to use newer node version for fixing TravisCI error.
v3.2-r9
- 2017-09-22 - Bugfix: Boost seems not to process filters for our breadcrumb element anymore
v3.2-r8
- 2017-09-13 - Escape proposed HTML structure and Apache configuration in README
- 2017-09-13 - Escape HTML code in language pack - Credits to Carson Tam
v3.2-r7
- 2017-05-29 - Add Travis CI support
v3.2-r6
- 2017-05-05 - Improve README.md
- 2017-02-15 - Minor code improvement, no functionality change
v3.2-r5
- 2017-01-27 - Automatically rename htm files to html - Credits to Andrew Hancox
v3.2-r4
- 2017-01-12 - Move Changelog from README.md to CHANGES.md
v3.2-r3
- 2017-01-12 - Check compatibility for Moodle 3.2, no functionality change
- 2017-01-12 - Re-add the list of available static pages
- 2017-01-11 - Improve README
v3.2-r2
- Internal release
v3.2-r1
- Internal release
v3.1-r2
- 2016-07-21 - Move the plugin's settings page to Site Administration -> Static Pages because this is where it logically belongs to
v3.1-r1
- 2016-07-19 - Check compatibility for Moodle 3.1, no functionality change
Changes before v3.1
- 2016-05-09 - Add settings to control if filters are processed and if the HTML code is cleaned on a static page or not
- 2016-04-07 - Add a setting to control if a static page should be shown to visitors or not
- 2016-02-10 - Add a new filearea to save the document files within Moodle - This change might break backwards compatibility in some situations, please read the "Upgrading from previous versions" below
- 2016-02-10 - Change plugin version and release scheme to the scheme promoted by moodle.org, no functionality change
- 2016-01-25 - Improve RewriteRules in README, no functionality change - Credits to Daniel Ruf
- 2016-01-01 - Check compatibility for Moodle 3.0, no functionality change
- 2015-08-18 - Check compatibility for Moodle 2.9, no functionality change
- 2015-01-23 - Check compatibility for Moodle 2.8, no functionality change
- 2014-08-19 - Add possibility to use a
<style>tag in the HTML code of static page files - 2014-06-30 - Add plugin's name as prefix to function names
- 2014-06-30 - Check compatibility for Moodle 2.7, no functionality change
- 2014-01-31 - Add description how to add blocks to static pages
- 2014-01-31 - Extend valid URLs to alphanumeric characters (no numbers were allowed before)
- 2014-01-31 - Require login if Moodle is configured to force login - Credits to toby saunders
- 2014-01-31 - Check compatibility for Moodle 2.6, no functionality change
- 2013-10-25 - Remove support for 'staticpage' pagelayout because of problems with Bootstrap-based themes. local_staticpage uses 'standard' pagelayout now. Please check your CSS cascades if you have styled static pages in any special way.
- 2013-09-02 - Check availability of static page directly on settings page, show error if page isn't downloadable
- 2013-09-02 - Add an option to set the data source of document title, document heading and breadcrumb item title
- 2013-08-08 - Improve README
- 2013-07-30 - Transfer Github repository from github.com/abias/... to github.com/moodleuulm/...; Please update your Git paths if necessary
- 2013-07-30 - Check compatibility for Moodle 2.5, no functionality change
- 2013-07-23 - Extend valid URLs with "_-" characters
- 2013-04-23 - Fix problems on windows systems
- 2013-04-22 - Bugfix: Language switcher didn't work anymore on a static page
- 2013-03-22 - Bugfix: Static page wouldn't show even if everything was configured correctly; Please notice that apache rewrite rule has changed
- 2013-03-18 - Code cleanup according to moodle codechecker
- 2013-02-18 - Check compatibility for Moodle 2.4, fix language string names to comply with language string name convention
- 2013-01-21 - Fix a flaw in README file regarding filename examples
- 2013-01-21 - Fix a flaw in README file regarding Apache mod_rewrite
- 2013-01-21 - Migrate plugin settings from config.php to a settings page within Moodle
- 2012-09-26 - Replace deprecated get_context_instance function
- 2012-06-25 - Update version.php for Moodle 2.3
- 2012-06-01 - Initial version
v4.3-r1 (2023102000)
v4.3-r1
Plugin type: Local plugins
Frankenstyle component name: local_staticpage
Version build number: 2023102000
Version release name: v4.3-r1
Maturity: Stable
Supported Moodle versions: 4.3
Repository URL (Git): https://github.com/moodle-an-hochschulen/moodle-local_staticpage
Repository branch:
Repository tag: v4.3-r1
Issue/bug tracker URL: https://github.com/moodle-an-hochschulen/moodle-local_staticpage/issues
moodle-local_staticpage
Changes
v4.3-r1
- 2023-10-20 - Prepare compatibility for Moodle 4.3.
v4.2-r1
- 2023-10-19 - Fix Behat tests which broke on Moodle 4.2.
- 2023-09-01 - Prepare compatibility for Moodle 4.2.
v4.1-r2
- 2023-10-14 - Add automated release to moodle.org/plugins
- 2023-10-14 - Make codechecker happy again
- 2023-10-10 - Updated Moodle Plugin CI to latest upstream recommendations
- 2023-04-30 - Tests: Updated Moodle Plugin CI to use PHP 8.1 and Postgres 13 from Moodle 4.1 on.
v4.1-r1
- 2023-01-21 - Prepare compatibility for Moodle 4.1.
- 2022-11-28 - Updated Moodle Plugin CI to latest upstream recommendations
v4.0-r1
- 2022-07-12 - Improve lib.php, solves #62.
- 2022-07-12 - Remove the 'documentnavbarsource' setting as static pages do not have a navbar anymore on Moodle 4.0.
- 2022-07-12 - Fix Behat tests which broke with Moodle 4.0.
- 2022-07-12 - Prepare compatibility for Moodle 4.0.
v3.11-r3
- 2022-07-11 - Bugfix: Static page was crippled if the HTML code did not contain a plain body tag, solves #64 and several older issues.
- 2022-07-11 - Add links to README to the language pack, solves #61
- 2022-07-10 - Add Visual checks section to UPGRADE.md
v3.11-r2
- 2022-06-26 - Make codechecker happy again
- 2022-06-26 - Updated Moodle Plugin CI to latest upstream recommendations
- 2022-06-26 - Add UPGRADE.md as internal upgrade documentation
- 2022-06-26 - Update maintainers and copyrights in README.md.
v3.11-r1
- 2021-12-08 - Prepare compatibility for Moodle 3.11.
v3.10-r2
- 2021-08-28 - Feature: Add a body class which contains the page name of the static page shown
- 2021-08-28 - Bugfix: Fix incorrect setting defaults when installing the plugin - Thanks to Davo Smith
- 2021-08-28 - Replace the deprecated print_error() function with a Moodle exception
- 2021-08-28 - Feature: Allow non-admins to manage static page documents by introducing the local/staticpage:managedocuments capability
- 2021-02-05 - Move Moodle Plugin CI from Travis CI to Github actions
v3.10-r1
- 2021-01-09 - Change Bootstrap labels to badges to comply with Bootstrap 4 standards
- 2021-01-09 - Fix a small language pack flaw for the admin setting page.
- 2021-01-09 - Prepare compatibility for Moodle 3.10.
- 2021-01-06 - Change in Moodle release support:
For the time being, this plugin is maintained for the most recent LTS release of Moodle as well as the most recent major release of Moodle.
Bugfixes are backported to the LTS release. However, new features and improvements are not necessarily backported to the LTS release. - 2021-01-06 - Improvement: Declare which major stable version of Moodle this plugin supports (see MDL-59562 for details).
v3.9-r1
- 2020-11-25 - Improvement: Improve require_once calls which require the plugin's library - Credits to Antoni Bertran.
- 2020-11-25 - Prepare compatibility for Moodle 3.9.
v3.8-r1
- 2020-02-14 - Prepare compatibility for Moodle 3.8.
- 2019-12-18 - Improved behat test for fileupload because MDL-60975 was fixed.
PLEASE NOTE: For all scenarios to pass, the Moodle version 3.7.3+ (Build: 20191212) is needed.
v3.7-r2
- 2019-12-12 - Bugfix: List of static pages link broken when moodle is installed in subdirectory - Credits to wuzhuoqing.
- 2019-10-24 - Improvement: Add @_file_upload tag to fix failing behat tests.
v3.7-r1
- 2019-09-27 - Added behat tests.
- 2019-09-23 - Add admin setting to check availability on list of static pages or not - Credits to Arief Wibowo.
- 2019-08-05 - Prepare compatibility for Moodle 3.7.
v3.6-r1
- 2019-01-22 - Check compatibility for Moodle 3.6, no functionality change.
- 2018-12-05 - Changed travis.yml due to upstream changes.
v3.5-r2
- 2018-09-26 - Bugfix: Forcing apache rewrite wasn't possible for Moodle installations in subdirectories.
v3.5-r1
- 2018-06-29 - Check compatibility for Moodle 3.5, no functionality change.
v3.4-r2
- 2018-05-16 - Implement Privacy API.
v3.4-r1
- 2017-12-14 - Check compatibility for Moodle 3.4, no functionality change.
- 2017-12-05 - Added Workaround to travis.yml for fixing Behat tests with TravisCI.
v3.3-r1
- 2017-11-23 - Check compatibility for Moodle 3.3, no functionality change.
- 2017-11-08 - Updated travis.yml to use newer node version for fixing TravisCI error.
v3.2-r9
- 2017-09-22 - Bugfix: Boost seems not to process filters for our breadcrumb element anymore
v3.2-r8
- 2017-09-13 - Escape proposed HTML structure and Apache configuration in README
- 2017-09-13 - Escape HTML code in language pack - Credits to Carson Tam
v3.2-r7
- 2017-05-29 - Add Travis CI support
v3.2-r6
- 2017-05-05 - Improve README.md
- 2017-02-15 - Minor code improvement, no functionality change
v3.2-r5
- 2017-01-27 - Automatically rename htm files to html - Credits to Andrew Hancox
v3.2-r4
- 2017-01-12 - Move Changelog from README.md to CHANGES.md
v3.2-r3
- 2017-01-12 - Check compatibility for Moodle 3.2, no functionality change
- 2017-01-12 - Re-add the list of available static pages
- 2017-01-11 - Improve README
v3.2-r2
- Internal release
v3.2-r1
- Internal release
v3.1-r2
- 2016-07-21 - Move the plugin's settings page to Site Administration -> Static Pages because this is where it logically belongs to
v3.1-r1
- 2016-07-19 - Check compatibility for Moodle 3.1, no functionality change
Changes before v3.1
- 2016-05-09 - Add settings to control if filters are processed and if the HTML code is cleaned on a static page or not
- 2016-04-07 - Add a setting to control if a static page should be shown to visitors or not
- 2016-02-10 - Add a new filearea to save the document files within Moodle - This change might break backwards compatibility in some situations, please read the "Upgrading from previous versions" below
- 2016-02-10 - Change plugin version and release scheme to the scheme promoted by moodle.org, no functionality change
- 2016-01-25 - Improve RewriteRules in README, no functionality change - Credits to Daniel Ruf
- 2016-01-01 - Check compatibility for Moodle 3.0, no functionality change
- 2015-08-18 - Check compatibility for Moodle 2.9, no functionality change
- 2015-01-23 - Check compatibility for Moodle 2.8, no functionality change
- 2014-08-19 - Add possibility to use a
<style>tag in the HTML code of static page files - 2014-06-30 - Add plugin's name as prefix to function names
- 2014-06-30 - Check compatibility for Moodle 2.7, no functionality change
- 2014-01-31 - Add description how to add blocks to static pages
- 2014-01-31 - Extend valid URLs to alphanumeric characters (no numbers were allowed before)
- 2014-01-31 - Require login if Moodle is configured to force login - Credits to toby saunders
- 2014-01-31 - Check compatibility for Moodle 2.6, no functionality change
- 2013-10-25 - Remove support for 'staticpage' pagelayout because of problems with Bootstrap-based themes. local_staticpage uses 'standard' pagelayout now. Please check your CSS cascades if you have styled static pages in any special way.
- 2013-09-02 - Check availability of static page directly on settings page, show error if page isn't downloadable
- 2013-09-02 - Add an option to set the data source of document title, document heading and breadcrumb item title
- 2013-08-08 - Improve README
- 2013-07-30 - Transfer Github repository from github.com/abias/... to github.com/moodleuulm/...; Please update your Git paths if necessary
- 2013-07-30 - Check compatibility for Moodle 2.5, no functionality change
- 2013-07-23 - Extend valid URLs with "_-" characters
- 2013-04-23 - Fix problems on windows systems
- 2013-04-22 - Bugfix: Language switcher didn't work anymore on a static page
- 2013-03-22 - Bugfix: Static page wouldn't show even if everything was configured correctly; Please notice that apache rewrite rule has changed
- 2013-03-18 - Code cleanup according to moodle codechecker
- 2013-02-18 - Check compatibility for Moodle 2.4, fix language string names to comply with language string name convention
- 2013-01-21 - Fix a flaw in README file regarding filename examples
- 2013-01-21 - Fix a flaw in README file regarding Apache mod_rewrite
- 2013-01-21 - Migrate plugin settings from config.php to a settings page within Moodle
- 2012-09-26 - Replace deprecated get_context_instance function
- 2012-06-25 - Update version.php for Moodle 2.3
- 2012-06-01 - Initial version
v4.2-r1 (2023090100)
v4.2-r1
Plugin type: Local plugins
Frankenstyle component name: local_staticpage
Version build number: 2023090100
Version release name: v4.2-r1
Maturity: Stable
Supported Moodle versions: 4.2
Repository URL (Git): https://github.com/moodle-an-hochschulen/moodle-local_staticpage
Repository branch:
Repository tag: v4.2-r1
Issue/bug tracker URL: https://github.com/moodle-an-hochschulen/moodle-local_staticpage/issues
moodle-local_staticpage
Changes
v4.2-r1
- 2023-10-19 - Fix Behat tests which broke on Moodle 4.2.
- 2023-09-01 - Prepare compatibility for Moodle 4.2.
v4.1-r2
- 2023-10-14 - Add automated release to moodle.org/plugins
- 2023-10-14 - Make codechecker happy again
- 2023-10-10 - Updated Moodle Plugin CI to latest upstream recommendations
- 2023-04-30 - Tests: Updated Moodle Plugin CI to use PHP 8.1 and Postgres 13 from Moodle 4.1 on.
v4.1-r1
- 2023-01-21 - Prepare compatibility for Moodle 4.1.
- 2022-11-28 - Updated Moodle Plugin CI to latest upstream recommendations
v4.0-r1
- 2022-07-12 - Improve lib.php, solves #62.
- 2022-07-12 - Remove the 'documentnavbarsource' setting as static pages do not have a navbar anymore on Moodle 4.0.
- 2022-07-12 - Fix Behat tests which broke with Moodle 4.0.
- 2022-07-12 - Prepare compatibility for Moodle 4.0.
v3.11-r3
- 2022-07-11 - Bugfix: Static page was crippled if the HTML code did not contain a plain body tag, solves #64 and several older issues.
- 2022-07-11 - Add links to README to the language pack, solves #61
- 2022-07-10 - Add Visual checks section to UPGRADE.md
v3.11-r2
- 2022-06-26 - Make codechecker happy again
- 2022-06-26 - Updated Moodle Plugin CI to latest upstream recommendations
- 2022-06-26 - Add UPGRADE.md as internal upgrade documentation
- 2022-06-26 - Update maintainers and copyrights in README.md.
v3.11-r1
- 2021-12-08 - Prepare compatibility for Moodle 3.11.
v3.10-r2
- 2021-08-28 - Feature: Add a body class which contains the page name of the static page shown
- 2021-08-28 - Bugfix: Fix incorrect setting defaults when installing the plugin - Thanks to Davo Smith
- 2021-08-28 - Replace the deprecated print_error() function with a Moodle exception
- 2021-08-28 - Feature: Allow non-admins to manage static page documents by introducing the local/staticpage:managedocuments capability
- 2021-02-05 - Move Moodle Plugin CI from Travis CI to Github actions
v3.10-r1
- 2021-01-09 - Change Bootstrap labels to badges to comply with Bootstrap 4 standards
- 2021-01-09 - Fix a small language pack flaw for the admin setting page.
- 2021-01-09 - Prepare compatibility for Moodle 3.10.
- 2021-01-06 - Change in Moodle release support:
For the time being, this plugin is maintained for the most recent LTS release of Moodle as well as the most recent major release of Moodle.
Bugfixes are backported to the LTS release. However, new features and improvements are not necessarily backported to the LTS release. - 2021-01-06 - Improvement: Declare which major stable version of Moodle this plugin supports (see MDL-59562 for details).
v3.9-r1
- 2020-11-25 - Improvement: Improve require_once calls which require the plugin's library - Credits to Antoni Bertran.
- 2020-11-25 - Prepare compatibility for Moodle 3.9.
v3.8-r1
- 2020-02-14 - Prepare compatibility for Moodle 3.8.
- 2019-12-18 - Improved behat test for fileupload because MDL-60975 was fixed.
PLEASE NOTE: For all scenarios to pass, the Moodle version 3.7.3+ (Build: 20191212) is needed.
v3.7-r2
- 2019-12-12 - Bugfix: List of static pages link broken when moodle is installed in subdirectory - Credits to wuzhuoqing.
- 2019-10-24 - Improvement: Add @_file_upload tag to fix failing behat tests.
v3.7-r1
- 2019-09-27 - Added behat tests.
- 2019-09-23 - Add admin setting to check availability on list of static pages or not - Credits to Arief Wibowo.
- 2019-08-05 - Prepare compatibility for Moodle 3.7.
v3.6-r1
- 2019-01-22 - Check compatibility for Moodle 3.6, no functionality change.
- 2018-12-05 - Changed travis.yml due to upstream changes.
v3.5-r2
- 2018-09-26 - Bugfix: Forcing apache rewrite wasn't possible for Moodle installations in subdirectories.
v3.5-r1
- 2018-06-29 - Check compatibility for Moodle 3.5, no functionality change.
v3.4-r2
- 2018-05-16 - Implement Privacy API.
v3.4-r1
- 2017-12-14 - Check compatibility for Moodle 3.4, no functionality change.
- 2017-12-05 - Added Workaround to travis.yml for fixing Behat tests with TravisCI.
v3.3-r1
- 2017-11-23 - Check compatibility for Moodle 3.3, no functionality change.
- 2017-11-08 - Updated travis.yml to use newer node version for fixing TravisCI error.
v3.2-r9
- 2017-09-22 - Bugfix: Boost seems not to process filters for our breadcrumb element anymore
v3.2-r8
- 2017-09-13 - Escape proposed HTML structure and Apache configuration in README
- 2017-09-13 - Escape HTML code in language pack - Credits to Carson Tam
v3.2-r7
- 2017-05-29 - Add Travis CI support
v3.2-r6
- 2017-05-05 - Improve README.md
- 2017-02-15 - Minor code improvement, no functionality change
v3.2-r5
- 2017-01-27 - Automatically rename htm files to html - Credits to Andrew Hancox
v3.2-r4
- 2017-01-12 - Move Changelog from README.md to CHANGES.md
v3.2-r3
- 2017-01-12 - Check compatibility for Moodle 3.2, no functionality change
- 2017-01-12 - Re-add the list of available static pages
- 2017-01-11 - Improve README
v3.2-r2
- Internal release
v3.2-r1
- Internal release
v3.1-r2
- 2016-07-21 - Move the plugin's settings page to Site Administration -> Static Pages because this is where it logically belongs to
v3.1-r1
- 2016-07-19 - Check compatibility for Moodle 3.1, no functionality change
Changes before v3.1
- 2016-05-09 - Add settings to control if filters are processed and if the HTML code is cleaned on a static page or not
- 2016-04-07 - Add a setting to control if a static page should be shown to visitors or not
- 2016-02-10 - Add a new filearea to save the document files within Moodle - This change might break backwards compatibility in some situations, please read the "Upgrading from previous versions" below
- 2016-02-10 - Change plugin version and release scheme to the scheme promoted by moodle.org, no functionality change
- 2016-01-25 - Improve RewriteRules in README, no functionality change - Credits to Daniel Ruf
- 2016-01-01 - Check compatibility for Moodle 3.0, no functionality change
- 2015-08-18 - Check compatibility for Moodle 2.9, no functionality change
- 2015-01-23 - Check compatibility for Moodle 2.8, no functionality change
- 2014-08-19 - Add possibility to use a
<style>tag in the HTML code of static page files - 2014-06-30 - Add plugin's name as prefix to function names
- 2014-06-30 - Check compatibility for Moodle 2.7, no functionality change
- 2014-01-31 - Add description how to add blocks to static pages
- 2014-01-31 - Extend valid URLs to alphanumeric characters (no numbers were allowed before)
- 2014-01-31 - Require login if Moodle is configured to force login - Credits to toby saunders
- 2014-01-31 - Check compatibility for Moodle 2.6, no functionality change
- 2013-10-25 - Remove support for 'staticpage' pagelayout because of problems with Bootstrap-based themes. local_staticpage uses 'standard' pagelayout now. Please check your CSS cascades if you have styled static pages in any special way.
- 2013-09-02 - Check availability of static page directly on settings page, show error if page isn't downloadable
- 2013-09-02 - Add an option to set the data source of document title, document heading and breadcrumb item title
- 2013-08-08 - Improve README
- 2013-07-30 - Transfer Github repository from github.com/abias/... to github.com/moodleuulm/...; Please update your Git paths if necessary
- 2013-07-30 - Check compatibility for Moodle 2.5, no functionality change
- 2013-07-23 - Extend valid URLs with "_-" characters
- 2013-04-23 - Fix problems on windows systems
- 2013-04-22 - Bugfix: Language switcher didn't work anymore on a static page
- 2013-03-22 - Bugfix: Static page wouldn't show even if everything was configured correctly; Please notice that apache rewrite rule has changed
- 2013-03-18 - Code cleanup according to moodle codechecker
- 2013-02-18 - Check compatibility for Moodle 2.4, fix language string names to comply with language string name convention
- 2013-01-21 - Fix a flaw in README file regarding filename examples
- 2013-01-21 - Fix a flaw in README file regarding Apache mod_rewrite
- 2013-01-21 - Migrate plugin settings from config.php to a settings page within Moodle
- 2012-09-26 - Replace deprecated get_context_instance function
- 2012-06-25 - Update version.php for Moodle 2.3
- 2012-06-01 - Initial version
v4.1-r2 (2023010501)
v4.1-r2
Plugin type: Local plugins
Frankenstyle component name: local_staticpage
Version build number: 2023010501
Version release name: v4.1-r2
Maturity: Stable
Supported Moodle versions: 4.1
Repository URL (Git): https://github.com/moodle-an-hochschulen/moodle-local_staticpage
Repository branch:
Repository tag: v4.1-r2
Issue/bug tracker URL: https://github.com/moodle-an-hochschulen/moodle-local_staticpage/issues
moodle-local_staticpage
Changes
v4.1-r2
- 2023-10-14 - Add automated release to moodle.org/plugins
- 2023-10-14 - Make codechecker happy again
- 2023-10-10 - Updated Moodle Plugin CI to latest upstream recommendations
- 2023-04-30 - Tests: Updated Moodle Plugin CI to use PHP 8.1 and Postgres 13 from Moodle 4.1 on.
v4.1-r1
- 2023-01-21 - Prepare compatibility for Moodle 4.1.
- 2022-11-28 - Updated Moodle Plugin CI to latest upstream recommendations
v4.0-r1
- 2022-07-12 - Improve lib.php, solves #62.
- 2022-07-12 - Remove the 'documentnavbarsource' setting as static pages do not have a navbar anymore on Moodle 4.0.
- 2022-07-12 - Fix Behat tests which broke with Moodle 4.0.
- 2022-07-12 - Prepare compatibility for Moodle 4.0.
v3.11-r3
- 2022-07-11 - Bugfix: Static page was crippled if the HTML code did not contain a plain body tag, solves #64 and several older issues.
- 2022-07-11 - Add links to README to the language pack, solves #61
- 2022-07-10 - Add Visual checks section to UPGRADE.md
v3.11-r2
- 2022-06-26 - Make codechecker happy again
- 2022-06-26 - Updated Moodle Plugin CI to latest upstream recommendations
- 2022-06-26 - Add UPGRADE.md as internal upgrade documentation
- 2022-06-26 - Update maintainers and copyrights in README.md.
v3.11-r1
- 2021-12-08 - Prepare compatibility for Moodle 3.11.
v3.10-r2
- 2021-08-28 - Feature: Add a body class which contains the page name of the static page shown
- 2021-08-28 - Bugfix: Fix incorrect setting defaults when installing the plugin - Thanks to Davo Smith
- 2021-08-28 - Replace the deprecated print_error() function with a Moodle exception
- 2021-08-28 - Feature: Allow non-admins to manage static page documents by introducing the local/staticpage:managedocuments capability
- 2021-02-05 - Move Moodle Plugin CI from Travis CI to Github actions
v3.10-r1
- 2021-01-09 - Change Bootstrap labels to badges to comply with Bootstrap 4 standards
- 2021-01-09 - Fix a small language pack flaw for the admin setting page.
- 2021-01-09 - Prepare compatibility for Moodle 3.10.
- 2021-01-06 - Change in Moodle release support:
For the time being, this plugin is maintained for the most recent LTS release of Moodle as well as the most recent major release of Moodle.
Bugfixes are backported to the LTS release. However, new features and improvements are not necessarily backported to the LTS release. - 2021-01-06 - Improvement: Declare which major stable version of Moodle this plugin supports (see MDL-59562 for details).
v3.9-r1
- 2020-11-25 - Improvement: Improve require_once calls which require the plugin's library - Credits to Antoni Bertran.
- 2020-11-25 - Prepare compatibility for Moodle 3.9.
v3.8-r1
- 2020-02-14 - Prepare compatibility for Moodle 3.8.
- 2019-12-18 - Improved behat test for fileupload because MDL-60975 was fixed.
PLEASE NOTE: For all scenarios to pass, the Moodle version 3.7.3+ (Build: 20191212) is needed.
v3.7-r2
- 2019-12-12 - Bugfix: List of static pages link broken when moodle is installed in subdirectory - Credits to wuzhuoqing.
- 2019-10-24 - Improvement: Add @_file_upload tag to fix failing behat tests.
v3.7-r1
- 2019-09-27 - Added behat tests.
- 2019-09-23 - Add admin setting to check availability on list of static pages or not - Credits to Arief Wibowo.
- 2019-08-05 - Prepare compatibility for Moodle 3.7.
v3.6-r1
- 2019-01-22 - Check compatibility for Moodle 3.6, no functionality change.
- 2018-12-05 - Changed travis.yml due to upstream changes.
v3.5-r2
- 2018-09-26 - Bugfix: Forcing apache rewrite wasn't possible for Moodle installations in subdirectories.
v3.5-r1
- 2018-06-29 - Check compatibility for Moodle 3.5, no functionality change.
v3.4-r2
- 2018-05-16 - Implement Privacy API.
v3.4-r1
- 2017-12-14 - Check compatibility for Moodle 3.4, no functionality change.
- 2017-12-05 - Added Workaround to travis.yml for fixing Behat tests with TravisCI.
v3.3-r1
- 2017-11-23 - Check compatibility for Moodle 3.3, no functionality change.
- 2017-11-08 - Updated travis.yml to use newer node version for fixing TravisCI error.
v3.2-r9
- 2017-09-22 - Bugfix: Boost seems not to process filters for our breadcrumb element anymore
v3.2-r8
- 2017-09-13 - Escape proposed HTML structure and Apache configuration in README
- 2017-09-13 - Escape HTML code in language pack - Credits to Carson Tam
v3.2-r7
- 2017-05-29 - Add Travis CI support
v3.2-r6
- 2017-05-05 - Improve README.md
- 2017-02-15 - Minor code improvement, no functionality change
v3.2-r5
- 2017-01-27 - Automatically rename htm files to html - Credits to Andrew Hancox
v3.2-r4
- 2017-01-12 - Move Changelog from README.md to CHANGES.md
v3.2-r3
- 2017-01-12 - Check compatibility for Moodle 3.2, no functionality change
- 2017-01-12 - Re-add the list of available static pages
- 2017-01-11 - Improve README
v3.2-r2
- Internal release
v3.2-r1
- Internal release
v3.1-r2
- 2016-07-21 - Move the plugin's settings page to Site Administration -> Static Pages because this is where it logically belongs to
v3.1-r1
- 2016-07-19 - Check compatibility for Moodle 3.1, no functionality change
Changes before v3.1
- 2016-05-09 - Add settings to control if filters are processed and if the HTML code is cleaned on a static page or not
- 2016-04-07 - Add a setting to control if a static page should be shown to visitors or not
- 2016-02-10 - Add a new filearea to save the document files within Moodle - This change might break backwards compatibility in some situations, please read the "Upgrading from previous versions" below
- 2016-02-10 - Change plugin version and release scheme to the scheme promoted by moodle.org, no functionality change
- 2016-01-25 - Improve RewriteRules in README, no functionality change - Credits to Daniel Ruf
- 2016-01-01 - Check compatibility for Moodle 3.0, no functionality change
- 2015-08-18 - Check compatibility for Moodle 2.9, no functionality change
- 2015-01-23 - Check compatibility for Moodle 2.8, no functionality change
- 2014-08-19 - Add possibility to use a
<style>tag in the HTML code of static page files - 2014-06-30 - Add plugin's name as prefix to function names
- 2014-06-30 - Check compatibility for Moodle 2.7, no functionality change
- 2014-01-31 - Add description how to add blocks to static pages
- 2014-01-31 - Extend valid URLs to alphanumeric characters (no numbers were allowed before)
- 2014-01-31 - Require login if Moodle is configured to force login - Credits to toby saunders
- 2014-01-31 - Check compatibility for Moodle 2.6, no functionality change
- 2013-10-25 - Remove support for 'staticpage' pagelayout because of problems with Bootstrap-based themes. local_staticpage uses 'standard' pagelayout now. Please check your CSS cascades if you have styled static pages in any special way.
- 2013-09-02 - Check availability of static page directly on settings page, show error if page isn't downloadable
- 2013-09-02 - Add an option to set the data source of document title, document heading and breadcrumb item title
- 2013-08-08 - Improve README
- 2013-07-30 - Transfer Github repository from github.com/abias/... to github.com/moodleuulm/...; Please update your Git paths if necessary
- 2013-07-30 - Check compatibility for Moodle 2.5, no functionality change
- 2013-07-23 - Extend valid URLs with "_-" characters
- 2013-04-23 - Fix problems on windows systems
- 2013-04-22 - Bugfix: Language switcher didn't work anymore on a static page
- 2013-03-22 - Bugfix: Static page wouldn't show even if everything was configured correctly; Please notice that apache rewrite rule has changed
- 2013-03-18 - Code cleanup according to moodle codechecker
- 2013-02-18 - Check compatibility for Moodle 2.4, fix language string names to comply with language string name convention
- 2013-01-21 - Fix a flaw in README file regarding filename examples
- 2013-01-21 - Fix a flaw in README file regarding Apache mod_rewrite
- 2013-01-21 - Migrate plugin settings from config.php to a settings page within Moodle
- 2012-09-26 - Replace deprecated get_context_instance function
- 2012-06-25 - Update version.php for Moodle 2.3
- 2012-06-01 - Initial version
v4.1-r1 (2023010500)
v4.1-r1
Plugin type: Local plugins
Frankenstyle component name: local_staticpage
Version build number: 2023010500
Version release name: v4.1-r1
Maturity: Stable
Supported Moodle versions: 4.1
Repository URL (Git): https://github.com/moodle-an-hochschulen/moodle-local_staticpage
Repository branch:
Repository tag: v4.1-r1
Issue/bug tracker URL: https://github.com/moodle-an-hochschulen/moodle-local_staticpage/issues
moodle-local_staticpage
Changes
v4.1-r1
- 2023-01-21 - Prepare compatibility for Moodle 4.1.
- 2022-11-28 - Updated Moodle Plugin CI to latest upstream recommendations
v4.0-r1
- 2022-07-12 - Improve lib.php, solves #62.
- 2022-07-12 - Remove the 'documentnavbarsource' setting as static pages do not have a navbar anymore on Moodle 4.0.
- 2022-07-12 - Fix Behat tests which broke with Moodle 4.0.
- 2022-07-12 - Prepare compatibility for Moodle 4.0.
v3.11-r3
- 2022-07-11 - Bugfix: Static page was crippled if the HTML code did not contain a plain body tag, solves #64 and several older issues.
- 2022-07-11 - Add links to README to the language pack, solves #61
- 2022-07-10 - Add Visual checks section to UPGRADE.md
v3.11-r2
- 2022-06-26 - Make codechecker happy again
- 2022-06-26 - Updated Moodle Plugin CI to latest upstream recommendations
- 2022-06-26 - Add UPGRADE.md as internal upgrade documentation
- 2022-06-26 - Update maintainers and copyrights in README.md.
v3.11-r1
- 2021-12-08 - Prepare compatibility for Moodle 3.11.
v3.10-r2
- 2021-08-28 - Feature: Add a body class which contains the page name of the static page shown
- 2021-08-28 - Bugfix: Fix incorrect setting defaults when installing the plugin - Thanks to Davo Smith
- 2021-08-28 - Replace the deprecated print_error() function with a Moodle exception
- 2021-08-28 - Feature: Allow non-admins to manage static page documents by introducing the local/staticpage:managedocuments capability
- 2021-02-05 - Move Moodle Plugin CI from Travis CI to Github actions
v3.10-r1
- 2021-01-09 - Change Bootstrap labels to badges to comply with Bootstrap 4 standards
- 2021-01-09 - Fix a small language pack flaw for the admin setting page.
- 2021-01-09 - Prepare compatibility for Moodle 3.10.
- 2021-01-06 - Change in Moodle release support:
For the time being, this plugin is maintained for the most recent LTS release of Moodle as well as the most recent major release of Moodle.
Bugfixes are backported to the LTS release. However, new features and improvements are not necessarily backported to the LTS release. - 2021-01-06 - Improvement: Declare which major stable version of Moodle this plugin supports (see MDL-59562 for details).
v3.9-r1
- 2020-11-25 - Improvement: Improve require_once calls which require the plugin's library - Credits to Antoni Bertran.
- 2020-11-25 - Prepare compatibility for Moodle 3.9.
v3.8-r1
- 2020-02-14 - Prepare compatibility for Moodle 3.8.
- 2019-12-18 - Improved behat test for fileupload because MDL-60975 was fixed.
PLEASE NOTE: For all scenarios to pass, the Moodle version 3.7.3+ (Build: 20191212) is needed.
v3.7-r2
- 2019-12-12 - Bugfix: List of static pages link broken when moodle is installed in subdirectory - Credits to wuzhuoqing.
- 2019-10-24 - Improvement: Add @_file_upload tag to fix failing behat tests.
v3.7-r1
- 2019-09-27 - Added behat tests.
- 2019-09-23 - Add admin setting to check availability on list of static pages or not - Credits to Arief Wibowo.
- 2019-08-05 - Prepare compatibility for Moodle 3.7.
v3.6-r1
- 2019-01-22 - Check compatibility for Moodle 3.6, no functionality change.
- 2018-12-05 - Changed travis.yml due to upstream changes.
v3.5-r2
- 2018-09-26 - Bugfix: Forcing apache rewrite wasn't possible for Moodle installations in subdirectories.
v3.5-r1
- 2018-06-29 - Check compatibility for Moodle 3.5, no functionality change.
v3.4-r2
- 2018-05-16 - Implement Privacy API.
v3.4-r1
- 2017-12-14 - Check compatibility for Moodle 3.4, no functionality change.
- 2017-12-05 - Added Workaround to travis.yml for fixing Behat tests with TravisCI.
v3.3-r1
- 2017-11-23 - Check compatibility for Moodle 3.3, no functionality change.
- 2017-11-08 - Updated travis.yml to use newer node version for fixing TravisCI error.
v3.2-r9
- 2017-09-22 - Bugfix: Boost seems not to process filters for our breadcrumb element anymore
v3.2-r8
- 2017-09-13 - Escape proposed HTML structure and Apache configuration in README
- 2017-09-13 - Escape HTML code in language pack - Credits to Carson Tam
v3.2-r7
- 2017-05-29 - Add Travis CI support
v3.2-r6
- 2017-05-05 - Improve README.md
- 2017-02-15 - Minor code improvement, no functionality change
v3.2-r5
- 2017-01-27 - Automatically rename htm files to html - Credits to Andrew Hancox
v3.2-r4
- 2017-01-12 - Move Changelog from README.md to CHANGES.md
v3.2-r3
- 2017-01-12 - Check compatibility for Moodle 3.2, no functionality change
- 2017-01-12 - Re-add the list of available static pages
- 2017-01-11 - Improve README
v3.2-r2
- Internal release
v3.2-r1
- Internal release
v3.1-r2
- 2016-07-21 - Move the plugin's settings page to Site Administration -> Static Pages because this is where it logically belongs to
v3.1-r1
- 2016-07-19 - Check compatibility for Moodle 3.1, no functionality change
Changes before v3.1
- 2016-05-09 - Add settings to control if filters are processed and if the HTML code is cleaned on a static page or not
- 2016-04-07 - Add a setting to control if a static page should be shown to visitors or not
- 2016-02-10 - Add a new filearea to save the document files within Moodle - This change might break backwards compatibility in some situations, please read the "Upgrading from previous versions" below
- 2016-02-10 - Change plugin version and release scheme to the scheme promoted by moodle.org, no functionality change
- 2016-01-25 - Improve RewriteRules in README, no functionality change - Credits to Daniel Ruf
- 2016-01-01 - Check compatibility for Moodle 3.0, no functionality change
- 2015-08-18 - Check compatibility for Moodle 2.9, no functionality change
- 2015-01-23 - Check compatibility for Moodle 2.8, no functionality change
- 2014-08-19 - Add possibility to use a
<style>tag in the HTML code of static page files - 2014-06-30 - Add plugin's name as prefix to function names
- 2014-06-30 - Check compatibility for Moodle 2.7, no functionality change
- 2014-01-31 - Add description how to add blocks to static pages
- 2014-01-31 - Extend valid URLs to alphanumeric characters (no numbers were allowed before)
- 2014-01-31 - Require login if Moodle is configured to force login - Credits to toby saunders
- 2014-01-31 - Check compatibility for Moodle 2.6, no functionality change
- 2013-10-25 - Remove support for 'staticpage' pagelayout because of problems with Bootstrap-based themes. local_staticpage uses 'standard' pagelayout now. Please check your CSS cascades if you have styled static pages in any special way.
- 2013-09-02 - Check availability of static page directly on settings page, show error if page isn't downloadable
- 2013-09-02 - Add an option to set the data source of document title, document heading and breadcrumb item title
- 2013-08-08 - Improve README
- 2013-07-30 - Transfer Github repository from github.com/abias/... to github.com/moodleuulm/...; Please update your Git paths if necessary
- 2013-07-30 - Check compatibility for Moodle 2.5, no functionality change
- 2013-07-23 - Extend valid URLs with "_-" characters
- 2013-04-23 - Fix problems on windows systems
- 2013-04-22 - Bugfix: Language switcher didn't work anymore on a static page
- 2013-03-22 - Bugfix: Static page wouldn't show even if everything was configured correctly; Please notice that apache rewrite rule has changed
- 2013-03-18 - Code cleanup according to moodle codechecker
- 2013-02-18 - Check compatibility for Moodle 2.4, fix language string names to comply with language string name convention
- 2013-01-21 - Fix a flaw in README file regarding filename examples
- 2013-01-21 - Fix a flaw in README file regarding Apache mod_rewrite
- 2013-01-21 - Migrate plugin settings from config.php to a settings page within Moodle
- 2012-09-26 - Replace deprecated get_context_instance function
- 2012-06-25 - Update version.php for Moodle 2.3
- 2012-06-01 - Initial version
v4.0-r1 (2022071200)
v4.0-r1
Plugin type: Local plugins
Frankenstyle component name: local_staticpage
Version build number: 2022071200
Version release name: v4.0-r1
Maturity: Stable
Supported Moodle versions: 4.0
Repository URL (Git): https://github.com/moodle-an-hochschulen/moodle-local_staticpage
Repository branch:
Repository tag: v4.0-r1
Issue/bug tracker URL: https://github.com/moodle-an-hochschulen/moodle-local_staticpage/issues
moodle-local_staticpage
Changes
v4.0-r1
- 2022-07-12 - Improve lib.php, solves #62.
- 2022-07-12 - Remove the 'documentnavbarsource' setting as static pages do not have a navbar anymore on Moodle 4.0.
- 2022-07-12 - Fix Behat tests which broke with Moodle 4.0.
- 2022-07-12 - Prepare compatibility for Moodle 4.0.
v3.11-r3
- 2022-07-11 - Bugfix: Static page was crippled if the HTML code did not contain a plain body tag, solves #64 and several older issues.
- 2022-07-11 - Add links to README to the language pack, solves #61
- 2022-07-10 - Add Visual checks section to UPGRADE.md
v3.11-r2
- 2022-06-26 - Make codechecker happy again
- 2022-06-26 - Updated Moodle Plugin CI to latest upstream recommendations
- 2022-06-26 - Add UPGRADE.md as internal upgrade documentation
- 2022-06-26 - Update maintainers and copyrights in README.md.
v3.11-r1
- 2021-12-08 - Prepare compatibility for Moodle 3.11.
v3.10-r2
- 2021-08-28 - Feature: Add a body class which contains the page name of the static page shown
- 2021-08-28 - Bugfix: Fix incorrect setting defaults when installing the plugin - Thanks to Davo Smith
- 2021-08-28 - Replace the deprecated print_error() function with a Moodle exception
- 2021-08-28 - Feature: Allow non-admins to manage static page documents by introducing the local/staticpage:managedocuments capability
- 2021-02-05 - Move Moodle Plugin CI from Travis CI to Github actions
v3.10-r1
- 2021-01-09 - Change Bootstrap labels to badges to comply with Bootstrap 4 standards
- 2021-01-09 - Fix a small language pack flaw for the admin setting page.
- 2021-01-09 - Prepare compatibility for Moodle 3.10.
- 2021-01-06 - Change in Moodle release support:
For the time being, this plugin is maintained for the most recent LTS release of Moodle as well as the most recent major release of Moodle.
Bugfixes are backported to the LTS release. However, new features and improvements are not necessarily backported to the LTS release. - 2021-01-06 - Improvement: Declare which major stable version of Moodle this plugin supports (see MDL-59562 for details).
v3.9-r1
- 2020-11-25 - Improvement: Improve require_once calls which require the plugin's library - Credits to Antoni Bertran.
- 2020-11-25 - Prepare compatibility for Moodle 3.9.
v3.8-r1
- 2020-02-14 - Prepare compatibility for Moodle 3.8.
- 2019-12-18 - Improved behat test for fileupload because MDL-60975 was fixed.
PLEASE NOTE: For all scenarios to pass, the Moodle version 3.7.3+ (Build: 20191212) is needed.
v3.7-r2
- 2019-12-12 - Bugfix: List of static pages link broken when moodle is installed in subdirectory - Credits to wuzhuoqing.
- 2019-10-24 - Improvement: Add @_file_upload tag to fix failing behat tests.
v3.7-r1
- 2019-09-27 - Added behat tests.
- 2019-09-23 - Add admin setting to check availability on list of static pages or not - Credits to Arief Wibowo.
- 2019-08-05 - Prepare compatibility for Moodle 3.7.
v3.6-r1
- 2019-01-22 - Check compatibility for Moodle 3.6, no functionality change.
- 2018-12-05 - Changed travis.yml due to upstream changes.
v3.5-r2
- 2018-09-26 - Bugfix: Forcing apache rewrite wasn't possible for Moodle installations in subdirectories.
v3.5-r1
- 2018-06-29 - Check compatibility for Moodle 3.5, no functionality change.
v3.4-r2
- 2018-05-16 - Implement Privacy API.
v3.4-r1
- 2017-12-14 - Check compatibility for Moodle 3.4, no functionality change.
- 2017-12-05 - Added Workaround to travis.yml for fixing Behat tests with TravisCI.
v3.3-r1
- 2017-11-23 - Check compatibility for Moodle 3.3, no functionality change.
- 2017-11-08 - Updated travis.yml to use newer node version for fixing TravisCI error.
v3.2-r9
- 2017-09-22 - Bugfix: Boost seems not to process filters for our breadcrumb element anymore
v3.2-r8
- 2017-09-13 - Escape proposed HTML structure and Apache configuration in README
- 2017-09-13 - Escape HTML code in language pack - Credits to Carson Tam
v3.2-r7
- 2017-05-29 - Add Travis CI support
v3.2-r6
- 2017-05-05 - Improve README.md
- 2017-02-15 - Minor code improvement, no functionality change
v3.2-r5
- 2017-01-27 - Automatically rename htm files to html - Credits to Andrew Hancox
v3.2-r4
- 2017-01-12 - Move Changelog from README.md to CHANGES.md
v3.2-r3
- 2017-01-12 - Check compatibility for Moodle 3.2, no functionality change
- 2017-01-12 - Re-add the list of available static pages
- 2017-01-11 - Improve README
v3.2-r2
- Internal release
v3.2-r1
- Internal release
v3.1-r2
- 2016-07-21 - Move the plugin's settings page to Site Administration -> Static Pages because this is where it logically belongs to
v3.1-r1
- 2016-07-19 - Check compatibility for Moodle 3.1, no functionality change
Changes before v3.1
- 2016-05-09 - Add settings to control if filters are processed and if the HTML code is cleaned on a static page or not
- 2016-04-07 - Add a setting to control if a static page should be shown to visitors or not
- 2016-02-10 - Add a new filearea to save the document files within Moodle - This change might break backwards compatibility in some situations, please read the "Upgrading from previous versions" below
- 2016-02-10 - Change plugin version and release scheme to the scheme promoted by moodle.org, no functionality change
- 2016-01-25 - Improve RewriteRules in README, no functionality change - Credits to Daniel Ruf
- 2016-01-01 - Check compatibility for Moodle 3.0, no functionality change
- 2015-08-18 - Check compatibility for Moodle 2.9, no functionality change
- 2015-01-23 - Check compatibility for Moodle 2.8, no functionality change
- 2014-08-19 - Add possibility to use a
<style>tag in the HTML code of static page files - 2014-06-30 - Add plugin's name as prefix to function names
- 2014-06-30 - Check compatibility for Moodle 2.7, no functionality change
- 2014-01-31 - Add description how to add blocks to static pages
- 2014-01-31 - Extend valid URLs to alphanumeric characters (no numbers were allowed before)
- 2014-01-31 - Require login if Moodle is configured to force login - Credits to toby saunders
- 2014-01-31 - Check compatibility for Moodle 2.6, no functionality change
- 2013-10-25 - Remove support for 'staticpage' pagelayout because of problems with Bootstrap-based themes. local_staticpage uses 'standard' pagelayout now. Please check your CSS cascades if you have styled static pages in any special way.
- 2013-09-02 - Check availability of static page directly on settings page, show error if page isn't downloadable
- 2013-09-02 - Add an option to set the data source of document title, document heading and breadcrumb item title
- 2013-08-08 - Improve README
- 2013-07-30 - Transfer Github repository from github.com/abias/... to github.com/moodleuulm/...; Please update your Git paths if necessary
- 2013-07-30 - Check compatibility for Moodle 2.5, no functionality change
- 2013-07-23 - Extend valid URLs with "_-" characters
- 2013-04-23 - Fix problems on windows systems
- 2013-04-22 - Bugfix: Language switcher didn't work anymore on a static page
- 2013-03-22 - Bugfix: Static page wouldn't show even if everything was configured correctly; Please notice that apache rewrite rule has changed
- 2013-03-18 - Code cleanup according to moodle codechecker
- 2013-02-18 - Check compatibility for Moodle 2.4, fix language string names to comply with language string name convention
- 2013-01-21 - Fix a flaw in README file regarding filename examples
- 2013-01-21 - Fix a flaw in README file regarding Apache mod_rewrite
- 2013-01-21 - Migrate plugin settings from config.php to a settings page within Moodle
- 2012-09-26 - Replace deprecated get_context_instance function
- 2012-06-25 - Update version.php for Moodle 2.3
- 2012-06-01 - Initial version
v3.9-r5 (2021010603)
v3.9-r5
Plugin type: Local plugins
Frankenstyle component name: local_staticpage
Version build number: 2021010603
Version release name: v3.9-r5
Maturity: Stable
Supported Moodle versions: 3.9
Repository URL (Git): https://github.com/moodle-an-hochschulen/moodle-local_staticpage
Repository branch:
Repository tag: v3.9-r5
Issue/bug tracker URL: https://github.com/moodle-an-hochschulen/moodle-local_staticpage/issues
moodle-local_staticpage
Changes
v3.9-r5
- 2022-07-11 - Bugfix: Static page was crippled if the HTML code did not contain a plain body tag, solves #64 and several older issues.
- 2022-07-11 - Add links to README to the language pack, solves #61
- 2022-07-10 - Add Visual checks section to UPGRADE.md
v3.9-r4
- 2022-06-26 - Make codechecker happy again
- 2022-06-26 - Updated Moodle Plugin CI to latest upstream recommendations
- 2022-06-26 - Add UPGRADE.md as internal upgrade documentation
- 2022-06-26 - Update maintainers and copyrights in README.md.
v3.9-r3
- 2021-08-28 - Feature: Add a body class which contains the page name of the static page shown
- 2021-08-28 - Bugfix: Fix incorrect setting defaults when installing the plugin - Thanks to Davo Smith
- 2021-08-28 - Replace the deprecated print_error() function with a Moodle exception
- 2021-08-28 - Feature: Allow non-admins to manage static page documents by introducing the local/staticpage:managedocuments capability
- 2021-02-05 - Move Moodle Plugin CI from Travis CI to Github actions
v3.9-r2
- 2021-01-06 - Change in Moodle release support:
For the time being, this plugin is maintained for the most recent LTS release of Moodle as well as the most recent major release of Moodle.
Bugfixes are backported to the LTS release. However, new features and improvements are not necessarily backported to the LTS release. - 2021-01-06 - Improvement: Declare which major stable version of Moodle this plugin supports (see MDL-59562 for details).
v3.9-r1
- 2020-11-25 - Improvement: Improve require_once calls which require the plugin's library - Credits to Antoni Bertran.
- 2020-11-25 - Prepare compatibility for Moodle 3.9.
v3.8-r1
- 2020-02-14 - Prepare compatibility for Moodle 3.8.
- 2019-12-18 - Improved behat test for fileupload because MDL-60975 was fixed.
PLEASE NOTE: For all scenarios to pass, the Moodle version 3.7.3+ (Build: 20191212) is needed.
v3.7-r2
- 2019-12-12 - Bugfix: List of static pages link broken when moodle is installed in subdirectory - Credits to wuzhuoqing.
- 2019-10-24 - Improvement: Add @_file_upload tag to fix failing behat tests.
v3.7-r1
- 2019-09-27 - Added behat tests.
- 2019-09-23 - Add admin setting to check availability on list of static pages or not - Credits to Arief Wibowo.
- 2019-08-05 - Prepare compatibility for Moodle 3.7.
v3.6-r1
- 2019-01-22 - Check compatibility for Moodle 3.6, no functionality change.
- 2018-12-05 - Changed travis.yml due to upstream changes.
v3.5-r2
- 2018-09-26 - Bugfix: Forcing apache rewrite wasn't possible for Moodle installations in subdirectories.
v3.5-r1
- 2018-06-29 - Check compatibility for Moodle 3.5, no functionality change.
v3.4-r2
- 2018-05-16 - Implement Privacy API.
v3.4-r1
- 2017-12-14 - Check compatibility for Moodle 3.4, no functionality change.
- 2017-12-05 - Added Workaround to travis.yml for fixing Behat tests with TravisCI.
v3.3-r1
- 2017-11-23 - Check compatibility for Moodle 3.3, no functionality change.
- 2017-11-08 - Updated travis.yml to use newer node version for fixing TravisCI error.
v3.2-r9
- 2017-09-22 - Bugfix: Boost seems not to process filters for our breadcrumb element anymore
v3.2-r8
- 2017-09-13 - Escape proposed HTML structure and Apache configuration in README
- 2017-09-13 - Escape HTML code in language pack - Credits to Carson Tam
v3.2-r7
- 2017-05-29 - Add Travis CI support
v3.2-r6
- 2017-05-05 - Improve README.md
- 2017-02-15 - Minor code improvement, no functionality change
v3.2-r5
- 2017-01-27 - Automatically rename htm files to html - Credits to Andrew Hancox
v3.2-r4
- 2017-01-12 - Move Changelog from README.md to CHANGES.md
v3.2-r3
- 2017-01-12 - Check compatibility for Moodle 3.2, no functionality change
- 2017-01-12 - Re-add the list of available static pages
- 2017-01-11 - Improve README
v3.2-r2
- Internal release
v3.2-r1
- Internal release
v3.1-r2
- 2016-07-21 - Move the plugin's settings page to Site Administration -> Static Pages because this is where it logically belongs to
v3.1-r1
- 2016-07-19 - Check compatibility for Moodle 3.1, no functionality change
Changes before v3.1
- 2016-05-09 - Add settings to control if filters are processed and if the HTML code is cleaned on a static page or not
- 2016-04-07 - Add a setting to control if a static page should be shown to visitors or not
- 2016-02-10 - Add a new filearea to save the document files within Moodle - This change might break backwards compatibility in some situations, please read the "Upgrading from previous versions" below
- 2016-02-10 - Change plugin version and release scheme to the scheme promoted by moodle.org, no functionality change
- 2016-01-25 - Improve RewriteRules in README, no functionality change - Credits to Daniel Ruf
- 2016-01-01 - Check compatibility for Moodle 3.0, no functionality change
- 2015-08-18 - Check compatibility for Moodle 2.9, no functionality change
- 2015-01-23 - Check compatibility for Moodle 2.8, no functionality change
- 2014-08-19 - Add possibility to use a
<style>tag in the HTML code of static page files - 2014-06-30 - Add plugin's name as prefix to function names
- 2014-06-30 - Check compatibility for Moodle 2.7, no functionality change
- 2014-01-31 - Add description how to add blocks to static pages
- 2014-01-31 - Extend valid URLs to alphanumeric characters (no numbers were allowed before)
- 2014-01-31 - Require login if Moodle is configured to force login - Credits to toby saunders
- 2014-01-31 - Check compatibility for Moodle 2.6, no functionality change
- 2013-10-25 - Remove support for 'staticpage' pagelayout because of problems with Bootstrap-based themes. local_staticpage uses 'standard' pagelayout now. Please check your CSS cascades if you have styled static pages in any special way.
- 2013-09-02 - Check availability of static page directly on settings page, show error if page isn't downloadable
- 2013-09-02 - Add an option to set the data source of document title, document heading and breadcrumb item title
- 2013-08-08 - Improve README
- 2013-07-30 - Transfer Github repository from github.com/abias/... to github.com/moodleuulm/...; Please update your Git paths if necessary
- 2013-07-30 - Check compatibility for Moodle 2.5, no functionality change
- 2013-07-23 - Extend valid URLs with "_-" characters
- 2013-04-23 - Fix problems on windows systems
- 2013-04-22 - Bugfix: Language switcher didn't work anymore on a static page
- 2013-03-22 - Bugfix: Static page wouldn't show even if everything was configured correctly; Please notice that apache rewrite rule has changed
- 2013-03-18 - Code cleanup according to moodle codechecker
- 2013-02-18 - Check compatibility for Moodle 2.4, fix language string names to comply with language string name convention
- 2013-01-21 - Fix a flaw in README file regarding filename examples
- 2013-01-21 - Fix a flaw in README file regarding Apache mod_rewrite
- 2013-01-21 - Migrate plugin settings from config.php to a settings page within Moodle
- 2012-09-26 - Replace deprecated get_context_instance function
- 2012-06-25 - Update version.php for Moodle 2.3
- 2012-06-01 - Initial version
v3.10-r4 (2021010903)
v3.10-r4
Plugin type: Local plugins
Frankenstyle component name: local_staticpage
Version build number: 2021010903
Version release name: v3.10-r4
Maturity: Stable
Supported Moodle versions: 3.10
Repository URL (Git): https://github.com/moodle-an-hochschulen/moodle-local_staticpage
Repository branch:
Repository tag: v3.10-r4
Issue/bug tracker URL: https://github.com/moodle-an-hochschulen/moodle-local_staticpage/issues
moodle-local_staticpage
Changes
v3.10-r4
- 2022-07-11 - Bugfix: Static page was crippled if the HTML code did not contain a plain body tag, solves #64 and several older issues.
- 2022-07-11 - Add links to README to the language pack, solves #61
- 2022-07-10 - Add Visual checks section to UPGRADE.md
v3.10-r3
- 2022-06-26 - Make codechecker happy again
- 2022-06-26 - Updated Moodle Plugin CI to latest upstream recommendations
- 2022-06-26 - Add UPGRADE.md as internal upgrade documentation
- 2022-06-26 - Update maintainers and copyrights in README.md.
v3.10-r2
- 2021-08-28 - Feature: Add a body class which contains the page name of the static page shown
- 2021-08-28 - Bugfix: Fix incorrect setting defaults when installing the plugin - Thanks to Davo Smith
- 2021-08-28 - Replace the deprecated print_error() function with a Moodle exception
- 2021-08-28 - Feature: Allow non-admins to manage static page documents by introducing the local/staticpage:managedocuments capability
- 2021-02-05 - Move Moodle Plugin CI from Travis CI to Github actions
v3.10-r1
- 2021-01-09 - Change Bootstrap labels to badges to comply with Bootstrap 4 standards
- 2021-01-09 - Fix a small language pack flaw for the admin setting page.
- 2021-01-09 - Prepare compatibility for Moodle 3.10.
- 2021-01-06 - Change in Moodle release support:
For the time being, this plugin is maintained for the most recent LTS release of Moodle as well as the most recent major release of Moodle.
Bugfixes are backported to the LTS release. However, new features and improvements are not necessarily backported to the LTS release. - 2021-01-06 - Improvement: Declare which major stable version of Moodle this plugin supports (see MDL-59562 for details).
v3.9-r1
- 2020-11-25 - Improvement: Improve require_once calls which require the plugin's library - Credits to Antoni Bertran.
- 2020-11-25 - Prepare compatibility for Moodle 3.9.
v3.8-r1
- 2020-02-14 - Prepare compatibility for Moodle 3.8.
- 2019-12-18 - Improved behat test for fileupload because MDL-60975 was fixed.
PLEASE NOTE: For all scenarios to pass, the Moodle version 3.7.3+ (Build: 20191212) is needed.
v3.7-r2
- 2019-12-12 - Bugfix: List of static pages link broken when moodle is installed in subdirectory - Credits to wuzhuoqing.
- 2019-10-24 - Improvement: Add @_file_upload tag to fix failing behat tests.
v3.7-r1
- 2019-09-27 - Added behat tests.
- 2019-09-23 - Add admin setting to check availability on list of static pages or not - Credits to Arief Wibowo.
- 2019-08-05 - Prepare compatibility for Moodle 3.7.
v3.6-r1
- 2019-01-22 - Check compatibility for Moodle 3.6, no functionality change.
- 2018-12-05 - Changed travis.yml due to upstream changes.
v3.5-r2
- 2018-09-26 - Bugfix: Forcing apache rewrite wasn't possible for Moodle installations in subdirectories.
v3.5-r1
- 2018-06-29 - Check compatibility for Moodle 3.5, no functionality change.
v3.4-r2
- 2018-05-16 - Implement Privacy API.
v3.4-r1
- 2017-12-14 - Check compatibility for Moodle 3.4, no functionality change.
- 2017-12-05 - Added Workaround to travis.yml for fixing Behat tests with TravisCI.
v3.3-r1
- 2017-11-23 - Check compatibility for Moodle 3.3, no functionality change.
- 2017-11-08 - Updated travis.yml to use newer node version for fixing TravisCI error.
v3.2-r9
- 2017-09-22 - Bugfix: Boost seems not to process filters for our breadcrumb element anymore
v3.2-r8
- 2017-09-13 - Escape proposed HTML structure and Apache configuration in README
- 2017-09-13 - Escape HTML code in language pack - Credits to Carson Tam
v3.2-r7
- 2017-05-29 - Add Travis CI support
v3.2-r6
- 2017-05-05 - Improve README.md
- 2017-02-15 - Minor code improvement, no functionality change
v3.2-r5
- 2017-01-27 - Automatically rename htm files to html - Credits to Andrew Hancox
v3.2-r4
- 2017-01-12 - Move Changelog from README.md to CHANGES.md
v3.2-r3
- 2017-01-12 - Check compatibility for Moodle 3.2, no functionality change
- 2017-01-12 - Re-add the list of available static pages
- 2017-01-11 - Improve README
v3.2-r2
- Internal release
v3.2-r1
- Internal release
v3.1-r2
- 2016-07-21 - Move the plugin's settings page to Site Administration -> Static Pages because this is where it logically belongs to
v3.1-r1
- 2016-07-19 - Check compatibility for Moodle 3.1, no functionality change
Changes before v3.1
- 2016-05-09 - Add settings to control if filters are processed and if the HTML code is cleaned on a static page or not
- 2016-04-07 - Add a setting to control if a static page should be shown to visitors or not
- 2016-02-10 - Add a new filearea to save the document files within Moodle - This change might break backwards compatibility in some situations, please read the "Upgrading from previous versions" below
- 2016-02-10 - Change plugin version and release scheme to the scheme promoted by moodle.org, no functionality change
- 2016-01-25 - Improve RewriteRules in README, no functionality change - Credits to Daniel Ruf
- 2016-01-01 - Check compatibility for Moodle 3.0, no functionality change
- 2015-08-18 - Check compatibility for Moodle 2.9, no functionality change
- 2015-01-23 - Check compatibility for Moodle 2.8, no functionality change
- 2014-08-19 - Add possibility to use a
<style>tag in the HTML code of static page files - 2014-06-30 - Add plugin's name as prefix to function names
- 2014-06-30 - Check compatibility for Moodle 2.7, no functionality change
- 2014-01-31 - Add description how to add blocks to static pages
- 2014-01-31 - Extend valid URLs to alphanumeric characters (no numbers were allowed before)
- 2014-01-31 - Require login if Moodle is configured to force login - Credits to toby saunders
- 2014-01-31 - Check compatibility for Moodle 2.6, no functionality change
- 2013-10-25 - Remove support for 'staticpage' pagelayout because of problems with Bootstrap-based themes. local_staticpage uses 'standard' pagelayout now. Please check your CSS cascades if you have styled static pages in any special way.
- 2013-09-02 - Check availability of static page directly on settings page, show error if page isn't downloadable
- 2013-09-02 - Add an option to set the data source of document title, document heading and breadcrumb item title
- 2013-08-08 - Improve README
- 2013-07-30 - Transfer Github repository from github.com/abias/... to github.com/moodleuulm/...; Please update your Git paths if necessary
- 2013-07-30 - Check compatibility for Moodle 2.5, no functionality change
- 2013-07-23 - Extend valid URLs with "_-" characters
- 2013-04-23 - Fix problems on windows systems
- 2013-04-22 - Bugfix: Language switcher didn't work anymore on a static page
- 2013-03-22 - Bugfix: Static page wouldn't show even if everything was configured correctly; Please notice that apache rewrite rule has changed
- 2013-03-18 - Code cleanup according to moodle codechecker
- 2013-02-18 - Check compatibility for Moodle 2.4, fix language string names to comply with language string name convention
- 2013-01-21 - Fix a flaw in README file regarding filename examples
- 2013-01-21 - Fix a flaw in README file regarding Apache mod_rewrite
- 2013-01-21 - Migrate plugin settings from config.php to a settings page within Moodle
- 2012-09-26 - Replace deprecated get_context_instance function
- 2012-06-25 - Update version.php for Moodle 2.3
- 2012-06-01 - Initial version
v3.11-r3 (2021120802)
v3.11-r3
Plugin type: Local plugins
Frankenstyle component name: local_staticpage
Version build number: 2021120802
Version release name: v3.11-r3
Maturity: Stable
Supported Moodle versions: 3.11
Repository URL (Git): https://github.com/moodle-an-hochschulen/moodle-local_staticpage
Repository branch:
Repository tag: v3.11-r3
Issue/bug tracker URL: https://github.com/moodle-an-hochschulen/moodle-local_staticpage/issues
moodle-local_staticpage
Changes
v3.11-r3
- 2022-07-11 - Bugfix: Static page was crippled if the HTML code did not contain a plain body tag, solves #64 and several older issues.
- 2022-07-11 - Add links to README to the language pack, solves #61
- 2022-07-10 - Add Visual checks section to UPGRADE.md
v3.11-r2
- 2022-06-26 - Make codechecker happy again
- 2022-06-26 - Updated Moodle Plugin CI to latest upstream recommendations
- 2022-06-26 - Add UPGRADE.md as internal upgrade documentation
- 2022-06-26 - Update maintainers and copyrights in README.md.
v3.11-r1
- 2021-12-08 - Prepare compatibility for Moodle 3.11.
v3.10-r2
- 2021-08-28 - Feature: Add a body class which contains the page name of the static page shown
- 2021-08-28 - Bugfix: Fix incorrect setting defaults when installing the plugin - Thanks to Davo Smith
- 2021-08-28 - Replace the deprecated print_error() function with a Moodle exception
- 2021-08-28 - Feature: Allow non-admins to manage static page documents by introducing the local/staticpage:managedocuments capability
- 2021-02-05 - Move Moodle Plugin CI from Travis CI to Github actions
v3.10-r1
- 2021-01-09 - Change Bootstrap labels to badges to comply with Bootstrap 4 standards
- 2021-01-09 - Fix a small language pack flaw for the admin setting page.
- 2021-01-09 - Prepare compatibility for Moodle 3.10.
- 2021-01-06 - Change in Moodle release support:
For the time being, this plugin is maintained for the most recent LTS release of Moodle as well as the most recent major release of Moodle.
Bugfixes are backported to the LTS release. However, new features and improvements are not necessarily backported to the LTS release. - 2021-01-06 - Improvement: Declare which major stable version of Moodle this plugin supports (see MDL-59562 for details).
v3.9-r1
- 2020-11-25 - Improvement: Improve require_once calls which require the plugin's library - Credits to Antoni Bertran.
- 2020-11-25 - Prepare compatibility for Moodle 3.9.
v3.8-r1
- 2020-02-14 - Prepare compatibility for Moodle 3.8.
- 2019-12-18 - Improved behat test for fileupload because MDL-60975 was fixed.
PLEASE NOTE: For all scenarios to pass, the Moodle version 3.7.3+ (Build: 20191212) is needed.
v3.7-r2
- 2019-12-12 - Bugfix: List of static pages link broken when moodle is installed in subdirectory - Credits to wuzhuoqing.
- 2019-10-24 - Improvement: Add @_file_upload tag to fix failing behat tests.
v3.7-r1
- 2019-09-27 - Added behat tests.
- 2019-09-23 - Add admin setting to check availability on list of static pages or not - Credits to Arief Wibowo.
- 2019-08-05 - Prepare compatibility for Moodle 3.7.
v3.6-r1
- 2019-01-22 - Check compatibility for Moodle 3.6, no functionality change.
- 2018-12-05 - Changed travis.yml due to upstream changes.
v3.5-r2
- 2018-09-26 - Bugfix: Forcing apache rewrite wasn't possible for Moodle installations in subdirectories.
v3.5-r1
- 2018-06-29 - Check compatibility for Moodle 3.5, no functionality change.
v3.4-r2
- 2018-05-16 - Implement Privacy API.
v3.4-r1
- 2017-12-14 - Check compatibility for Moodle 3.4, no functionality change.
- 2017-12-05 - Added Workaround to travis.yml for fixing Behat tests with TravisCI.
v3.3-r1
- 2017-11-23 - Check compatibility for Moodle 3.3, no functionality change.
- 2017-11-08 - Updated travis.yml to use newer node version for fixing TravisCI error.
v3.2-r9
- 2017-09-22 - Bugfix: Boost seems not to process filters for our breadcrumb element anymore
v3.2-r8
- 2017-09-13 - Escape proposed HTML structure and Apache configuration in README
- 2017-09-13 - Escape HTML code in language pack - Credits to Carson Tam
v3.2-r7
- 2017-05-29 - Add Travis CI support
v3.2-r6
- 2017-05-05 - Improve README.md
- 2017-02-15 - Minor code improvement, no functionality change
v3.2-r5
- 2017-01-27 - Automatically rename htm files to html - Credits to Andrew Hancox
v3.2-r4
- 2017-01-12 - Move Changelog from README.md to CHANGES.md
v3.2-r3
- 2017-01-12 - Check compatibility for Moodle 3.2, no functionality change
- 2017-01-12 - Re-add the list of available static pages
- 2017-01-11 - Improve README
v3.2-r2
- Internal release
v3.2-r1
- Internal release
v3.1-r2
- 2016-07-21 - Move the plugin's settings page to Site Administration -> Static Pages because this is where it logically belongs to
v3.1-r1
- 2016-07-19 - Check compatibility for Moodle 3.1, no functionality change
Changes before v3.1
- 2016-05-09 - Add settings to control if filters are processed and if the HTML code is cleaned on a static page or not
- 2016-04-07 - Add a setting to control if a static page should be shown to visitors or not
- 2016-02-10 - Add a new filearea to save the document files within Moodle - This change might break backwards compatibility in some situations, please read the "Upgrading from previous versions" below
- 2016-02-10 - Change plugin version and release scheme to the scheme promoted by moodle.org, no functionality change
- 2016-01-25 - Improve RewriteRules in README, no functionality change - Credits to Daniel Ruf
- 2016-01-01 - Check compatibility for Moodle 3.0, no functionality change
- 2015-08-18 - Check compatibility for Moodle 2.9, no functionality change
- 2015-01-23 - Check compatibility for Moodle 2.8, no functionality change
- 2014-08-19 - Add possibility to use a
<style>tag in the HTML code of static page files - 2014-06-30 - Add plugin's name as prefix to function names
- 2014-06-30 - Check compatibility for Moodle 2.7, no functionality change
- 2014-01-31 - Add description how to add blocks to static pages
- 2014-01-31 - Extend valid URLs to alphanumeric characters (no numbers were allowed before)
- 2014-01-31 - Require login if Moodle is configured to force login - Credits to toby saunders
- 2014-01-31 - Check compatibility for Moodle 2.6, no functionality change
- 2013-10-25 - Remove support for 'staticpage' pagelayout because of problems with Bootstrap-based themes. local_staticpage uses 'standard' pagelayout now. Please check your CSS cascades if you have styled static pages in any special way.
- 2013-09-02 - Check availability of static page directly on settings page, show error if page isn't downloadable
- 2013-09-02 - Add an option to set the data source of document title, document heading and breadcrumb item title
- 2013-08-08 - Improve README
- 2013-07-30 - Transfer Github repository from github.com/abias/... to github.com/moodleuulm/...; Please update your Git paths if necessary
- 2013-07-30 - Check compatibility for Moodle 2.5, no functionality change
- 2013-07-23 - Extend valid URLs with "_-" characters
- 2013-04-23 - Fix problems on windows systems
- 2013-04-22 - Bugfix: Language switcher didn't work anymore on a static page
- 2013-03-22 - Bugfix: Static page wouldn't show even if everything was configured correctly; Please notice that apache rewrite rule has changed
- 2013-03-18 - Code cleanup according to moodle codechecker
- 2013-02-18 - Check compatibility for Moodle 2.4, fix language string names to comply with language string name convention
- 2013-01-21 - Fix a flaw in README file regarding filename examples
- 2013-01-21 - Fix a flaw in README file regarding Apache mod_rewrite
- 2013-01-21 - Migrate plugin settings from config.php to a settings page within Moodle
- 2012-09-26 - Replace deprecated get_context_instance function
- 2012-06-25 - Update version.php for Moodle 2.3
- 2012-06-01 - Initial version
v3.8-r1 (2020021400)
v3.8-r1
Plugin type: Local plugins
Frankenstyle component name: local_staticpage
Version build number: 2020021400
Version release name: v3.8-r1
Maturity: Stable
Supported Moodle versions: 3.8
Repository URL (Git): https://github.com/moodleuulm/moodle-local_staticpage
Repository branch:
Repository tag: v3.8-r1
Issue/bug tracker URL: https://github.com/moodle-an-hochschulen/moodle-local_staticpage/issues
moodle-local_staticpage
Changes
v3.8-r1
- 2020-02-14 - Prepare compatibility for Moodle 3.8.
- 2019-12-18 - Improved behat test for fileupload because MDL-60975 was fixed.
PLEASE NOTE: For all scenarios to pass, the Moodle version 3.7.3+ (Build: 20191212) is needed.
v3.7-r2
- 2019-12-12 - Bugfix: List of static pages link broken when moodle is installed in subdirectory - Credits to wuzhuoqing.
- 2019-10-24 - Improvement: Add @_file_upload tag to fix failing behat tests.
v3.7-r1
- 2019-09-27 - Added behat tests.
- 2019-09-23 - Add admin setting to check availability on list of static pages or not - Credits to Arief Wibowo.
- 2019-08-05 - Prepare compatibility for Moodle 3.7.
v3.6-r1
- 2019-01-22 - Check compatibility for Moodle 3.6, no functionality change.
- 2018-12-05 - Changed travis.yml due to upstream changes.
v3.5-r2
- 2018-09-26 - Bugfix: Forcing apache rewrite wasn't possible for Moodle installations in subdirectories.
v3.5-r1
- 2018-06-29 - Check compatibility for Moodle 3.5, no functionality change.
v3.4-r2
- 2018-05-16 - Implement Privacy API.
v3.4-r1
- 2017-12-14 - Check compatibility for Moodle 3.4, no functionality change.
- 2017-12-05 - Added Workaround to travis.yml for fixing Behat tests with TravisCI.
v3.3-r1
- 2017-11-23 - Check compatibility for Moodle 3.3, no functionality change.
- 2017-11-08 - Updated travis.yml to use newer node version for fixing TravisCI error.
v3.2-r9
- 2017-09-22 - Bugfix: Boost seems not to process filters for our breadcrumb element anymore
v3.2-r8
- 2017-09-13 - Escape proposed HTML structure and Apache configuration in README
- 2017-09-13 - Escape HTML code in language pack - Credits to Carson Tam
v3.2-r7
- 2017-05-29 - Add Travis CI support
v3.2-r6
- 2017-05-05 - Improve README.md
- 2017-02-15 - Minor code improvement, no functionality change
v3.2-r5
- 2017-01-27 - Automatically rename htm files to html - Credits to Andrew Hancox
v3.2-r4
- 2017-01-12 - Move Changelog from README.md to CHANGES.md
v3.2-r3
- 2017-01-12 - Check compatibility for Moodle 3.2, no functionality change
- 2017-01-12 - Re-add the list of available static pages
- 2017-01-11 - Improve README
v3.2-r2
- Internal release
v3.2-r1
- Internal release
v3.1-r2
- 2016-07-21 - Move the plugin's settings page to Site Administration -> Static Pages because this is where it logically belongs to
v3.1-r1
- 2016-07-19 - Check compatibility for Moodle 3.1, no functionality change
Changes before v3.1
- 2016-05-09 - Add settings to control if filters are processed and if the HTML code is cleaned on a static page or not
- 2016-04-07 - Add a setting to control if a static page should be shown to visitors or not
- 2016-02-10 - Add a new filearea to save the document files within Moodle - This change might break backwards compatibility in some situations, please read the "Upgrading from previous versions" below
- 2016-02-10 - Change plugin version and release scheme to the scheme promoted by moodle.org, no functionality change
- 2016-01-25 - Improve RewriteRules in README, no functionality change - Credits to Daniel Ruf
- 2016-01-01 - Check compatibility for Moodle 3.0, no functionality change
- 2015-08-18 - Check compatibility for Moodle 2.9, no functionality change
- 2015-01-23 - Check compatibility for Moodle 2.8, no functionality change
- 2014-08-19 - Add possibility to use a
<style>tag in the HTML code of static page files - 2014-06-30 - Add plugin's name as prefix to function names
- 2014-06-30 - Check compatibility for Moodle 2.7, no functionality change
- 2014-01-31 - Add description how to add blocks to static pages
- 2014-01-31 - Extend valid URLs to alphanumeric characters (no numbers were allowed before)
- 2014-01-31 - Require login if Moodle is configured to force login - Credits to toby saunders
- 2014-01-31 - Check compatibility for Moodle 2.6, no functionality change
- 2013-10-25 - Remove support for 'staticpage' pagelayout because of problems with Bootstrap-based themes. local_staticpage uses 'standard' pagelayout now. Please check your CSS cascades if you have styled static pages in any special way.
- 2013-09-02 - Check availability of static page directly on settings page, show error if page isn't downloadable
- 2013-09-02 - Add an option to set the data source of document title, document heading and breadcrumb item title
- 2013-08-08 - Improve README
- 2013-07-30 - Transfer Github repository from github.com/abias/... to github.com/moodleuulm/...; Please update your Git paths if necessary
- 2013-07-30 - Check compatibility for Moodle 2.5, no functionality change
- 2013-07-23 - Extend valid URLs with "_-" characters
- 2013-04-23 - Fix problems on windows systems
- 2013-04-22 - Bugfix: Language switcher didn't work anymore on a static page
- 2013-03-22 - Bugfix: Static page wouldn't show even if everything was configured correctly; Please notice that apache rewrite rule has changed
- 2013-03-18 - Code cleanup according to moodle codechecker
- 2013-02-18 - Check compatibility for Moodle 2.4, fix language string names to comply with language string name convention
- 2013-01-21 - Fix a flaw in README file regarding filename examples
- 2013-01-21 - Fix a flaw in README file regarding Apache mod_rewrite
- 2013-01-21 - Migrate plugin settings from config.php to a settings page within Moodle
- 2012-09-26 - Replace deprecated get_context_instance function
- 2012-06-25 - Update version.php for Moodle 2.3
- 2012-06-01 - Initial version
v3.7-r2 (2019121200)
v3.7-r2
Plugin type: Local plugins
Frankenstyle component name: local_staticpage
Version build number: 2019121200
Version release name: v3.7-r2
Maturity: Stable
Supported Moodle versions: 3.7
Repository URL (Git): https://github.com/moodleuulm/moodle-local_staticpage
Repository branch:
Repository tag: v3.7-r2
Issue/bug tracker URL: https://github.com/moodle-an-hochschulen/moodle-local_staticpage/issues
moodle-local_staticpage
Changes
v3.7-r2
- 2019-12-12 - Bugfix: List of static pages link broken when moodle is installed in subdirectory - Credits to wuzhuoqing.
- 2019-10-24 - Improvement: Add @_file_upload tag to fix failing behat tests.
v3.7-r1
- 2019-09-27 - Added behat tests.
- 2019-09-23 - Add admin setting to check availability on list of static pages or not - Credits to Arief Wibowo.
- 2019-08-05 - Prepare compatibility for Moodle 3.7.
v3.6-r1
- 2019-01-22 - Check compatibility for Moodle 3.6, no functionality change.
- 2018-12-05 - Changed travis.yml due to upstream changes.
v3.5-r2
- 2018-09-26 - Bugfix: Forcing apache rewrite wasn't possible for Moodle installations in subdirectories.
v3.5-r1
- 2018-06-29 - Check compatibility for Moodle 3.5, no functionality change.
v3.4-r2
- 2018-05-16 - Implement Privacy API.
v3.4-r1
- 2017-12-14 - Check compatibility for Moodle 3.4, no functionality change.
- 2017-12-05 - Added Workaround to travis.yml for fixing Behat tests with TravisCI.
v3.3-r1
- 2017-11-23 - Check compatibility for Moodle 3.3, no functionality change.
- 2017-11-08 - Updated travis.yml to use newer node version for fixing TravisCI error.
v3.2-r9
- 2017-09-22 - Bugfix: Boost seems not to process filters for our breadcrumb element anymore
v3.2-r8
- 2017-09-13 - Escape proposed HTML structure and Apache configuration in README
- 2017-09-13 - Escape HTML code in language pack - Credits to Carson Tam
v3.2-r7
- 2017-05-29 - Add Travis CI support
v3.2-r6
- 2017-05-05 - Improve README.md
- 2017-02-15 - Minor code improvement, no functionality change
v3.2-r5
- 2017-01-27 - Automatically rename htm files to html - Credits to Andrew Hancox
v3.2-r4
- 2017-01-12 - Move Changelog from README.md to CHANGES.md
v3.2-r3
- 2017-01-12 - Check compatibility for Moodle 3.2, no functionality change
- 2017-01-12 - Re-add the list of available static pages
- 2017-01-11 - Improve README
v3.2-r2
- Internal release
v3.2-r1
- Internal release
v3.1-r2
- 2016-07-21 - Move the plugin's settings page to Site Administration -> Static Pages because this is where it logically belongs to
v3.1-r1
- 2016-07-19 - Check compatibility for Moodle 3.1, no functionality change
Changes before v3.1
- 2016-05-09 - Add settings to control if filters are processed and if the HTML code is cleaned on a static page or not
- 2016-04-07 - Add a setting to control if a static page should be shown to visitors or not
- 2016-02-10 - Add a new filearea to save the document files within Moodle - This change might break backwards compatibility in some situations, please read the "Upgrading from previous versions" below
- 2016-02-10 - Change plugin version and release scheme to the scheme promoted by moodle.org, no functionality change
- 2016-01-25 - Improve RewriteRules in README, no functionality change - Credits to Daniel Ruf
- 2016-01-01 - Check compatibility for Moodle 3.0, no functionality change
- 2015-08-18 - Check compatibility for Moodle 2.9, no functionality change
- 2015-01-23 - Check compatibility for Moodle 2.8, no functionality change
- 2014-08-19 - Add possibility to use a
<style>tag in the HTML code of static page files - 2014-06-30 - Add plugin's name as prefix to function names
- 2014-06-30 - Check compatibility for Moodle 2.7, no functionality change
- 2014-01-31 - Add description how to add blocks to static pages
- 2014-01-31 - Extend valid URLs to alphanumeric characters (no numbers were allowed before)
- 2014-01-31 - Require login if Moodle is configured to force login - Credits to toby saunders
- 2014-01-31 - Check compatibility for Moodle 2.6, no functionality change
- 2013-10-25 - Remove support for 'staticpage' pagelayout because of problems with Bootstrap-based themes. local_staticpage uses 'standard' pagelayout now. Please check your CSS cascades if you have styled static pages in any special way.
- 2013-09-02 - Check availability of static page directly on settings page, show error if page isn't downloadable
- 2013-09-02 - Add an option to set the data source of document title, document heading and breadcrumb item title
- 2013-08-08 - Improve README
- 2013-07-30 - Transfer Github repository from github.com/abias/... to github.com/moodleuulm/...; Please update your Git paths if necessary
- 2013-07-30 - Check compatibility for Moodle 2.5, no functionality change
- 2013-07-23 - Extend valid URLs with "_-" characters
- 2013-04-23 - Fix problems on windows systems
- 2013-04-22 - Bugfix: Language switcher didn't work anymore on a static page
- 2013-03-22 - Bugfix: Static page wouldn't show even if everything was configured correctly; Please notice that apache rewrite rule has changed
- 2013-03-18 - Code cleanup according to moodle codechecker
- 2013-02-18 - Check compatibility for Moodle 2.4, fix language string names to comply with language string name convention
- 2013-01-21 - Fix a flaw in README file regarding filename examples
- 2013-01-21 - Fix a flaw in README file regarding Apache mod_rewrite
- 2013-01-21 - Migrate plugin settings from config.php to a settings page within Moodle
- 2012-09-26 - Replace deprecated get_context_instance function
- 2012-06-25 - Update version.php for Moodle 2.3
- 2012-06-01 - Initial version
v3.6-r1 (2019012800)
v3.6-r1
Plugin type: Local plugins
Frankenstyle component name: local_staticpage
Version build number: 2019012800
Version release name: v3.6-r1
Maturity: Stable
Supported Moodle versions: 3.6
Repository URL (Git): https://github.com/moodleuulm/moodle-local_staticpage
Repository branch:
Repository tag: v3.6-r1
Issue/bug tracker URL: https://github.com/moodle-an-hochschulen/moodle-local_staticpage/issues
moodle-local_staticpage
Changes
v3.6-r1
- 2019-01-22 - Check compatibility for Moodle 3.6, no functionality change.
- 2018-12-05 - Changed travis.yml due to upstream changes.
v3.5-r2
- 2018-09-26 - Bugfix: Forcing apache rewrite wasn't possible for Moodle installations in subdirectories.
v3.5-r1
- 2018-06-29 - Check compatibility for Moodle 3.5, no functionality change.
v3.4-r2
- 2018-05-16 - Implement Privacy API.
v3.4-r1
- 2017-12-14 - Check compatibility for Moodle 3.4, no functionality change.
- 2017-12-05 - Added Workaround to travis.yml for fixing Behat tests with TravisCI.
v3.3-r1
- 2017-11-23 - Check compatibility for Moodle 3.3, no functionality change.
- 2017-11-08 - Updated travis.yml to use newer node version for fixing TravisCI error.
v3.2-r9
- 2017-09-22 - Bugfix: Boost seems not to process filters for our breadcrumb element anymore
v3.2-r8
- 2017-09-13 - Escape proposed HTML structure and Apache configuration in README
- 2017-09-13 - Escape HTML code in language pack - Credits to Carson Tam
v3.2-r7
- 2017-05-29 - Add Travis CI support
v3.2-r6
- 2017-05-05 - Improve README.md
- 2017-02-15 - Minor code improvement, no functionality change
v3.2-r5
- 2017-01-27 - Automatically rename htm files to html - Credits to Andrew Hancox
v3.2-r4
- 2017-01-12 - Move Changelog from README.md to CHANGES.md
v3.2-r3
- 2017-01-12 - Check compatibility for Moodle 3.2, no functionality change
- 2017-01-12 - Re-add the list of available static pages
- 2017-01-11 - Improve README
v3.2-r2
- Internal release
v3.2-r1
- Internal release
v3.1-r2
- 2016-07-21 - Move the plugin's settings page to Site Administration -> Static Pages because this is where it logically belongs to
v3.1-r1
- 2016-07-19 - Check compatibility for Moodle 3.1, no functionality change
Changes before v3.1
- 2016-05-09 - Add settings to control if filters are processed and if the HTML code is cleaned on a static page or not
- 2016-04-07 - Add a setting to control if a static page should be shown to visitors or not
- 2016-02-10 - Add a new filearea to save the document files within Moodle - This change might break backwards compatibility in some situations, please read the "Upgrading from previous versions" below
- 2016-02-10 - Change plugin version and release scheme to the scheme promoted by moodle.org, no functionality change
- 2016-01-25 - Improve RewriteRules in README, no functionality change - Credits to Daniel Ruf
- 2016-01-01 - Check compatibility for Moodle 3.0, no functionality change
- 2015-08-18 - Check compatibility for Moodle 2.9, no functionality change
- 2015-01-23 - Check compatibility for Moodle 2.8, no functionality change
- 2014-08-19 - Add possibility to use a
<style>tag in the HTML code of static page files - 2014-06-30 - Add plugin's name as prefix to function names
- 2014-06-30 - Check compatibility for Moodle 2.7, no functionality change
- 2014-01-31 - Add description how to add blocks to static pages
- 2014-01-31 - Extend valid URLs to alphanumeric characters (no numbers were allowed before)
- 2014-01-31 - Require login if Moodle is configured to force login - Credits to toby saunders
- 2014-01-31 - Check compatibility for Moodle 2.6, no functionality change
- 2013-10-25 - Remove support for 'staticpage' pagelayout because of problems with Bootstrap-based themes. local_staticpage uses 'standard' pagelayout now. Please check your CSS cascades if you have styled static pages in any special way.
- 2013-09-02 - Check availability of static page directly on settings page, show error if page isn't downloadable
- 2013-09-02 - Add an option to set the data source of document title, document heading and breadcrumb item title
- 2013-08-08 - Improve README
- 2013-07-30 - Transfer Github repository from github.com/abias/... to github.com/moodleuulm/...; Please update your Git paths if necessary
- 2013-07-30 - Check compatibility for Moodle 2.5, no functionality change
- 2013-07-23 - Extend valid URLs with "_-" characters
- 2013-04-23 - Fix problems on windows systems
- 2013-04-22 - Bugfix: Language switcher didn't work anymore on a static page
- 2013-03-22 - Bugfix: Static page wouldn't show even if everything was configured correctly; Please notice that apache rewrite rule has changed
- 2013-03-18 - Code cleanup according to moodle codechecker
- 2013-02-18 - Check compatibility for Moodle 2.4, fix language string names to comply with language string name convention
- 2013-01-21 - Fix a flaw in README file regarding filename examples
- 2013-01-21 - Fix a flaw in README file regarding Apache mod_rewrite
- 2013-01-21 - Migrate plugin settings from config.php to a settings page within Moodle
- 2012-09-26 - Replace deprecated get_context_instance function
- 2012-06-25 - Update version.php for Moodle 2.3
- 2012-06-01 - Initial version
v3.5-r2 (2018092600)
v3.5-r2
Plugin type: Local plugins
Frankenstyle component name: local_staticpage
Version build number: 2018092600
Version release name: v3.5-r2
Maturity: Stable
Supported Moodle versions: 3.5
Repository URL (Git): https://github.com/moodleuulm/moodle-local_staticpage
Repository branch:
Repository tag: v3.5-r2
Issue/bug tracker URL: https://github.com/moodle-an-hochschulen/moodle-local_staticpage/issues
moodle-local_staticpage
Changes
v3.5-r2
- 2018-09-26 - Bugfix: Forcing apache rewrite wasn't possible for Moodle installations in subdirectories.
v3.5-r1
- 2018-06-29 - Check compatibility for Moodle 3.5, no functionality change.
v3.4-r2
- 2018-05-16 - Implement Privacy API.
v3.4-r1
- 2017-12-14 - Check compatibility for Moodle 3.4, no functionality change.
- 2017-12-05 - Added Workaround to travis.yml for fixing Behat tests with TravisCI.
v3.3-r1
- 2017-11-23 - Check compatibility for Moodle 3.3, no functionality change.
- 2017-11-08 - Updated travis.yml to use newer node version for fixing TravisCI error.
v3.2-r9
- 2017-09-22 - Bugfix: Boost seems not to process filters for our breadcrumb element anymore
v3.2-r8
- 2017-09-13 - Escape proposed HTML structure and Apache configuration in README
- 2017-09-13 - Escape HTML code in language pack - Credits to Carson Tam
v3.2-r7
- 2017-05-29 - Add Travis CI support
v3.2-r6
- 2017-05-05 - Improve README.md
- 2017-02-15 - Minor code improvement, no functionality change
v3.2-r5
- 2017-01-27 - Automatically rename htm files to html - Credits to Andrew Hancox
v3.2-r4
- 2017-01-12 - Move Changelog from README.md to CHANGES.md
v3.2-r3
- 2017-01-12 - Check compatibility for Moodle 3.2, no functionality change
- 2017-01-12 - Re-add the list of available static pages
- 2017-01-11 - Improve README
v3.2-r2
- Internal release
v3.2-r1
- Internal release
v3.1-r2
- 2016-07-21 - Move the plugin's settings page to Site Administration -> Static Pages because this is where it logically belongs to
v3.1-r1
- 2016-07-19 - Check compatibility for Moodle 3.1, no functionality change
Changes before v3.1
- 2016-05-09 - Add settings to control if filters are processed and if the HTML code is cleaned on a static page or not
- 2016-04-07 - Add a setting to control if a static page should be shown to visitors or not
- 2016-02-10 - Add a new filearea to save the document files within Moodle - This change might break backwards compatibility in some situations, please read the "Upgrading from previous versions" below
- 2016-02-10 - Change plugin version and release scheme to the scheme promoted by moodle.org, no functionality change
- 2016-01-25 - Improve RewriteRules in README, no functionality change - Credits to Daniel Ruf
- 2016-01-01 - Check compatibility for Moodle 3.0, no functionality change
- 2015-08-18 - Check compatibility for Moodle 2.9, no functionality change
- 2015-01-23 - Check compatibility for Moodle 2.8, no functionality change
- 2014-08-19 - Add possibility to use a
<style>tag in the HTML code of static page files - 2014-06-30 - Add plugin's name as prefix to function names
- 2014-06-30 - Check compatibility for Moodle 2.7, no functionality change
- 2014-01-31 - Add description how to add blocks to static pages
- 2014-01-31 - Extend valid URLs to alphanumeric characters (no numbers were allowed before)
- 2014-01-31 - Require login if Moodle is configured to force login - Credits to toby saunders
- 2014-01-31 - Check compatibility for Moodle 2.6, no functionality change
- 2013-10-25 - Remove support for 'staticpage' pagelayout because of problems with Bootstrap-based themes. local_staticpage uses 'standard' pagelayout now. Please check your CSS cascades if you have styled static pages in any special way.
- 2013-09-02 - Check availability of static page directly on settings page, show error if page isn't downloadable
- 2013-09-02 - Add an option to set the data source of document title, document heading and breadcrumb item title
- 2013-08-08 - Improve README
- 2013-07-30 - Transfer Github repository from github.com/abias/... to github.com/moodleuulm/...; Please update your Git paths if necessary
- 2013-07-30 - Check compatibility for Moodle 2.5, no functionality change
- 2013-07-23 - Extend valid URLs with "_-" characters
- 2013-04-23 - Fix problems on windows systems
- 2013-04-22 - Bugfix: Language switcher didn't work anymore on a static page
- 2013-03-22 - Bugfix: Static page wouldn't show even if everything was configured correctly; Please notice that apache rewrite rule has changed
- 2013-03-18 - Code cleanup according to moodle codechecker
- 2013-02-18 - Check compatibility for Moodle 2.4, fix language string names to comply with language string name convention
- 2013-01-21 - Fix a flaw in README file regarding filename examples
- 2013-01-21 - Fix a flaw in README file regarding Apache mod_rewrite
- 2013-01-21 - Migrate plugin settings from config.php to a settings page within Moodle
- 2012-09-26 - Replace deprecated get_context_instance function
- 2012-06-25 - Update version.php for Moodle 2.3
- 2012-06-01 - Initial version
v3.4-r2 (2018051700)
v3.4-r2
Plugin type: Local plugins
Frankenstyle component name: local_staticpage
Version build number: 2018051700
Version release name: v3.4-r2
Maturity: Stable
Supported Moodle versions: 3.4
Repository URL (Git): https://github.com/moodleuulm/moodle-local_staticpage
Repository branch:
Repository tag: v3.4-r2
Issue/bug tracker URL: https://github.com/moodle-an-hochschulen/moodle-local_staticpage/issues
moodle-local_staticpage
Changes
v3.4-r2
- 2018-05-16 - Implement Privacy API.
v3.4-r1
- 2017-12-14 - Check compatibility for Moodle 3.4, no functionality change.
- 2017-12-05 - Added Workaround to travis.yml for fixing Behat tests with TravisCI.
v3.3-r1
- 2017-11-23 - Check compatibility for Moodle 3.3, no functionality change.
- 2017-11-08 - Updated travis.yml to use newer node version for fixing TravisCI error.
v3.2-r9
- 2017-09-22 - Bugfix: Boost seems not to process filters for our breadcrumb element anymore
v3.2-r8
- 2017-09-13 - Escape proposed HTML structure and Apache configuration in README
- 2017-09-13 - Escape HTML code in language pack - Credits to Carson Tam
v3.2-r7
- 2017-05-29 - Add Travis CI support
v3.2-r6
- 2017-05-05 - Improve README.md
- 2017-02-15 - Minor code improvement, no functionality change
v3.2-r5
- 2017-01-27 - Automatically rename htm files to html - Credits to Andrew Hancox
v3.2-r4
- 2017-01-12 - Move Changelog from README.md to CHANGES.md
v3.2-r3
- 2017-01-12 - Check compatibility for Moodle 3.2, no functionality change
- 2017-01-12 - Re-add the list of available static pages
- 2017-01-11 - Improve README
v3.2-r2
- Internal release
v3.2-r1
- Internal release
v3.1-r2
- 2016-07-21 - Move the plugin's settings page to Site Administration -> Static Pages because this is where it logically belongs to
v3.1-r1
- 2016-07-19 - Check compatibility for Moodle 3.1, no functionality change
Changes before v3.1
- 2016-05-09 - Add settings to control if filters are processed and if the HTML code is cleaned on a static page or not
- 2016-04-07 - Add a setting to control if a static page should be shown to visitors or not
- 2016-02-10 - Add a new filearea to save the document files within Moodle - This change might break backwards compatibility in some situations, please read the "Upgrading from previous versions" below
- 2016-02-10 - Change plugin version and release scheme to the scheme promoted by moodle.org, no functionality change
- 2016-01-25 - Improve RewriteRules in README, no functionality change - Credits to Daniel Ruf
- 2016-01-01 - Check compatibility for Moodle 3.0, no functionality change
- 2015-08-18 - Check compatibility for Moodle 2.9, no functionality change
- 2015-01-23 - Check compatibility for Moodle 2.8, no functionality change
- 2014-08-19 - Add possibility to use a
<style>tag in the HTML code of static page files - 2014-06-30 - Add plugin's name as prefix to function names
- 2014-06-30 - Check compatibility for Moodle 2.7, no functionality change
- 2014-01-31 - Add description how to add blocks to static pages
- 2014-01-31 - Extend valid URLs to alphanumeric characters (no numbers were allowed before)
- 2014-01-31 - Require login if Moodle is configured to force login - Credits to toby saunders
- 2014-01-31 - Check compatibility for Moodle 2.6, no functionality change
- 2013-10-25 - Remove support for 'staticpage' pagelayout because of problems with Bootstrap-based themes. local_staticpage uses 'standard' pagelayout now. Please check your CSS cascades if you have styled static pages in any special way.
- 2013-09-02 - Check availability of static page directly on settings page, show error if page isn't downloadable
- 2013-09-02 - Add an option to set the data source of document title, document heading and breadcrumb item title
- 2013-08-08 - Improve README
- 2013-07-30 - Transfer Github repository from github.com/abias/... to github.com/moodleuulm/...; Please update your Git paths if necessary
- 2013-07-30 - Check compatibility for Moodle 2.5, no functionality change
- 2013-07-23 - Extend valid URLs with "_-" characters
- 2013-04-23 - Fix problems on windows systems
- 2013-04-22 - Bugfix: Language switcher didn't work anymore on a static page
- 2013-03-22 - Bugfix: Static page wouldn't show even if everything was configured correctly; Please notice that apache rewrite rule has changed
- 2013-03-18 - Code cleanup according to moodle codechecker
- 2013-02-18 - Check compatibility for Moodle 2.4, fix language string names to comply with language string name convention
- 2013-01-21 - Fix a flaw in README file regarding filename examples
- 2013-01-21 - Fix a flaw in README file regarding Apache mod_rewrite
- 2013-01-21 - Migrate plugin settings from config.php to a settings page within Moodle
- 2012-09-26 - Replace deprecated get_context_instance function
- 2012-06-25 - Update version.php for Moodle 2.3
- 2012-06-01 - Initial version
v3.3-r1 (2017112300)
v3.3-r1
Plugin type: Local plugins
Frankenstyle component name: local_staticpage
Version build number: 2017112300
Version release name: v3.3-r1
Maturity: Stable
Supported Moodle versions: 3.3
Repository URL (Git): https://github.com/moodleuulm/moodle-local_staticpage
Repository branch:
Repository tag: v3.3-r1
Issue/bug tracker URL: https://github.com/moodle-an-hochschulen/moodle-local_staticpage/issues
moodle-local_staticpage
Changes
v3.3-r1
- 2017-11-23 - Check compatibility for Moodle 3.3, no functionality change.
- 2017-11-08 - Updated travis.yml to use newer node version for fixing TravisCI error.
v3.2-r9
- 2017-09-22 - Bugfix: Boost seems not to process filters for our breadcrumb element anymore
v3.2-r8
- 2017-09-13 - Escape proposed HTML structure and Apache configuration in README
- 2017-09-13 - Escape HTML code in language pack - Credits to Carson Tam
v3.2-r7
- 2017-05-29 - Add Travis CI support
v3.2-r6
- 2017-05-05 - Improve README.md
- 2017-02-15 - Minor code improvement, no functionality change
v3.2-r5
- 2017-01-27 - Automatically rename htm files to html - Credits to Andrew Hancox
v3.2-r4
- 2017-01-12 - Move Changelog from README.md to CHANGES.md
v3.2-r3
- 2017-01-12 - Check compatibility for Moodle 3.2, no functionality change
- 2017-01-12 - Re-add the list of available static pages
- 2017-01-11 - Improve README
v3.2-r2
- Internal release
v3.2-r1
- Internal release
v3.1-r2
- 2016-07-21 - Move the plugin's settings page to Site Administration -> Static Pages because this is where it logically belongs to
v3.1-r1
- 2016-07-19 - Check compatibility for Moodle 3.1, no functionality change
Changes before v3.1
- 2016-05-09 - Add settings to control if filters are processed and if the HTML code is cleaned on a static page or not
- 2016-04-07 - Add a setting to control if a static page should be shown to visitors or not
- 2016-02-10 - Add a new filearea to save the document files within Moodle - This change might break backwards compatibility in some situations, please read the "Upgrading from previous versions" below
- 2016-02-10 - Change plugin version and release scheme to the scheme promoted by moodle.org, no functionality change
- 2016-01-25 - Improve RewriteRules in README, no functionality change - Credits to Daniel Ruf
- 2016-01-01 - Check compatibility for Moodle 3.0, no functionality change
- 2015-08-18 - Check compatibility for Moodle 2.9, no functionality change
- 2015-01-23 - Check compatibility for Moodle 2.8, no functionality change
- 2014-08-19 - Add possibility to use a
<style>tag in the HTML code of static page files - 2014-06-30 - Add plugin's name as prefix to function names
- 2014-06-30 - Check compatibility for Moodle 2.7, no functionality change
- 2014-01-31 - Add description how to add blocks to static pages
- 2014-01-31 - Extend valid URLs to alphanumeric characters (no numbers were allowed before)
- 2014-01-31 - Require login if Moodle is configured to force login - Credits to toby saunders
- 2014-01-31 - Check compatibility for Moodle 2.6, no functionality change
- 2013-10-25 - Remove support for 'staticpage' pagelayout because of problems with Bootstrap-based themes. local_staticpage uses 'standard' pagelayout now. Please check your CSS cascades if you have styled static pages in any special way.
- 2013-09-02 - Check availability of static page directly on settings page, show error if page isn't downloadable
- 2013-09-02 - Add an option to set the data source of document title, document heading and breadcrumb item title
- 2013-08-08 - Improve README
- 2013-07-30 - Transfer Github repository from github.com/abias/... to github.com/moodleuulm/...; Please update your Git paths if necessary
- 2013-07-30 - Check compatibility for Moodle 2.5, no functionality change
- 2013-07-23 - Extend valid URLs with "_-" characters
- 2013-04-23 - Fix problems on windows systems
- 2013-04-22 - Bugfix: Language switcher didn't work anymore on a static page
- 2013-03-22 - Bugfix: Static page wouldn't show even if everything was configured correctly; Please notice that apache rewrite rule has changed
- 2013-03-18 - Code cleanup according to moodle codechecker
- 2013-02-18 - Check compatibility for Moodle 2.4, fix language string names to comply with language string name convention
- 2013-01-21 - Fix a flaw in README file regarding filename examples
- 2013-01-21 - Fix a flaw in README file regarding Apache mod_rewrite
- 2013-01-21 - Migrate plugin settings from config.php to a settings page within Moodle
- 2012-09-26 - Replace deprecated get_context_instance function
- 2012-06-25 - Update version.php for Moodle 2.3
- 2012-06-01 - Initial version
v3.2-r9 (2017092900)
v3.2-r9
Plugin type: Local plugins
Frankenstyle component name: local_staticpage
Version build number: 2017092900
Version release name: v3.2-r9
Maturity: Stable
Supported Moodle versions: 3.2
Repository URL (Git): https://github.com/moodleuulm/moodle-local_staticpage
Repository branch:
Repository tag: v3.2-r9
Issue/bug tracker URL: https://github.com/moodle-an-hochschulen/moodle-local_staticpage/issues
moodle-local_staticpage
Changes
v3.2-r9
- 2017-09-22 - Bugfix: Boost seems not to process filters for our breadcrumb element anymore
v3.2-r8
- 2017-09-13 - Escape proposed HTML structure and Apache configuration in README
- 2017-09-13 - Escape HTML code in language pack - Credits to Carson Tam
v3.2-r7
- 2017-05-29 - Add Travis CI support
v3.2-r6
- 2017-05-05 - Improve README.md
- 2017-02-15 - Minor code improvement, no functionality change
v3.2-r5
- 2017-01-27 - Automatically rename htm files to html - Credits to Andrew Hancox
v3.2-r4
- 2017-01-12 - Move Changelog from README.md to CHANGES.md
v3.2-r3
- 2017-01-12 - Check compatibility for Moodle 3.2, no functionality change
- 2017-01-12 - Re-add the list of available static pages
- 2017-01-11 - Improve README
v3.2-r2
- Internal release
v3.2-r1
- Internal release
v3.1-r2
- 2016-07-21 - Move the plugin's settings page to Site Administration -> Static Pages because this is where it logically belongs to
v3.1-r1
- 2016-07-19 - Check compatibility for Moodle 3.1, no functionality change
Changes before v3.1
- 2016-05-09 - Add settings to control if filters are processed and if the HTML code is cleaned on a static page or not
- 2016-04-07 - Add a setting to control if a static page should be shown to visitors or not
- 2016-02-10 - Add a new filearea to save the document files within Moodle - This change might break backwards compatibility in some situations, please read the "Upgrading from previous versions" below
- 2016-02-10 - Change plugin version and release scheme to the scheme promoted by moodle.org, no functionality change
- 2016-01-25 - Improve RewriteRules in README, no functionality change - Credits to Daniel Ruf
- 2016-01-01 - Check compatibility for Moodle 3.0, no functionality change
- 2015-08-18 - Check compatibility for Moodle 2.9, no functionality change
- 2015-01-23 - Check compatibility for Moodle 2.8, no functionality change
- 2014-08-19 - Add possibility to use a
<style>tag in the HTML code of static page files - 2014-06-30 - Add plugin's name as prefix to function names
- 2014-06-30 - Check compatibility for Moodle 2.7, no functionality change
- 2014-01-31 - Add description how to add blocks to static pages
- 2014-01-31 - Extend valid URLs to alphanumeric characters (no numbers were allowed before)
- 2014-01-31 - Require login if Moodle is configured to force login - Credits to toby saunders
- 2014-01-31 - Check compatibility for Moodle 2.6, no functionality change
- 2013-10-25 - Remove support for 'staticpage' pagelayout because of problems with Bootstrap-based themes. local_staticpage uses 'standard' pagelayout now. Please check your CSS cascades if you have styled static pages in any special way.
- 2013-09-02 - Check availability of static page directly on settings page, show error if page isn't downloadable
- 2013-09-02 - Add an option to set the data source of document title, document heading and breadcrumb item title
- 2013-08-08 - Improve README
- 2013-07-30 - Transfer Github repository from github.com/abias/... to github.com/moodleuulm/...; Please update your Git paths if necessary
- 2013-07-30 - Check compatibility for Moodle 2.5, no functionality change
- 2013-07-23 - Extend valid URLs with "_-" characters
- 2013-04-23 - Fix problems on windows systems
- 2013-04-22 - Bugfix: Language switcher didn't work anymore on a static page
- 2013-03-22 - Bugfix: Static page wouldn't show even if everything was configured correctly; Please notice that apache rewrite rule has changed
- 2013-03-18 - Code cleanup according to moodle codechecker
- 2013-02-18 - Check compatibility for Moodle 2.4, fix language string names to comply with language string name convention
- 2013-01-21 - Fix a flaw in README file regarding filename examples
- 2013-01-21 - Fix a flaw in README file regarding Apache mod_rewrite
- 2013-01-21 - Migrate plugin settings from config.php to a settings page within Moodle
- 2012-09-26 - Replace deprecated get_context_instance function
- 2012-06-25 - Update version.php for Moodle 2.3
- 2012-06-01 - Initial version
v3.1-r2 (2016072100)
v3.1-r2
Plugin type: Local plugins
Frankenstyle component name: local_staticpage
Version build number: 2016072100
Version release name: v3.1-r2
Maturity: Stable
Supported Moodle versions: 3.1
Repository URL (Git): https://github.com/moodleuulm/moodle-local_staticpage
Repository branch:
Repository tag: v3.1-r2
Issue/bug tracker URL: https://github.com/moodle-an-hochschulen/moodle-local_staticpage/issues
moodle-local_staticpage
Moodle plugin which displays static information pages which exist outside any course, imprint or faq pages for example, complete with Moodle navigation and theme.
Requirements
This plugin requires Moodle 3.1+
Changes
- 2016-07-21 - Move the plugin's settings page to Site Administration -> Static Pages because this is where it logically belongs to
- 2016-07-19 - Check compatibility for Moodle 3.1, no functionality change
- 2016-05-09 - Add settings to control if filters are processed and if the HTML code is cleaned on a static page or not
- 2016-04-07 - Add a setting to control if a static page should be shown to visitors or not
- 2016-02-10 - Add a new filearea to save the document files within Moodle - This change might break backwards compatibility in some situations, please read the "Upgrading from previous versions" below
- 2016-02-10 - Change plugin version and release scheme to the scheme promoted by moodle.org, no functionality change
- 2016-01-25 - Improve RewriteRules in README, no functionality change - Credits to Daniel Ruf
- 2016-01-01 - Check compatibility for Moodle 3.0, no functionality change
- 2015-08-18 - Check compatibility for Moodle 2.9, no functionality change
- 2015-01-23 - Check compatibility for Moodle 2.8, no functionality change
- 2014-08-19 - Add possibility to use a
<style>tag in the HTML code of static page files - 2014-06-30 - Add plugin's name as prefix to function names
- 2014-06-30 - Check compatibility for Moodle 2.7, no functionality change
- 2014-01-31 - Add description how to add blocks to static pages
- 2014-01-31 - Extend valid URLs to alphanumeric characters (no numbers were allowed before)
- 2014-01-31 - Require login if Moodle is configured to force login - Credits to toby saunders
- 2014-01-31 - Check compatibility for Moodle 2.6, no functionality change
- 2013-10-25 - Remove support for 'staticpage' pagelayout because of problems with Bootstrap-based themes. local_staticpage uses 'standard' pagelayout now. Please check your CSS cascades if you have styled static pages in any special way.
- 2013-09-02 - Check availability of static page directly on settings page, show error if page isn't downloadable
- 2013-09-02 - Add an option to set the data source of document title, document heading and breadcrumb item title
- 2013-08-08 - Improve README
- 2013-07-30 - Transfer Github repository from github.com/abias/... to github.com/moodleuulm/...; Please update your Git paths if necessary
- 2013-07-30 - Check compatibility for Moodle 2.5, no functionality change
- 2013-07-23 - Extend valid URLs with "_-" characters
- 2013-04-23 - Fix problems on windows systems
- 2013-04-22 - Bugfix: Language switcher didn't work anymore on a static page
- 2013-03-22 - Bugfix: Static page wouldn't show even if everything was configured correctly; Please notice that apache rewrite rule has changed
- 2013-03-18 - Code cleanup according to moodle codechecker
- 2013-02-18 - Check compatibility for Moodle 2.4, fix language string names to comply with language string name convention
- 2013-01-21 - Fix a flaw in README file regarding filename examples
- 2013-01-21 - Fix a flaw in README file regarding Apache mod_rewrite
- 2013-01-21 - Migrate plugin settings from config.php to a settings page within Moodle
- 2012-09-26 - Replace deprecated get_context_instance function
- 2012-06-25 - Update version.php for Moodle 2.3
- 2012-06-01 - Initial version
Installation
Install the plugin like any other plugin to folder
/local/staticpage
See http://docs.moodle.org/en/Installing_plugins for details on installing Moodle plugins
Usage & Settings
The local_staticpage plugin is designed to deliver static HTML documents, enriched with Moodle navigation and theme as a standard Moodle page which exist outside any course. After installing local_staticpage, the plugin has to be configured.
To configure the plugin and its behaviour, please visit Plugins -> Local plugins -> Static pages.
There, you find three sections:
1. Documents
In this section, you upload the document files you want to serve as static pages. The filepicker accepts files with .html filename extensions. For each static page you want to serve, upload a HTML document, named as [pagename].html. local_staticpage then uses this filename as pagename.
Example:
You upload a file named faq.html. This file will be served as static page with the page name "faq".
Valid filenames:
Please note that not all symbols which are allowed in the filenames in the filepicker are supported / suitable for pagenames.
Please make sure that your filenames only contain lowercase alphanumeric characters and the - (hypen) and _ (underscore) symbols.
2. Data source of document title
By default, local_staticpage will use the first <h1> tag as document title, document heading and breadcrumb item title of the resulting static page.
In this section, you can change this behaviour to using the first <title> tag for each of these.
Please note that if local_staticpage doesn't find the configured (<h1> or <title>) tag, it will derive the document title from the document filename.
3. Force Apache mod_rewrite
With this setting, you can configure local_staticpage to only serve static pages on a clean URL, using Apache's mod_rewrite module. See "Apache mod_rewrite" section below for details.
4. Force login
With this setting, you can configure local_staticpage to only serve static pages to logged in users or also to service static pages non-logged in visitors.
This behaviour can be set specifically for static pages or can be set to respect Moodle's global forcelogin ($CFG->forcelogin) setting.
5. Process Content
In this section, you can configure if Moodle filters should be processed when serving a static page's content. You can use local_staticpage completely without multilanguage or filter support. But when you need multilanguage or filter support, you can set this setting to yes and make use in your static page files of any Moodle filter which is enabled on system level. Please see https://docs.moodle.org/en/Filters or https://docs.moodle.org/en/Multi-language_content_filter for details.
In this section, you can also configure if the static page's HTML code should be cleaned. If this setting is set to yes, local_staticpage will use a Moodle library function to remove unclean HTML code and special tags like <iframe>. If this setting is set to no, local_staticpage will trust the HTML code in your static page's file and will just pass it on to the browser.
Creating static page documents
As local_staticpage's HTML reader (DOM parser) is quite dumb, there is a proposed structure for the html documents:
`
Imprint
[Your content goes here]
`
Please note that the <meta> tag is neccessary if you want to use UTF-8 characters in your html document, otherwise they will become crippled when the document is parsed by local_staticpage.
If you want to style your static page with CSS in any special way, you can include a <style> tag into the <head> section of your HTML document. The content of this style tag will be inserted into Moodle's HTML head.
If you want to include images into your static page, you have to upload them somewhere else. local_staticpage is not capable of hosting / serving image files. Linking to image files, please do yourself a favour and link to them with absolute URLs, not relative URLs.
Apache mod_rewrite
Using mod_rewrite
local_staticpage is able to use Apache's mod_rewrite module to provide static pages on a clean and understandable URL.
Please add the following to your Apache configuration or your .htaccess file in the Moodle directory:
RewriteEngine On
RewriteRule ^/static/(.*).html$ /local/staticpage/view.php?page=$1&%{QUERY_STRING} [L]
However, in some Apache configurations the following rule will work (without the leading slash - for details, please refer to http://httpd.apache.org/docs/current/mod/mod_rewrite.html#rewriterule):
RewriteEngine On
RewriteRule ^static/(.*).html$ /local/staticpage/view.php?page=$1&%{QUERY_STRING} [L]
Now, the static pages are available on
http://www.yourmoodle.com/static/[pagename].html
If you are running Moodle in a subdirectory on your webserver, please add the following to your Apache configuration or your .htaccess file in the Moodle directory:
RewriteEngine On
RewriteRule ^/yoursubdirectory/static/(.*).html$ /yoursubdirectory/local/staticpage/view.php?page=$1&%{QUERY_STRING} [L]
However, in some Apache configurations the following rule will work (without the leading slash - for details, please refer to http://httpd.apache.org/docs/current/mod/mod_rewrite.html#rewriterule):
RewriteEngine On
RewriteRule ^yoursubdirectory/static/(.*).html$ /yoursubdirectory/local/staticpage/view.php?page=$1&%{QUERY_STRING} [L]
Now, the static pages are available on
http://www.yourmoodle.com/yoursubdirectory/static/[pagename].html
You can now create links to these URLs in a Moodle HTML Block, in your Moodle theme footer and so on.
Not using mod_rewrite
If you don't want or are unable to use Apache's mod_rewrite, local_staticpage will still work.
The static pages are then available on
http://www.yourmoodle.com/local/staticpage/view.php?page=[pagename]
These URLs aren't as catchy as with mod_rewrite, but they work in exactly the same manner.
You can now create links to these URLs in a Moodle HTML Block, in your Moodle theme footer and so on.
Theme
The local_staticpage plugin uses the "standard" pagelayout of your theme by default for creating the Moodle pages. For most themes, this works well.
If you want to style static pages in any special way, you could use a CSS cascade to style static pages content in some special way:
If you are using Apache mod_rewrite URLs, you can use this CSS selector:
body.path-static ... { }
If you are not using Apache mod_rewrite URLs, you can use this CSS selector:
body.path-local-staticpage ... { }
Add blocks to static pages
The local_staticpage plugin was not intended to show blocks on the static pages. However, it is possible. You have to enable page editing somewhere else in Moodle (on your MyMoodle page or on a course page, for example) and go to your static page. Now you see the standard "Add block" menu and can add blocks to the static page. Additionally, if you click on the block's gear icon, you can control if the block is shown only on the static page the block was added to or on all static pages.
Security considerations
Apart from the option to clean HTML code which you can set to yes, local_staticpage does NOT check the static HTML documents for any malicious code, neither for malicious HTML code which will be delivered directly to the user's browser, nor for malicious PHP code which could break DOM parsing when processing the HTML document on the server.
Therefore, please make sure that your HTML code is well-formed and that only authorized and briefed users upload static page documents on local_staticpage's settings page.
Upgrading from previous versions
On 2016-02-10, we changed the way the local_staticpage plugin works fundamentally. Until then, there was a documents directory within the Moodledata directory on disk which kept the static page document files. Now, as you know, these files are placed in a filearea within Moodle.
For admins upgrading from a version before this change to a recent version of the plugin, it is important to know:
- Within the plugin upgrade process, the static page document files are copied automatically to the new filearea within Moodle. After the plugin has been upgraded, you can delete the legacy documents directory manually.
- In previous versions, there was a multilanguage support for static pages which worked on the static page document's filename. This mechanism is not there anymore. If you were using this multilanguage feature, you have to rebuild your static pages with Moodle's multilanguage filter (see above) placing all language into one static page document as well as remove the language identification code from the filenames.
- In previous versions, there was a document list on the plugin's settings page which listed all documents which were found in the document's directory. This list was there to check that Moodle recognizes all static page documents on disk. As the static page documents are now located within Moodle and thus there aren't any problems with reading files from disk anymore, this list was removed.
Motivation for this plugin
We have seen Moodle installations where there was a need for displaying static information like an imprint, a faq or a contact page and this information couldn't be added everything to the frontpage. As Moodle doesn't have a "page" concept, admins started to create courses, place their information within these courses, open guest access to the course and link to this course from HTML blocks or the custom menu.
We thought that this course overhead doesn't make sense, so we created local_staticpage. It is not meant as a fully featured content management solution, especially as you have to work with raw HTML, but it is quite handy for experienced admins for creating some few static pages within Moodle.
Further information
local_staticpage is found in the Moodle Plugins repository: https://moodle.org/plugins/view/local_staticpage
Report a bug or suggest an improvement: https://github.com/moodleuulm/moodle-local_staticpage/issues
Moodle release support
Due to limited resources, local_staticpage is only maintained for the most recent major release of Moodle. However, previous versions of this plugin which work in legacy major releases of Moodle are still available as-is without any further updates in the Moodle Plugins repository.
There may be several weeks after a new major release of Moodle has been published until we can do a compatibility check and fix problems if necessary. If you encounter problems with a new major release of Moodle - or can confirm that local_staticpage still works with a new major relase - please let us know on https://github.com/moodleuulm/moodle-local_staticpage/issues
Right-to-left support
This plugin has not been tested with Moodle's support for right-to-left (RTL) languages.
If you want to use this plugin with a RTL language and it doesn't work as-is, you are free to send me a pull request on
github with modifications.
Copyright
University of Ulm
kiz - Media Department
Team Web & Teaching Support
Alexander Bias
v3.0-r4 (2016050900)
v3.0-r4
Plugin type: Local plugins
Frankenstyle component name: local_staticpage
Version build number: 2016050900
Version release name: v3.0-r4
Maturity: Stable
Supported Moodle versions: 3.0
Repository URL (Git): https://github.com/moodleuulm/moodle-local_staticpage
Repository branch:
Repository tag: v3.0-r4
Issue/bug tracker URL: https://github.com/moodle-an-hochschulen/moodle-local_staticpage/issues
moodle-local_staticpage
Moodle plugin which displays static information pages which exist outside any course, imprint or faq pages for example, complete with Moodle navigation and theme.
Requirements
This plugin requires Moodle 3.0+
Changes
- 2016-05-09 - Add settings to control if filters are processed and if the HTML code is cleaned on a static page or not
- 2016-04-07 - Add a setting to control if a static page should be shown to visitors or not
- 2016-02-10 - Add a new filearea to save the document files within Moodle - This change might break backwards compatibility in some situations, please read the "Upgrading from previous versions" below
- 2016-02-10 - Change plugin version and release scheme to the scheme promoted by moodle.org, no functionality change
- 2016-01-25 - Improve RewriteRules in README, no functionality change - Credits to Daniel Ruf
- 2016-01-01 - Check compatibility for Moodle 3.0, no functionality change
- 2015-08-18 - Check compatibility for Moodle 2.9, no functionality change
- 2015-01-23 - Check compatibility for Moodle 2.8, no functionality change
- 2014-08-19 - Add possibility to use a
<style>tag in the HTML code of static page files - 2014-06-30 - Add plugin's name as prefix to function names
- 2014-06-30 - Check compatibility for Moodle 2.7, no functionality change
- 2014-01-31 - Add description how to add blocks to static pages
- 2014-01-31 - Extend valid URLs to alphanumeric characters (no numbers were allowed before)
- 2014-01-31 - Require login if Moodle is configured to force login - Credits to toby saunders
- 2014-01-31 - Check compatibility for Moodle 2.6, no functionality change
- 2013-10-25 - Remove support for 'staticpage' pagelayout because of problems with Bootstrap-based themes. local_staticpage uses 'standard' pagelayout now. Please check your CSS cascades if you have styled static pages in any special way.
- 2013-09-02 - Check availability of static page directly on settings page, show error if page isn't downloadable
- 2013-09-02 - Add an option to set the data source of document title, document heading and breadcrumb item title
- 2013-08-08 - Improve README
- 2013-07-30 - Transfer Github repository from github.com/abias/... to github.com/moodleuulm/...; Please update your Git paths if necessary
- 2013-07-30 - Check compatibility for Moodle 2.5, no functionality change
- 2013-07-23 - Extend valid URLs with "_-" characters
- 2013-04-23 - Fix problems on windows systems
- 2013-04-22 - Bugfix: Language switcher didn't work anymore on a static page
- 2013-03-22 - Bugfix: Static page wouldn't show even if everything was configured correctly; Please notice that apache rewrite rule has changed
- 2013-03-18 - Code cleanup according to moodle codechecker
- 2013-02-18 - Check compatibility for Moodle 2.4, fix language string names to comply with language string name convention
- 2013-01-21 - Fix a flaw in README file regarding filename examples
- 2013-01-21 - Fix a flaw in README file regarding Apache mod_rewrite
- 2013-01-21 - Migrate plugin settings from config.php to a settings page within Moodle
- 2012-09-26 - Replace deprecated get_context_instance function
- 2012-06-25 - Update version.php for Moodle 2.3
- 2012-06-01 - Initial version
Installation
Install the plugin like any other plugin to folder
/local/staticpage
See http://docs.moodle.org/en/Installing_plugins for details on installing Moodle plugins
Usage & Settings
The local_staticpage plugin is designed to deliver static HTML documents, enriched with Moodle navigation and theme as a standard Moodle page which exist outside any course. After installing local_staticpage, the plugin has to be configured.
To configure the plugin and its behaviour, please visit Plugins -> Local plugins -> Static pages.
There, you find three sections:
1. Documents
In this section, you upload the document files you want to serve as static pages. The filepicker accepts files with .html filename extensions. For each static page you want to serve, upload a HTML document, named as [pagename].html. local_staticpage then uses this filename as pagename.
Example:
You upload a file named faq.html. This file will be served as static page with the page name "faq".
Valid filenames:
Please note that not all symbols which are allowed in the filenames in the filepicker are supported / suitable for pagenames.
Please make sure that your filenames only contain lowercase alphanumeric characters and the - (hypen) and _ (underscore) symbols.
2. Data source of document title
By default, local_staticpage will use the first <h1> tag as document title, document heading and breadcrumb item title of the resulting static page.
In this section, you can change this behaviour to using the first <title> tag for each of these.
Please note that if local_staticpage doesn't find the configured (<h1> or <title>) tag, it will derive the document title from the document filename.
3. Force Apache mod_rewrite
With this setting, you can configure local_staticpage to only serve static pages on a clean URL, using Apache's mod_rewrite module. See "Apache mod_rewrite" section below for details.
4. Force login
With this setting, you can configure local_staticpage to only serve static pages to logged in users or also to service static pages non-logged in visitors.
This behaviour can be set specifically for static pages or can be set to respect Moodle's global forcelogin ($CFG->forcelogin) setting.
5. Process Content
In this section, you can configure if Moodle filters should be processed when serving a static page's content. You can use local_staticpage completely without multilanguage or filter support. But when you need multilanguage or filter support, you can set this setting to yes and make use in your static page files of any Moodle filter which is enabled on system level. Please see https://docs.moodle.org/en/Filters or https://docs.moodle.org/en/Multi-language_content_filter for details.
In this section, you can also configure if the static page's HTML code should be cleaned. If this setting is set to yes, local_staticpage will use a Moodle library function to remove unclean HTML code and special tags like <iframe>. If this setting is set to no, local_staticpage will trust the HTML code in your static page's file and will just pass it on to the browser.
Creating static page documents
As local_staticpage's HTML reader (DOM parser) is quite dumb, there is a proposed structure for the html documents:
`
Imprint
[Your content goes here]
`
Please note that the <meta> tag is neccessary if you want to use UTF-8 characters in your html document, otherwise they will become crippled when the document is parsed by local_staticpage.
If you want to style your static page with CSS in any special way, you can include a <style> tag into the <head> section of your HTML document. The content of this style tag will be inserted into Moodle's HTML head.
If you want to include images into your static page, you have to upload them somewhere else. local_staticpage is not capable of hosting / serving image files. Linking to image files, please do yourself a favour and link to them with absolute URLs, not relative URLs.
Apache mod_rewrite
Using mod_rewrite
local_staticpage is able to use Apache's mod_rewrite module to provide static pages on a clean and understandable URL.
Please add the following to your Apache configuration or your .htaccess file in the Moodle directory:
RewriteEngine On
RewriteRule ^/static/(.*).html$ /local/staticpage/view.php?page=$1&%{QUERY_STRING} [L]
However, in some Apache configurations the following rule will work (without the leading slash - for details, please refer to http://httpd.apache.org/docs/current/mod/mod_rewrite.html#rewriterule):
RewriteEngine On
RewriteRule ^static/(.*).html$ /local/staticpage/view.php?page=$1&%{QUERY_STRING} [L]
Now, the static pages are available on
http://www.yourmoodle.com/static/[pagename].html
If you are running Moodle in a subdirectory on your webserver, please add the following to your Apache configuration or your .htaccess file in the Moodle directory:
RewriteEngine On
RewriteRule ^/yoursubdirectory/static/(.*).html$ /yoursubdirectory/local/staticpage/view.php?page=$1&%{QUERY_STRING} [L]
However, in some Apache configurations the following rule will work (without the leading slash - for details, please refer to http://httpd.apache.org/docs/current/mod/mod_rewrite.html#rewriterule):
RewriteEngine On
RewriteRule ^yoursubdirectory/static/(.*).html$ /yoursubdirectory/local/staticpage/view.php?page=$1&%{QUERY_STRING} [L]
Now, the static pages are available on
http://www.yourmoodle.com/yoursubdirectory/static/[pagename].html
You can now create links to these URLs in a Moodle HTML Block, in your Moodle theme footer and so on.
Not using mod_rewrite
If you don't want or are unable to use Apache's mod_rewrite, local_staticpage will still work.
The static pages are then available on
http://www.yourmoodle.com/local/staticpage/view.php?page=[pagename]
These URLs aren't as catchy as with mod_rewrite, but they work in exactly the same manner.
You can now create links to these URLs in a Moodle HTML Block, in your Moodle theme footer and so on.
Theme
The local_staticpage plugin uses the "standard" pagelayout of your theme by default for creating the Moodle pages. For most themes, this works well.
If you want to style static pages in any special way, you could use a CSS cascade to style static pages content in some special way:
If you are using Apache mod_rewrite URLs, you can use this CSS selector:
body.path-static ... { }
If you are not using Apache mod_rewrite URLs, you can use this CSS selector:
body.path-local-staticpage ... { }
Add blocks to static pages
The local_staticpage plugin was not intended to show blocks on the static pages. However, it is possible. You have to enable page editing somewhere else in Moodle (on your MyMoodle page or on a course page, for example) and go to your static page. Now you see the standard "Add block" menu and can add blocks to the static page. Additionally, if you click on the block's gear icon, you can control if the block is shown only on the static page the block was added to or on all static pages.
Security considerations
Apart from the option to clean HTML code which you can set to yes, local_staticpage does NOT check the static HTML documents for any malicious code, neither for malicious HTML code which will be delivered directly to the user's browser, nor for malicious PHP code which could break DOM parsing when processing the HTML document on the server.
Therefore, please make sure that your HTML code is well-formed and that only authorized and briefed users upload static page documents on local_staticpage's settings page.
Upgrading from previous versions
On 2016-02-10, we changed the way the local_staticpage plugin works fundamentally. Until then, there was a documents directory within the Moodledata directory on disk which kept the static page document files. Now, as you know, these files are placed in a filearea within Moodle.
For admins upgrading from a version before this change to a recent version of the plugin, it is important to know:
- Within the plugin upgrade process, the static page document files are copied automatically to the new filearea within Moodle. After the plugin has been upgraded, you can delete the legacy documents directory manually.
- In previous versions, there was a multilanguage support for static pages which worked on the static page document's filename. This mechanism is not there anymore. If you were using this multilanguage feature, you have to rebuild your static pages with Moodle's multilanguage filter (see above) placing all language into one static page document as well as remove the language identification code from the filenames.
- In previous versions, there was a document list on the plugin's settings page which listed all documents which were found in the document's directory. This list was there to check that Moodle recognizes all static page documents on disk. As the static page documents are now located within Moodle and thus there aren't any problems with reading files from disk anymore, this list was removed.
Motivation for this plugin
We have seen Moodle installations where there was a need for displaying static information like an imprint, a faq or a contact page and this information couldn't be added everything to the frontpage. As Moodle doesn't have a "page" concept, admins started to create courses, place their information within these courses, open guest access to the course and link to this course from HTML blocks or the custom menu.
We thought that this course overhead doesn't make sense, so we created local_staticpage. It is not meant as a fully featured content management solution, especially as you have to work with raw HTML, but it is quite handy for experienced admins for creating some few static pages within Moodle.
Further information
local_staticpage is found in the Moodle Plugins repository: https://moodle.org/plugins/view/local_staticpage
Report a bug or suggest an improvement: https://github.com/moodleuulm/moodle-local_staticpage/issues
Moodle release support
Due to limited resources, local_staticpage is only maintained for the most recent major release of Moodle. However, previous versions of this plugin which work in legacy major releases of Moodle are still available as-is without any further updates in the Moodle Plugins repository.
There may be several weeks after a new major release of Moodle has been published until we can do a compatibility check and fix problems if necessary. If you encounter problems with a new major release of Moodle - or can confirm that local_staticpage still works with a new major relase - please let us know on https://github.com/moodleuulm/moodle-local_staticpage/issues
Right-to-left support
This plugin has not been tested with Moodle's support for right-to-left (RTL) languages.
If you want to use this plugin with a RTL language and it doesn't work as-is, you are free to send me a pull request on
github with modifications.
Copyright
University of Ulm
kiz - Media Department
Team Web & Teaching Support
Alexander Bias
2.9 (Build: 2015081800) (2015051100)
2.9 (Build: 2015081800)
Plugin type: Local plugins
Frankenstyle component name: local_staticpage
Version build number: 2015051100
Version release name: 2.9 (Build: 2015081800)
Maturity: Stable
Supported Moodle versions: 2.9
Repository URL (Git): https://github.com/moodleuulm/moodle-local_staticpage
Repository branch:
Repository tag:
Issue/bug tracker URL: https://github.com/moodle-an-hochschulen/moodle-local_staticpage/issues
moodle-local_staticpage
Moodle plugin which displays static information pages which exist outside any course, imprint or faq pages for example, complete with Moodle navigation and theme.
Requirements
This plugin requires Moodle 2.8+
Changes
- 2015-08-18 - Check compatibility for Moodle 2.9, no functionality change
- 2015-01-23 - Check compatibility for Moodle 2.8, no functionality change
- 2014-08-19 - Add possibility to use a
<style>tag in the HTML code of static page files - 2014-06-30 - Add plugin's name as prefix to function names
- 2014-06-30 - Check compatibility for Moodle 2.7, no functionality change
- 2014-01-31 - Add description how to add blocks to static pages
- 2014-01-31 - Extend valid URLs to alphanumeric characters (no numbers were allowed before)
- 2014-01-31 - Require login if Moodle is configured to force login - Credits to toby saunders
- 2014-01-31 - Check compatibility for Moodle 2.6, no functionality change
- 2013-10-25 - Remove support for 'staticpage' pagelayout because of problems with Bootstrap-based themes. local_staticpage uses 'standard' pagelayout now. Please check your CSS cascades if you have styled static pages in any special way.
- 2013-09-02 - Check availability of static page directly on settings page, show error if page isn't downloadable
- 2013-09-02 - Add an option to set the data source of document title, document heading and breadcrumb item title
- 2013-08-08 - Improve README
- 2013-07-30 - Transfer Github repository from github.com/abias/... to github.com/moodleuulm/...; Please update your Git paths if necessary
- 2013-07-30 - Check compatibility for Moodle 2.5, no functionality change
- 2013-07-23 - Extend valid URLs with "_-" characters
- 2013-04-23 - Fix problems on windows systems
- 2013-04-22 - Bugfix: Language switcher didn't work anymore on a static page
- 2013-03-22 - Bugfix: Static page wouldn't show even if everything was configured correctly; Please notice that apache rewrite rule has changed
- 2013-03-18 - Code cleanup according to moodle codechecker
- 2013-02-18 - Check compatibility for Moodle 2.4, fix language string names to comply with language string name convention
- 2013-01-21 - Fix a flaw in README file regarding filename examples
- 2013-01-21 - Fix a flaw in README file regarding Apache mod_rewrite
- 2013-01-21 - Migrate plugin settings from config.php to a settings page within Moodle
- 2012-09-26 - Replace deprecated get_context_instance function
- 2012-06-25 - Update version.php for Moodle 2.3
- 2012-06-01 - Initial version
Installation
Install the plugin like any other plugin to folder
/local/staticpage
See http://docs.moodle.org/en/Installing_plugins for details on installing Moodle plugins
Usage & Settings
The local_staticpage plugin is designed to fetch a static HTML document from disk, enrich it with Moodle navigation and theme and deliver it as a standard Moodle page which exists outside any course. After installing local_staticpage, the plugin should be configured.
To configure the plugin and its behaviour, please visit Plugins -> Local plugins -> Static pages.
There, you find four sections:
1. Document directory
In this section, you define the directory where the document files are. local_staticpage takes every file in this directory with a .html filename extension, takes the file's name and content and creates a static page out of it.
Example:
The document directory /var/www/files/moodledata/staticpage contains the files foo.bar and faq.html. local_staticpage looks at the directory and finds two files. File foo.bar is ignored by local_staticpage because it doesn't have the right filename extension. File faq.html will be served as static page with the page name "faq".
2. Data source of document title
By default, local_staticpage will use the first <h1> tag as document title, document heading and breadcrumb item title of the resulting Moodle page.
In this section, you can change this behaviour to using the first <title> tag for each of these.
Please note that if local_staticpage doesn't find the configured (<h1> or <title>) tag, it will derive the document title from the document filename.
3. Force Apache mod_rewrite
With this setting, you can configure local_staticpage to only serve static pages on a clean URL, using Apache's mod_rewrite module. See "Apache mod_rewrite" section below for details.
4. Document list
As soon as you have configured the document directory setting and saved your settings, this list shows all files which have been found in the document directory and their URLs.
Additionally, the document list checks each static page if a browser is actually able to download and view it. If this isn't possible, the static page is marked with an error message in the document list.
Create documents
Now, you have to create the html documents and put them in the document directory.
For each static page you want to serve, create a HTML document in the document directory, named as [pagename].html
As the local_staticpage's HTML reader (DOM parser) is quite dumb, there is a proposed structure for the html documents:
`
Imprint
[Your content goes here]
`
Please note that the <meta> tag is neccessary if you want to use UTF-8 characters in your html document, otherwise they will become crippled when the document is parsed by local_staticpage.
If you want to style your static page with CSS in any special way, you can include a <style> tag into the <head> section of your HTML document. The content of this style tag will be inserted into Moodle's HTML head.
If you want to include images into your static page, please do yourself a favour and link to them with absolute URLs, not relative URLs.
Multiple language support
You can use local_staticpage completely without multilanguage support. But when you need multilanguage support, please create one html document for every language you want to provide (because Moodle multilanguage tags are not supported in your HTML code).
When local_staticpage checks the Document directory for valid static pages files, it will take every file with a .html filename extension as explained above.
After finding a file with a .html filename extension, local_staticpage takes a second look at the filename to see if it can find another filename extension. If there is one, it is used as language of the static page.
Example:
The document directory /var/www/files/moodledata/staticpage contains the files imprint.en.html, impressum.de.html and faq.html. local_staticpage looks at the filename extensions and serves the static pages as follows:
- File imprint.en.html will be served as static page with the page name "imprint", but only when the current language of the user is english.
- File impressum.de.html will be served as static page with the page name "impressum", but only when the current language of the user is german.
- File faq.html will be served as static page with the page name "faq" regardless of the current language of the user.
local_staticpage doesn't know anything about connections with regard to contents between document files. If you want to serve static pages which are translated into multiple languages and which should be switchable with the Moodle language switcher, you are welcome to create symbolic links in your document directory. This has been tested on Unix-like servers, see http://en.wikipedia.org/wiki/Symbolic_link#POSIX_and_Unix-like_operating_systems for details.
Example:
-rw-r-----. 1 root apache 1700 Jan 9 12:20 impressum.de.html
-rw-r-----. 1 root apache 15 Jan 23 22:16 impressum.en.html -> imprint.en.html
-rw-r-----. 1 root apache 17 Jan 23 22:15 imprint.de.html -> impressum.de.html
-rw-r-----. 1 root apache 1658 Jan 9 12:20 imprint.en.html
What you see here is a directory listing with two documents and two symbolic links. local_staticpage will serve the imprint page in the language of the user, regardless of the pagename with which it has been called.
Valid filenames
local_staticpage uses the file's filename as pagename.
However, not all symbols which are allowed in your filesystem are supported for pagenames.
Please make sure that your filenames/pagenames only contain alphanumeric characters and the - (hypen) and _ (underscore) symbols.
Apache mod_rewrite
Using mod_rewrite
local_staticpage is able to use Apache's mod_rewrite module to provide static pages on a clean and understandable URL.
Please add the following to your Apache configuration or your .htaccess file in the Moodle directory:
RewriteEngine On
RewriteRule ^/static/(.*).html$ /local/staticpage/view.php?page=$1&%{QUERY_STRING} [L]
Now, the static pages from the above example are available on
http://www.yourmoodle.com/static/imprint.html
http://www.yourmoodle.com/static/impressum.html
http://www.yourmoodle.com/static/faq.html
If you are running Moodle in a subdirectory on your webserver, please add the following to your Apache configuration or your .htaccess file in the Moodle directory:
RewriteEngine On
RewriteRule ^/yoursubdirectory/static/(.*).html$ /yoursubdirectory/local/staticpage/view.php?page=$1&%{QUERY_STRING} [L]
Now, the static pages from the above example are available on
http://www.yourmoodle.com/yoursubdirectory/static/imprint.html
http://www.yourmoodle.com/yoursubdirectory/static/impressum.html
http://www.yourmoodle.com/yoursubdirectory/static/faq.html
You can now create links to these URLs in a Moodle HTML Block, in your Moodle theme footer and so on.
Not using mod_rewrite
If you don't want or are unable to use Apache's mod_rewrite, local_staticpage will still work.
The static pages from the above example are available on
http://www.yourmoodle.com/local/staticpage/view.php?page=imprint
http://www.yourmoodle.com/local/staticpage/view.php?page=impressum
http://www.yourmoodle.com/local/staticpage/view.php?page=faq
These URLs aren't as catchy as with mod_rewrite, but they work in exactly the same manner.
You can now create links to these URLs in a Moodle HTML Block, in your Moodle theme footer and so on.
Theme
The local_staticpage plugin uses the "standard" pagelayout of your theme by default for creating the Moodle pages. For most themes, this works well.
If you want to style static pages in any special way, you could use a CSS cascade to style static pages content in some special way:
If you are using Apache mod_rewrite URLs, you can use this CSS selector:
body.path-static ... { }
If you are not using Apache mod_rewrite URLs, you can use this CSS selector:
body.path-local-staticpage ... { }
Add blocks to static pages
The local_staticpage plugin was not intended to show blocks on the static pages. However, it is possible. You have to enable page editing somewhere else in Moodle (on your MyMoodle page or on a course page, for example) and go to your static page. Now you see the standard "Add block" menu and can add blocks to the static page. Additionally, if you click on the block's gear icon, you can control if the block is shown only on the static page the block was added to or on all static pages.
Security considerations
local_staticpage does NOT check the static HTML documents for any malicious code, neither for malicious HTML code which will be delivered directly to the user's browser, nor for malicious PHP code which could break DOM parsing when processing the HTML document on the server.
Therefore, please make sure that your HTML code is well-formed and that only authorized and briefed users have write access to the document directory.
Motivation for this plugin
I have seen Moodle installations where there was a need for displaying static information like an imprint, a faq or a contact page and this information couldn't be added everything to the frontpage. As Moodle doesn't have a "page" concept, admins started to create courses, place their information within these courses, open guest access to the course and link to this course from HTML blocks or the custom menu.
I thought that this course overhead doesn't make sense, so I created local_staticpage. It is not meant as a fully features content management solution, especially as you have to work with raw HTML, but it is quite handy for experienced admins for creating some few static pages within Moodle.
Further information
local_staticpage is found in the Moodle Plugins repository: https://moodle.org/plugins/view/local_staticpage
Report a bug or suggest an improvement: https://github.com/moodleuulm/moodle-local_staticpage/issues
Moodle release support
Due to limited ressources, local_staticpage is only maintained for the most recent major release of Moodle. However, previous versions of this plugin which work in legacy major releases of Moodle are still available as-is without any further updates in the Moodle Plugins repository.
There may be several weeks after a new major release of Moodle has been published until we can do a compatibility check and fix problems if necessary. If you encounter problems with a new major release of Moodle - or can confirm that local_staticpage still works with a new major relase - please let us know on https://github.com/moodleuulm/moodle-local_staticpage/issues
Right-to-left support
This plugin has not been tested with Moodle's support for right-to-left (RTL) languages.
If you want to use this plugin with a RTL language and it doesn't work as-is, you are free to send me a pull request on
github with modifications.
Copyright
University of Ulm
kiz - Media Department
Team Web & Teaching Support
Alexander Bias
2.8 (Build: 2015012300) (2014111000)
2.8 (Build: 2015012300)
Plugin type: Local plugins
Frankenstyle component name: local_staticpage
Version build number: 2014111000
Version release name: 2.8 (Build: 2015012300)
Maturity: Stable
Supported Moodle versions: 2.8
Repository URL (Git): https://github.com/moodleuulm/moodle-local_staticpage
Repository branch:
Repository tag:
Issue/bug tracker URL: https://github.com/moodle-an-hochschulen/moodle-local_staticpage/issues
moodle-local_staticpage
Moodle plugin which displays static information pages which exist outside any course, imprint or faq pages for example, complete with Moodle navigation and theme.
Requirements
This plugin requires Moodle 2.8+
Changes
- 2015-01-23 - Check compatibility for Moodle 2.8, no functionality change
- 2014-08-19 - Add possibility to use a
<style>tag in the HTML code of static page files - 2014-06-30 - Add plugin's name as prefix to function names
- 2014-06-30 - Check compatibility for Moodle 2.7, no functionality change
- 2014-01-31 - Add description how to add blocks to static pages
- 2014-01-31 - Extend valid URLs to alphanumeric characters (no numbers were allowed before)
- 2014-01-31 - Require login if Moodle is configured to force login - Credits to toby saunders
- 2014-01-31 - Check compatibility for Moodle 2.6, no functionality change
- 2013-10-25 - Remove support for 'staticpage' pagelayout because of problems with Bootstrap-based themes. local_staticpage uses 'standard' pagelayout now. Please check your CSS cascades if you have styled static pages in any special way.
- 2013-09-02 - Check availability of static page directly on settings page, show error if page isn't downloadable
- 2013-09-02 - Add an option to set the data source of document title, document heading and breadcrumb item title
- 2013-08-08 - Improve README
- 2013-07-30 - Transfer Github repository from github.com/abias/... to github.com/moodleuulm/...; Please update your Git paths if necessary
- 2013-07-30 - Check compatibility for Moodle 2.5, no functionality change
- 2013-07-23 - Extend valid URLs with "_-" characters
- 2013-04-23 - Fix problems on windows systems
- 2013-04-22 - Bugfix: Language switcher didn't work anymore on a static page
- 2013-03-22 - Bugfix: Static page wouldn't show even if everything was configured correctly; Please notice that apache rewrite rule has changed
- 2013-03-18 - Code cleanup according to moodle codechecker
- 2013-02-18 - Check compatibility for Moodle 2.4, fix language string names to comply with language string name convention
- 2013-01-21 - Fix a flaw in README file regarding filename examples
- 2013-01-21 - Fix a flaw in README file regarding Apache mod_rewrite
- 2013-01-21 - Migrate plugin settings from config.php to a settings page within Moodle
- 2012-09-26 - Replace deprecated get_context_instance function
- 2012-06-25 - Update version.php for Moodle 2.3
- 2012-06-01 - Initial version
Installation
Install the plugin like any other plugin to folder
/local/staticpage
See http://docs.moodle.org/en/Installing_plugins for details on installing Moodle plugins
Usage & Settings
The local_staticpage plugin is designed to fetch a static HTML document from disk, enrich it with Moodle navigation and theme and deliver it as a standard Moodle page which exists outside any course. After installing local_staticpage, the plugin should be configured.
To configure the plugin and its behaviour, please visit Plugins -> Local plugins -> Static pages.
There, you find four sections:
1. Document directory
In this section, you define the directory where the document files are. local_staticpage takes every file in this directory with a .html filename extension, takes the file's name and content and creates a static page out of it.
Example:
The document directory /var/www/files/moodledata/staticpage contains the files foo.bar and faq.html. local_staticpage looks at the directory and finds two files. File foo.bar is ignored by local_staticpage because it doesn't have the right filename extension. File faq.html will be served as static page with the page name "faq".
2. Data source of document title
By default, local_staticpage will use the first <h1> tag as document title, document heading and breadcrumb item title of the resulting Moodle page.
In this section, you can change this behaviour to using the first <title> tag for each of these.
Please note that if local_staticpage doesn't find the configured (<h1> or <title>) tag, it will derive the document title from the document filename.
3. Force Apache mod_rewrite
With this setting, you can configure local_staticpage to only serve static pages on a clean URL, using Apache's mod_rewrite module. See "Apache mod_rewrite" section below for details.
4. Document list
As soon as you have configured the document directory setting and saved your settings, this list shows all files which have been found in the document directory and their URLs.
Additionally, the document list checks each static page if a browser is actually able to download and view it. If this isn't possible, the static page is marked with an error message in the document list.
Create documents
Now, you have to create the html documents and put them in the document directory.
For each static page you want to serve, create a HTML document in the document directory, named as [pagename].html
As the local_staticpage's HTML reader (DOM parser) is quite dumb, there is a proposed structure for the html documents:
`
Imprint
[Your content goes here]
`
Please note that the <meta> tag is neccessary if you want to use UTF-8 characters in your html document, otherwise they will become crippled when the document is parsed by local_staticpage.
If you want to style your static page with CSS in any special way, you can include a <style> tag into the <head> section of your HTML document. The content of this style tag will be inserted into Moodle's HTML head.
If you want to include images into your static page, please do yourself a favour and link to them with absolute URLs, not relative URLs.
Multiple language support
You can use local_staticpage completely without multilanguage support. But when you need multilanguage support, please create one html document for every language you want to provide (because Moodle multilanguage tags are not supported in your HTML code).
When local_staticpage checks the Document directory for valid static pages files, it will take every file with a .html filename extension as explained above.
After finding a file with a .html filename extension, local_staticpage takes a second look at the filename to see if it can find another filename extension. If there is one, it is used as language of the static page.
Example:
The document directory /var/www/files/moodledata/staticpage contains the files imprint.en.html, impressum.de.html and faq.html. local_staticpage looks at the filename extensions and serves the static pages as follows:
- File imprint.en.html will be served as static page with the page name "imprint", but only when the current language of the user is english.
- File impressum.de.html will be served as static page with the page name "impressum", but only when the current language of the user is german.
- File faq.html will be served as static page with the page name "faq" regardless of the current language of the user.
local_staticpage doesn't know anything about connections with regard to contents between document files. If you want to serve static pages which are translated into multiple languages and which should be switchable with the Moodle language switcher, you are welcome to create symbolic links in your document directory. This has been tested on Unix-like servers, see http://en.wikipedia.org/wiki/Symbolic_link#POSIX_and_Unix-like_operating_systems for details.
Example:
-rw-r-----. 1 root apache 1700 Jan 9 12:20 impressum.de.html
-rw-r-----. 1 root apache 15 Jan 23 22:16 impressum.en.html -> imprint.en.html
-rw-r-----. 1 root apache 17 Jan 23 22:15 imprint.de.html -> impressum.de.html
-rw-r-----. 1 root apache 1658 Jan 9 12:20 imprint.en.html
What you see here is a directory listing with two documents and two symbolic links. local_staticpage will serve the imprint page in the language of the user, regardless of the pagename with which it has been called.
Valid filenames
local_staticpage uses the file's filename as pagename.
However, not all symbols which are allowed in your filesystem are supported for pagenames.
Please make sure that your filenames/pagenames only contain alphanumeric characters and the - (hypen) and _ (underscore) symbols.
Apache mod_rewrite
Using mod_rewrite
local_staticpage is able to use Apache's mod_rewrite module to provide static pages on a clean and understandable URL.
Please add the following to your Apache configuration or your .htaccess file in the Moodle directory:
RewriteEngine On
RewriteRule ^/static/(.*).html$ /local/staticpage/view.php?page=$1&%{QUERY_STRING} [L]
Now, the static pages from the above example are available on
http://www.yourmoodle.com/static/imprint.html
http://www.yourmoodle.com/static/impressum.html
http://www.yourmoodle.com/static/faq.html
If you are running Moodle in a subdirectory on your webserver, please add the following to your Apache configuration or your .htaccess file in the Moodle directory:
RewriteEngine On
RewriteRule ^/yoursubdirectory/static/(.*).html$ /yoursubdirectory/local/staticpage/view.php?page=$1&%{QUERY_STRING} [L]
Now, the static pages from the above example are available on
http://www.yourmoodle.com/yoursubdirectory/static/imprint.html
http://www.yourmoodle.com/yoursubdirectory/static/impressum.html
http://www.yourmoodle.com/yoursubdirectory/static/faq.html
You can now create links to these URLs in a Moodle HTML Block, in your Moodle theme footer and so on.
Not using mod_rewrite
If you don't want or are unable to use Apache's mod_rewrite, local_staticpage will still work.
The static pages from the above example are available on
http://www.yourmoodle.com/local/staticpage/view.php?page=imprint
http://www.yourmoodle.com/local/staticpage/view.php?page=impressum
http://www.yourmoodle.com/local/staticpage/view.php?page=faq
These URLs aren't as catchy as with mod_rewrite, but they work in exactly the same manner.
You can now create links to these URLs in a Moodle HTML Block, in your Moodle theme footer and so on.
Theme
The local_staticpage plugin uses the "standard" pagelayout of your theme by default for creating the Moodle pages. For most themes, this works well.
If you want to style static pages in any special way, you could use a CSS cascade to style static pages content in some special way:
If you are using Apache mod_rewrite URLs, you can use this CSS selector:
body.path-static ... { }
If you are not using Apache mod_rewrite URLs, you can use this CSS selector:
body.path-local-staticpage ... { }
Add blocks to static pages
The local_staticpage plugin was not intended to show blocks on the static pages. However, it is possible. You have to enable page editing somewhere else in Moodle (on your MyMoodle page or on a course page, for example) and go to your static page. Now you see the standard "Add block" menu and can add blocks to the static page. Additionally, if you click on the block's gear icon, you can control if the block is shown only on the static page the block was added to or on all static pages.
Security considerations
local_staticpage does NOT check the static HTML documents for any malicious code, neither for malicious HTML code which will be delivered directly to the user's browser, nor for malicious PHP code which could break DOM parsing when processing the HTML document on the server.
Therefore, please make sure that your HTML code is well-formed and that only authorized and briefed users have write access to the document directory.
Motivation for this plugin
I have seen Moodle installations where there was a need for displaying static information like an imprint, a faq or a contact page and this information couldn't be added everything to the frontpage. As Moodle doesn't have a "page" concept, admins started to create courses, place their information within these courses, open guest access to the course and link to this course from HTML blocks or the custom menu.
I thought that this course overhead doesn't make sense, so I created local_staticpage. It is not meant as a fully features content management solution, especially as you have to work with raw HTML, but it is quite handy for experienced admins for creating some few static pages within Moodle.
Further information
local_staticpage is found in the Moodle Plugins repository: https://moodle.org/plugins/view/local_staticpage
Report a bug or suggest an improvement: https://github.com/moodleuulm/moodle-local_staticpage/issues
Moodle release support
Due to limited ressources, local_staticpage is only maintained for the most recent major release of Moodle. However, previous versions of this plugin which work in legacy major releases of Moodle are still available as-is without any further updates in the Moodle Plugins repository.
There may be several weeks after a new major release of Moodle has been published until we can do a compatibility check and fix problems if necessary. If you encounter problems with a new major release of Moodle - or can confirm that local_staticpage still works with a new major relase - please let us know on https://github.com/moodleuulm/moodle-local_staticpage/issues
Right-to-left support
This plugin has not been tested with Moodle's support for right-to-left (RTL) languages.
If you want to use this plugin with a RTL language and it doesn't work as-is, you are free to send me a pull request on
github with modifications.
Copyright
University of Ulm
kiz - Media Department
Team Web & Teaching Support
Alexander Bias
2.7 (Build: 2014063000) (2014051200)
2.7 (Build: 2014063000)
Plugin type: Local plugins
Frankenstyle component name: local_staticpage
Version build number: 2014051200
Version release name: 2.7 (Build: 2014063000)
Maturity: Stable
Supported Moodle versions: 2.7
Repository URL (Git): https://github.com/moodleuulm/moodle-local_staticpage
Repository branch:
Repository tag:
Issue/bug tracker URL: https://github.com/moodle-an-hochschulen/moodle-local_staticpage/issues
moodle-local_staticpage
Moodle plugin which displays static information pages which exist outside any course, imprint or faq pages for example, complete with Moodle navigation and theme.
Requirements
This plugin requires Moodle 2.7+
Changes
- 2014-08-19 - Add possibility to use a
2.6 (Build: 2014013100) (2013111800)
2.6 (Build: 2014013100)
Plugin type: Local plugins
Frankenstyle component name: local_staticpage
Version build number: 2013111800
Version release name: 2.6 (Build: 2014013100)
Maturity: Stable
Supported Moodle versions: 2.6
Repository URL (Git): https://github.com/moodleuulm/moodle-local_staticpage
Repository branch:
Repository tag:
Issue/bug tracker URL: https://github.com/moodle-an-hochschulen/moodle-local_staticpage/issues
moodle-local_staticpage
Moodle plugin which displays static information pages which exist outside any course, imprint or faq pages for example, complete with Moodle navigation and theme.
Requirements
This plugin requires Moodle 2.6+
Changes
2014-01-31 - Add description how to add blocks to static pages
2014-01-31 - Extend valid URLs to alphanumeric characters (no numbers were allowed before)
2014-01-31 - Require login if Moodle is configured to force login - Credits to toby saunders
2014-01-31 - Check compatibility for Moodle 2.6, no functionality change
2013-10-25 - Remove support for 'staticpage' pagelayout because of problems with Bootstrap-based themes. local_staticpage uses 'standard' pagelayout now. Please check your CSS cascades if you have styled static pages in any special way.
2013-09-02 - Check availability of static page directly on settings page, show error if page isn't downloadable
2013-09-02 - Add an option to set the data source of document title, document heading and breadcrumb item title
2013-08-08 - Improve README
2013-07-30 - Transfer Github repository from github.com/abias/... to github.com/moodleuulm/...; Please update your Git paths if necessary
2013-07-30 - Check compatibility for Moodle 2.5, no functionality change
2013-07-23 - Extend valid URLs with "_-" characters
2013-04-23 - Fix problems on windows systems
2013-04-22 - Bugfix: Language switcher didn't work anymore on a static page
2013-03-22 - Bugfix: Static page wouldn't show even if everything was configured correctly; Please notice that apache rewrite rule has changed
2013-03-18 - Code cleanup according to moodle codechecker
2013-02-18 - Check compatibility for Moodle 2.4, fix language string names to comply with language string name convention
2013-01-21 - Fix a flaw in README file regarding filename examples
2013-01-21 - Fix a flaw in README file regarding Apache mod_rewrite
2013-01-21 - Migrate plugin settings from config.php to a settings page within Moodle
2012-09-26 - Replace deprecated get_context_instance function
2012-06-25 - Update version.php for Moodle 2.3
2012-06-01 - Initial version
Installation
Install the plugin like any other plugin to folder
/local/staticpage
See http://docs.moodle.org/26/en/Installing_plugins for details on installing Moodle plugins
Usage & Settings
The local_staticpage plugin is designed to fetch a static HTML document from disk, enrich it with Moodle navigation and theme and deliver it as a standard Moodle page which exists outside any course. After installing local_staticpage, the plugin should be configured.
To configure the plugin and its behaviour, please visit Plugins -> Local plugins -> Static pages.
There, you find four sections:
- Document directory
In this section, you define the directory where the document files are. local_staticpage takes every file in this directory with a .html filename extension, takes the file's name and content and creates a static page out of it.
Example:
The document directory /var/www/files/moodledata/staticpage contains the files foo.bar and faq.html. local_staticpage looks at the directory and finds two files. File foo.bar is ignored by local_staticpage because it doesn't have the right filename extension. File faq.html will be served as static page with the page name "faq".
- Data source of document title
By default, local_staticpage will use the first
tag as document title, document heading and breadcrumb item title of the resulting Moodle page.
In this section, you can change this behaviour to using the first
Imprint
[Your content goes here]
Please note that the tag is neccessary if you want to use UTF-8 characters in your html document, otherwise they will become crippled when the document is parsed by local_staticpage.
If you want to include images into your static page, please do yourself a favour and link to them with absolute URLs, not relative URLs.
Multiple language support
You can use local_staticpage completely without multilanguage support. But when you need multilanguage support, please create one html document for every language you want to provide (because Moodle multilanguage tags are not supported in your HTML code).
When local_staticpage checks the Document directory for valid static pages files, it will take every file with a .html filename extension as explained above.
After finding a file with a .html filename extension, local_staticpage takes a second look at the filename to see if it can find another filename extension. If there is one, it is used as language of the static page.
Example:
The document directory /var/www/files/moodledata/staticpage contains the files imprint.en.html, impressum.de.html and faq.html. local_staticpage looks at the filename extensions and serves the static pages as follows:
File imprint.en.html will be served as static page with the page name "imprint", but only when the current language of the user is english.
File impressum.de.html will be served as static page with the page name "impressum", but only when the current language of the user is german.
File faq.html will be served as static page with the page name "faq" regardless of the current language of the user.
local_staticpage doesn't know anything about connections with regard to contents between document files. If you want to serve static pages which are translated into multiple languages and which should be switchable with the Moodle language switcher, you are welcome to create symbolic links in your document directory. This has been tested on Unix-like servers, see http://en.wikipedia.org/wiki/Symbolic_link#POSIX_and_Unix-like_operating_systems for details.
Example:
-rw-r-----. 1 root apache 1700 Jan 9 12:20 impressum.de.html
-rw-r-----. 1 root apache 15 Jan 23 22:16 impressum.en.html -> imprint.en.html
-rw-r-----. 1 root apache 17 Jan 23 22:15 imprint.de.html -> impressum.de.html
-rw-r-----. 1 root apache 1658 Jan 9 12:20 imprint.en.html
What you see here is a directory listing with two documents and two symbolic links. local_staticpage will serve the imprint page in the language of the user, regardless of the pagename with which it has been called.
Valid filenames
local_staticpage uses the file's filename as pagename.
However, not all symbols which are allowed in your filesystem are supported for pagenames.
Please make sure that your filenames/pagenames only contain alphanumeric characters and the - (hypen) and _ (underscore) symbols.
Apache mod_rewrite
Using mod_rewrite
local_staticpage is able to use Apache's mod_rewrite module to provide static pages on a clean and understandable URL.
Please add the following to your Apache configuration or your .htaccess file in the Moodle directory:
RewriteEngine On
RewriteRule ^/static/(.*).html$ /local/staticpage/view.php?page=$1&%{QUERY_STRING} [L]
Now, the static pages from the above example are available on
http://www.yourmoodle.com/static/imprint.html
http://www.yourmoodle.com/static/impressum.html
http://www.yourmoodle.com/static/faq.html
If you are running Moodle in a subdirectory on your webserver, please add the following to your Apache configuration or your .htaccess file in the Moodle directory:
RewriteEngine On
RewriteRule ^/yoursubdirectory/static/(.*).html$ /yoursubdirectory/local/staticpage/view.php?page=$1&%{QUERY_STRING} [L]
Now, the static pages from the above example are available on
http://www.yourmoodle.com/yoursubdirectory/static/imprint.html
http://www.yourmoodle.com/yoursubdirectory/static/impressum.html
http://www.yourmoodle.com/yoursubdirectory/static/faq.html
You can now create links to these URLs in a Moodle HTML Block, in your Moodle theme footer and so on.
Not using mod_rewrite
If you don't want or are unable to use Apache's mod_rewrite, local_staticpage will still work.
The static pages from the above example are available on
http://www.yourmoodle.com/local/staticpage/view.php?page=imprint
http://www.yourmoodle.com/local/staticpage/view.php?page=impressum
http://www.yourmoodle.com/local/staticpage/view.php?page=faq
These URLs aren't as catchy as with mod_rewrite, but they work in exactly the same manner.
You can now create links to these URLs in a Moodle HTML Block, in your Moodle theme footer and so on.
Theme
The local_staticpage plugin uses the "standard" pagelayout of your theme by default for creating the Moodle pages. For most themes, this works well.
If you want to style static pages in any special way, you could use a CSS cascade to style static pages content in some special way:
If you are using Apache mod_rewrite URLs, you can use this CSS selector:
body.path-static ... { }
If you are not using Apache mod_rewrite URLs, you can use this CSS selector:
body.path-local-staticpage ... { }
Add blocks to static pages
The local_staticpage plugin was not intended to show blocks on the static pages. However, it is possible. You have to enable page editing somewhere else in Moodle (on your MyMoodle page or on a course page, for example) and go to your static page. Now you see the standard "Add block" menu and can add blocks to the static page. Additionally, if you click on the block's gear icon, you can control if the block is shown only on the static page the block was added to or on all static pages.
Security considerations
local_staticpage does NOT check the static HTML documents for any malicious code, neither for malicious HTML code which will be delivered directly to the user's browser, nor for malicious PHP code which could break DOM parsing when processing the HTML document on the server.
Therefore, please make sure that your HTML code is well-formed and that only authorized and briefed users have write access to the document directory.
Motivation for this plugin
I have seen Moodle installations where there was a need for displaying static information like an imprint, a faq or a contact page and this information couldn't be added everything to the frontpage. As Moodle doesn't have a "page" concept, admins started to create courses, place their information within these courses, open guest access to the course and link to this course from HTML blocks or the custom menu.
I thought that this course overhead doesn't make sense, so I created local_staticpage. It is not meant as a fully features content management solution, especially as you have to work with raw HTML, but it is quite handy for experienced admins for creating some few static pages within Moodle.
Further information
local_staticpage is found in the Moodle Plugins repository: http://moodle.org/plugins/view.php?plugin=local_staticpage
Report a bug or suggest an improvement: https://github.com/moodleuulm/moodle-local_staticpage/issues
Moodle release support
Due to limited ressources, local_staticpage is only maintained for the most recent major release of Moodle. However, previous versions of this plugin which work in legacy major releases of Moodle are still available as-is without any further updates in the Moodle Plugins repository.
There may be several weeks after a new major release of Moodle has been published until I can do a compatibility check and fix problems if necessary. If you encounter problems with a new major release of Moodle - or can confirm that local_staticpage still works with a new major relase - please let me know on https://github.com/moodleuulm/moodle-local_staticpage/issues
Right-to-left support
This plugin has not been tested with Moodle's support for right-to-left (RTL) languages.
If you want to use this plugin with a RTL language and it doesn't work as-is, you are free to send me a pull request on
github with modifications.
Copyright
Alexander Bias, University of Ulm
2.5 (Build: 2013090200) (2013073001)
2.5 (Build: 2013090200)
Plugin type: Local plugins
Frankenstyle component name: local_staticpage
Version build number: 2013073001
Version release name: 2.5 (Build: 2013090200)
Maturity: Stable
Supported Moodle versions: 2.5
Repository URL (Git): https://github.com/moodleuulm/moodle-local_staticpage
Repository branch:
Repository tag:
Issue/bug tracker URL: https://github.com/moodle-an-hochschulen/moodle-local_staticpage/issues
moodle-local_staticpage
Moodle plugin which displays static information pages which exist outside any course, imprint or faq pages for example, complete with Moodle navigation and theme.
Requirements
This plugin requires Moodle 2.5+
Changes
2013-09-02 - Check availability of static page directly on settings page, show error if page isn't downloadable
2013-09-02 - Add an option to set the data source of document title, document heading and breadcrumb item title
2013-08-08 - Improve README
2013-07-30 - Transfer Github repository from github.com/abias/... to github.com/moodleuulm/...; Please update your Git paths if necessary
2013-07-30 - Check compatibility for Moodle 2.5, no functionality change
2013-07-23 - Extend valid URLs with "_-" characters
2013-04-23 - Fix problems on windows systems
2013-04-22 - Bugfix: Language switcher didn't work anymore on a static page
2013-03-22 - Bugfix: Static page wouldn't show even if everything was configured correctly; Please notice that apache rewrite rule has changed
2013-03-18 - Code cleanup according to moodle codechecker
2013-02-18 - Check compatibility for Moodle 2.4, fix language string names to comply with language string name convention
2013-01-21 - Fix a flaw in README file regarding filename examples
2013-01-21 - Fix a flaw in README file regarding Apache mod_rewrite
2013-01-21 - Migrate plugin settings from config.php to a settings page within Moodle
2012-09-26 - Replace deprecated get_context_instance function
2012-06-25 - Update version.php for Moodle 2.3
2012-06-01 - Initial version
Installation
Install the plugin like any other plugin to folder
/local/staticpage
See http://docs.moodle.org/25/en/Installing_plugins for details on installing Moodle plugins
Usage & Settings
The local_staticpage plugin is designed to fetch a static HTML document from disk, enrich it with Moodle navigation and theme and deliver it as a standard Moodle page which exists outside any course. After installing local_staticpage, the plugin should be configured.
To configure the plugin and its behaviour, please visit Plugins -> Local plugins -> Static pages.
There, you find four sections:
- Document directory
In this section, you define the directory where the document files are. local_staticpage takes every file in this directory with a .html filename extension, takes the file's name and content and creates a static page out of it.
Example:
The document directory /var/www/files/moodledata/staticpage contains the files foo.bar and faq.html. local_staticpage looks at the directory and finds two files. File foo.bar is ignored by local_staticpage because it doesn't have the right filename extension. File faq.html will be served as static page with the page name "faq".
- Data source of document title
By default, local_staticpage will use the first
tag as document title, document heading and breadcrumb item title of the resulting Moodle page.
In this section, you can change this behaviour to using the first
Imprint
[Your content goes here]
Please note that the tag is neccessary if you want to use UTF-8 characters in your html document, otherwise they will become crippled when the document is parsed by local_staticpage.
If you want to include images into your static page, please do yourself a favour and link to them with absolute URLs, not relative URLs.
Multiple language support
You can use local_staticpage completely without multilanguage support. But when you need multilanguage support, please create one html document for every language you want to provide (because Moodle multilanguage tags are not supported in your HTML code).
When local_staticpage checks the Document directory for valid static pages files, it will take every file with a .html filename extension as explained above.
After finding a file with a .html filename extension, local_staticpage takes a second look at the filename to see if it can find another filename extension. If there is one, it is used as language of the static page.
Example:
The document directory /var/www/files/moodledata/staticpage contains the files imprint.en.html, impressum.de.html and faq.html. local_staticpage looks at the filename extensions and serves the static pages as follows:
File imprint.en.html will be served as static page with the page name "imprint", but only when the current language of the user is english.
File impressum.de.html will be served as static page with the page name "impressum", but only when the current language of the user is german.
File faq.html will be served as static page with the page name "faq" regardless of the current language of the user.
local_staticpage doesn't know anything about connections with regard to contents between document files. If you want to serve static pages which are translated into multiple languages and which should be switchable with the Moodle language switcher, you are welcome to create symbolic links in your document directory. This has been tested on Unix-like servers, see http://en.wikipedia.org/wiki/Symbolic_link#POSIX_and_Unix-like_operating_systems for details.
Example:
-rw-r-----. 1 root apache 1700 Jan 9 12:20 impressum.de.html
-rw-r-----. 1 root apache 15 Jan 23 22:16 impressum.en.html -> imprint.en.html
-rw-r-----. 1 root apache 17 Jan 23 22:15 imprint.de.html -> impressum.de.html
-rw-r-----. 1 root apache 1658 Jan 9 12:20 imprint.en.html
What you see here is a directory listing with two documents and two symbolic links. local_staticpage will serve the imprint page in the language of the user, regardless of the pagename with which it has been called.
Valid filenames
local_staticpage uses the file's filename as pagename.
However, not all symbols which are allowed in your filesystem are supported for pagenames.
Please make sure that your filenames/pagenames only contain alphanumeric characters and the - (hypen) and _ (underscore) symbols.
Apache mod_rewrite
Using mod_rewrite
local_staticpage is able to use Apache's mod_rewrite module to provide static pages on a clean and understandable URL.
Please add the following to your Apache configuration or your .htaccess file in the Moodle directory:
RewriteEngine On
RewriteRule ^/static/(.*).html$ /local/staticpage/view.php?page=$1&%{QUERY_STRING} [L]
Now, the static pages from the above example are available on
http://www.yourmoodle.com/static/imprint.html
http://www.yourmoodle.com/static/impressum.html
http://www.yourmoodle.com/static/faq.html
If you are running Moodle in a subdirectory on your webserver, please add the following to your Apache configuration or your .htaccess file in the Moodle directory:
RewriteEngine On
RewriteRule ^/yoursubdirectory/static/(.*).html$ /yoursubdirectory/local/staticpage/view.php?page=$1&%{QUERY_STRING} [L]
Now, the static pages from the above example are available on
http://www.yourmoodle.com/yoursubdirectory/static/imprint.html
http://www.yourmoodle.com/yoursubdirectory/static/impressum.html
http://www.yourmoodle.com/yoursubdirectory/static/faq.html
You can now create links to these URLs in a Moodle HTML Block, in your Moodle theme footer and so on.
Not using mod_rewrite
If you don't want or are unable to use Apache's mod_rewrite, local_staticpage will still work.
The static pages from the above example are available on
http://www.yourmoodle.com/local/staticpage/view.php?page=imprint
http://www.yourmoodle.com/local/staticpage/view.php?page=impressum
http://www.yourmoodle.com/local/staticpage/view.php?page=faq
These URLs aren't as catchy as with mod_rewrite, but they work in exactly the same manner.
You can now create links to these URLs in a Moodle HTML Block, in your Moodle theme footer and so on.
Theme
The local_staticpage plugin uses the "standard" pagelayout of your theme by default for creating the Moodle pages. For most themes, this works well.
If you want to style static pages in any special way, you could extend your theme with a "staticpage" pagelayout. local_staticpage will use this pagelayout as soon as it exists in your /theme/
$THEME->layouts = array(
[...]
'staticpage' => array(
'file' => 'general.php',
'regions' => array('side-pre'),
'defaultregion' => 'side-pre',
'options' => array('langmenu'=>true)
);
With this pagelayout, you could use a CSS cascade like this to style static pages content in some special way:
body.pagelayout-staticpage ... { }
Security considerations
local_staticpage does NOT check the static HTML documents for any malicious code, neither for malicious HTML code which will be delivered directly to the user's browser, nor for malicious PHP code which could break DOM parsing when processing the HTML document on the server.
Therefore, please make sure that your HTML code is well-formed and that only authorized and briefed users have write access to the document directory.
Motivation for this plugin
I have seen Moodle installations where there was a need for displaying static information like an imprint, a faq or a contact page and this information couldn't be added everything to the frontpage. As Moodle doesn't have a "page" concept, admins started to create courses, place their information within these courses, open guest access to the course and link to this course from HTML blocks or the custom menu.
I thought that this course overhead doesn't make sense, so I created local_staticpage. It is not meant as a fully features content management solution, especially as you have to work with raw HTML, but it is quite handy for experienced admins for creating some few static pages within Moodle.
Further information
local_staticpage is found in the Moodle Plugins repository: http://moodle.org/plugins/view.php?plugin=local_staticpage
Report a bug or suggest an improvement: https://github.com/moodleuulm/moodle-local_staticpage/issues
Moodle release support
Due to limited ressources, local_staticpage is only maintained for the most recent major release of Moodle. However, previous versions of this plugin which work in legacy major releases of Moodle are still available as-is without any further updates in the Moodle Plugins repository.
There may be several weeks after a new major release of Moodle has been published until I can do a compatibility check and fix problems if necessary. If you encounter problems with a new major release of Moodle - or can confirm that local_staticpage still works with a new major relase - please let me know on https://github.com/moodleuulm/moodle-local_staticpage/issues
Right-to-left support
This plugin has not been tested with Moodle's support for right-to-left (RTL) languages.
If you want to use this plugin with a RTL language and it doesn't work as-is, you are free to send me a pull request on
github with modifications.
Copyright
Alexander Bias, University of Ulm
2.4 (Build: 2013042200) (2013021803)
2.4 (Build: 2013042200)
Plugin type: Local plugins
Frankenstyle component name: local_staticpage
Version build number: 2013021803
Version release name: 2.4 (Build: 2013042200)
Maturity: Stable
Supported Moodle versions: 2.4
Repository URL (Git): https://github.com/abias/moodle-local_staticpage
Repository branch:
Repository tag:
Issue/bug tracker URL: https://github.com/moodle-an-hochschulen/moodle-local_staticpage/issues
moodle-local_staticpage
=======================
Moodle plugin which displays static information pages which exist outside any course, imprint or faq pages for example, complete with Moodle navigation and theme.
Requirements
============
This plugin requires Moodle 2.4+
Changes
=======
2013-04-23 - Fix problems on windows systems
2013-04-22 - Bugfix: Language switcher didn't work anymore on a static page
2013-03-22 - Bugfix: Static page wouldn't show even if everything was configured correctly; Please notice that apache rewrite rule has changed
2013-03-18 - Code cleanup according to moodle codechecker
2013-02-18 - Check compatibility for Moodle 2.4, fix language string names to comply with language string name convention
2013-01-21 - Fix a flaw in README file regarding filename examples
2013-01-21 - Fix a flaw in README file regarding Apache mod_rewrite
2013-01-21 - Migrate plugin settings from config.php to a settings page within Moodle
2012-09-26 - Replace deprecated get_context_instance function
2012-06-25 - Update version.php for Moodle 2.3
2012-06-01 - Initial version
Installation
============
Install the plugin like any other plugin to folder
/local/staticpage
See http://docs.moodle.org/24/en/Installing_plugins for details on installing Moodle plugins
Usage & Settings
================
The local_staticpage plugin is designed to fetch a static HTML document from disk, enrich it with Moodle navigation and theme and deliver it as a standard Moodle page which exists outside any course. After installing local_staticpage, the plugin should be configured.
To configure the plugin and its behaviour, please visit Plugins -> Local plugins -> Static pages.
There, you find three sections:
1. Document directory
---------------------
In this section, you define the directory where the document files are. local_staticpage takes every file in this directory with a .html filename extension, takes the file's name and content and creates a static page out of it.
Example:
The document directory /var/www/files/moodledata/staticpage contains the files foo.bar and faq.html. local_staticpage looks at the directory and finds two files. File foo.bar is ignored by local_staticpage because it doesn't have the right filename extension. File faq.html will be served as static page with the page name "faq".
After finding a file with a .html filename extension, local_staticpage takes a second look at the filename to see if it can find another filename extension. If there is one, it is used as language of the static page.
Example:
The document directory /var/www/files/moodledata/staticpage contains the files imprint.en.html, impressum.de.html and faq.html. local_staticpage looks at the filename extensions and serves the static pages as follows:
File imprint.en.html will be served as static page with the page name "imprint", but only when the current language of the user is english.
File impressum.de.html will be served as static page with the page name "impressum", but only when the current language of the user is german.
File faq.html will be served as static page with the page name "faq" regardless of the current language of the user.
local_staticpage doesn't know anything about connections with regard to contents between document files. If you want to serve static pages which are translated into multiple languages and which should be switchable with the Moodle language switcher, you are welcome to create symbolic links in your document directory. This has been tested on Unix-like servers, see http://en.wikipedia.org/wiki/Symbolic_link#POSIX_and_Unix-like_operating_systems for details.
Example:
-rw-r-----. 1 root apache 1700 Jan 9 12:20 impressum.de.html
-rw-r-----. 1 root apache 15 Jan 23 22:16 impressum.en.html -> imprint.en.html
-rw-r-----. 1 root apache 17 Jan 23 22:15 imprint.de.html -> impressum.de.html
-rw-r-----. 1 root apache 1658 Jan 9 12:20 imprint.en.html
What you see here is a directory listing with two documents and two symbolic links. local_staticpage will serve the imprint page in the language of the user, regardless of the pagename with which it has been called.
2. Force Apache mod_rewrite
---------------------------
With this setting, you can configure local_staticpage to only serve static pages on a clean URL, using Apache's mod_rewrite module. See "Apache mod_rewrite" section below for details.
3. Document list
----------------
As soon as you have configured the document directory setting and saved your settings, this list shows all files which have been found in the document directory and their URLs.
Create documents
================
Now, you have to create the html documents and put them in the document directory.
For each static page you want to serve, create a HTML document in the document directory, named as <pagename>.html (for all languages) or <pagename>.<language>.html (for only one language)
As the local_staticpage's HTML reader (DOM parser) is quite dumb, there is a proposed structure for the html documents:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Imprint</title>
</head>
<body>
<h1>Imprint</h1>
[Your content goes here]
</body>
</html>
local_staticpage will use the first <h1> tag as heading, title and breadcrumb of the resulting Moodle page.
If there is no <h1> tag, the heading, title and breadcrumb of the resulting Moodle page will be set to the pagename derived from the document filename.
Writing your HTML documents, you could omit the whole <head> section, but:
- The <meta> tag is neccessary if you want to use UTF-8 characters in your html document, otherwise they will become crippled when the document is parsed by local_staticpage.
- The <title> tag is useful when you want to use the html document in any other way, but local_staticpage will ignore it completely.
Please create one html document for every language you want to support. Moodle multilanguage tags are not supported in your HTML code.
If you want to include images into your static page, please do yourself a favour and link to them with absolute URLs, not relative URLs.
Apache mod_rewrite
==================
Using mod_rewrite
-----------------
local_staticpage is able to use Apache's mod_rewrite module to provide static pages on a clean and understandable URL.
Please add the following to your Apache configuration or your .htaccess file in the Moodle directory:
RewriteEngine On
RewriteRule ^/static/(.*)\.html$ /local/staticpage/view.php?page=$1&%{QUERY_STRING} [L]
Now, the static pages from the above example are available on
http://www.yourmoodle.com/static/imprint.html
http://www.yourmoodle.com/static/impressum.html
http://www.yourmoodle.com/static/faq.html
You can now create links to these URLs in a Moodle HTML Block, in your Moodle theme footer and so on.
Not using mod_rewrite
---------------------
If you don't want or are unable to use Apache's mod_rewrite, local_staticpage will still work.
The static pages from the above example are available on
http://www.yourmoodle.com/local/staticpage/view.php?page=imprint
http://www.yourmoodle.com/local/staticpage/view.php?page=impressum
http://www.yourmoodle.com/local/staticpage/view.php?page=faq
These URLs aren't as catchy as with mod_rewrite, but they work in exactly the same manner.
You can now create links to these URLs in a Moodle HTML Block, in your Moodle theme footer and so on.
Theme
=====
The local_staticpage plugin uses the "standard" pagelayout of your theme by default for creating the Moodle pages. For most themes, this works well.
If you want to style static pages in any special way, you could extend your theme with a "staticpage" pagelayout. local_staticpage will use this pagelayout as soon as it exists in your /theme/<yourtheme>/config.php:
$THEME->layouts = array(
[...]
'staticpage' => array(
'file' => 'general.php',
'regions' => array('side-pre'),
'defaultregion' => 'side-pre',
'options' => array('langmenu'=>true)
);
With this pagelayout, you could use a CSS cascade like this to style static pages content in some special way:
body.pagelayout-staticpage ... { }
Security considerations
=======================
local_staticpage does NOT check the static HTML documents for any malicious code, neither for malicious HTML code which will be delivered directly to the user's browser, nor for malicious PHP code which could break DOM parsing when processing the HTML document on the server.
Therefore, please make sure that your HTML code is well-formed and that only authorized and briefed users have write access to the document directory.
Further information
===================
local_staticpage is found in the Moodle Plugins repository: http://moodle.org/plugins/view.php?plugin=local_staticpage
Report a bug or suggest an improvement: https://github.com/abias/moodle-local_staticpage/issues
Moodle release support
======================
Due to limited ressources, local_staticpage is only maintained for the most recent major release of Moodle. However, previous versions of this plugin which work in legacy major releases of Moodle are still available as-is without any further updates in the Moodle Plugins repository.
There may be several weeks after a new major release of Moodle has been published until I can do a compatibility check and fix problems if necessary. If you encounter problems with a new major release of Moodle - or can confirm that local_staticpage still works with a new major relase - please let me know on https://github.com/abias/moodle-local_staticpage/issues
Right-to-left support
=====================
This plugin has not been tested with Moodle's support for right-to-left (RTL) languages.
If you want to use this plugin with a RTL language and it doesn't work as-is, you are free to send me a pull request on
github with modifications.
Copyright
=========
Alexander Bias, University of Ulm