Static Pages
Maintained by
Alexander Bias, Moodle an Hochschulen e.V.
Moodle plugin which displays static information pages which exist outside any course, imprint or faq pages for example, complete with Moodle navigation and theme
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
Love this plugin!
1. Will you be updating this plugin to 5.0?
2. Can you update this plugin so that it will work with the moodle mobile app? Currently it opens outside the app and does not retain login/session information requiring the user to re-login to the site.
I am taken to Dashboard > Site administration > Notifications
I see notifications about newer versions of Moodle being available.
I get this notification: There was 5 mins between the last two runs of the cron maintenance script and it should run every 1 min. We recommend configuring it to run more frequently.
I get this notification: The Moodle app is not enabled. |Enable web services for mobile devices|
I like the version that I am using. I like my cron setting. I am not interested in having web services for mobile devices.
Why wont this work?
To help people who are considering upgrading to the Long Term Moodle version 4.1
Can you share if you have either plans or a timeline yet for this wonderful plugin to suit Moodle 4.1?
Thank you for all your work
RewriteEngine On
RewriteRule ^static/(.*)\.html$ local/staticpage/view.php?page=$1&%{QUERY_STRING} [L]
Notice the missing slash before local/staticpage
1 - log in to your cpanel >>filemanager>> 2- type in the search box ".htaccess"
3 - dont forget to show hiden files from settings gear in top right
4- many result appears : choose the one that contain public_html
5- entre where the file is & select it & edit it
6- add the code in buttom
RewriteEngine On
RewriteRule ^static/(.*)\.html$ /local/staticpage/view.php?page=$1&%{QUERY_STRING} [L]
and that is it
this worked for me centos
hope this help someone
Not available - Non-2xx"
I created a word document with text and images and saved it as .htm and uploaded it into Static Pages document. All other settings were as recommended. However, this is the error. How do I correct this?
https://github.com/moodleuulm/moodle-local_staticpage#1-documents
Thanks a lot!
" The following document file was found:
contact.html
From the document file's filename, Moodle derived the following pagename:
contact
The static page should be available to at the following clean URL, but actually a browser won't be able to download and view it due to a non-2xx HTTP status code (perhaps there is something wrong with your webserver or mod_rewrite configuration - see README file for details):
Not available - Non-2xx https://domaine.com/static/contact.html "
I have tried to add the htaccess code as said in the README.md but it still don't work.
I would like to use Static Pages to create a Contact Form page.
For creating the contact form I use 2 plugins, the Contact Form (local_contact) and the FilterCodes
The created contact form works when it is added as page activity within a Moodle course.
But it doens't work when I add it as a HTML page within Static Pages.
Is it possible to create require login on specific custom static pages ?
I would like to use Static Pages to create a Contact Form page.
For creating the contact form I use 2 plugins, the Contact Form (local_contact) and the FilterCodes (filter_filtercodes) plugins.
The created contact form works when it is added as page activity within a Moodle course.
But it doens't work when I add it as a HTML page within Static Pages.
What could be the issue?
Thanks a lot for the tips.
You may choose NO here in settings>> Clean HTML code