Moodle Plugins directory: Static Pages | Moodle.org

Static Pages
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 this plugin. It is designed to deliver static HTML documents, enriched with Moodle layout and navigation as a standard Moodle page which exist outside any course. Static pages will be available on catchy URLs like http://www.yourmoodle.com/static/faq.html and can be linked from Moodle HTML blocks, from your Moodle theme footer and so on.
Using this plugin, you can create information pages within moodle, but without misusing a whole course just for showing a textbox. 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.
Please see README file for details about the usage and features of this plugin.
No support in the comments section on this page
Please note that we don't provide any support for this plugin in the comments section on this page.
We appreciate your commendation and reviews for this plugin in the comments. For bug reports and support requests, please read the extensive information in the plugin's README file first and create, if needed, a ticket in the bug tracker which is linked below.
Thanks for your cooperation.
Many thanks in advance!
I need to embed some java script code into a html file and do some handshake with a cloud service. Can I use this plugin to do so.
sorry for the late replies again.
Georg,
I wrote you a personal message.
Rama,
from my point of view, you are free to add whatever you want to the .html file as long as its valid HTML (with JS embedded if necessary). Just give it a try. I am sorry that further support is out of scope of our work for this plugin.
Ondine,
Have you read https://github.com/moodleuulm/moodle-local_staticpage/blob/master/README.md ?
Basically, the static page should appear on (following your example) mysite/mymoodlefolder/local/staticpage/view.php?page=myfile.
The clean URL will only work if you have configured your webserver to rewrite the URLs.
Thanks,
Alex
I had a problem finding my HTML pages (on Moodle 3.1.x)
I've used you example path: mysite/mymoodlefolder/local/staticpage/view.php?page=myfile.
It turned out that I had to skip the HTML extension and use 'myfile' instead of 'myfile.html'.
Think it could be useful to make a remark of it in you read-me file not to use html in the path to the file.
Thanks.
Hans.
How do I install this manually on local drive? Do I upload the "staticpage" folder to /mod/ directory or somewhere else?
Currently when I upload it to mod directory, it shows - "Plugins requiring attention" with the details in the screenshot here - http://imgur.com/xRj0EQ6
Thanks
well, if you had read https://github.com/moodleuulm/moodle-local_staticpage/blob/master/README.md#installation, you would know where to install the plugin...
Thanks,
Alex
Can you answer my question here please : https://moodle.org/mod/forum/discuss.php?d=343877#p1386922
I really need your help
Sorry about that. However when I upload it to the right folder too I get the same message as in the screenshot here - http://imgur.com/xRj0EQ6
Is there a work around for version difference?
Thanks
really? The screenshot says that you have placed the plugin into /mod/staticpage. But you must place it into /local/staticpage. After that, the plugin installation really should work.
Thanks,
Alex
Here is the error even after uploading to /local/staticpage - http://imgur.com/rpgM6zo.
Thanks
well, this looks fine now. Just confirm this dialogue to install the plugin.
Thanks,
Alex
thanks for asking.
Please have a look at https://github.com/moodleuulm/moodle-local_staticpage/blob/master/README.md#adding-images-to-static-pages. Similarly to images, you can't upload any videos to the static pages plugin. But if you host the video externally, for example on YouTube, you can add the embed code to the HTML code of your static page.
Thanks,
Alex