Static Pages

Local plugins ::: local_staticpage
Maintained by Logo "Moodle an Hochschulen e.V."Moodle an Hochschulen e.V., Alexander Bias
Moodle plugin which displays static information pages which exist outside any course, imprint or faq pages for example, complete with Moodle navigation and theme
Latest release:
4895 sites
2k downloads
230 fans
Current versions available: 25

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.

Screenshots

Screenshot #0

Contributors

Logo "Moodle an Hochschulen e.V."
Moodle an Hochschulen e.V. (Lead maintainer): Maintainer
Alexander Bias: Maintainer
Ulm University: Initial Maintainer
Kathrin Osswald: Former Developer
Please login to view contributors details and/or to contact them

Comments RSS

Các bình luận

  • Georg Wiesinger
    Th 3, 11 thg 10 2016, 3:53 PM
    Hi Alexander, may I ask again how to add a block for one static page only! If I'm doing so the block always show up on all my static pages. Moodle 3.1.2+, latest version of static pages

    Many thanks in advance!
  • RK B
    Th 5, 13 thg 10 2016, 2:37 AM
    Need some help.
    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.
  • Jarreau Mathys
    Th 5, 13 thg 10 2016, 10:27 AM
    I am trying to do the same thing!
  • Ondine Payne
    Th 4, 19 thg 10 2016, 5:12 AM
    Hi. I am new on Moodle and I am very interested in the Static Page plugin. Installation was easy and uploading html files went fine too. However, I am unable to see my files on the browser. I have used the path for mysite/mymoodlefolder/static/myfile.html but I only get a 404 message indicating the page was not found. I have tried every possible combination, but still no results. I wonder what I might be doing wrong.
  • Alexander Bias
    Th 4, 19 thg 10 2016, 6:46 PM
    Hi all,

    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
  • Hans B0s
    Th 5, 20 thg 10 2016, 6:42 PM
    Hi 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.
  • Chaits Kul
    Th 7, 3 thg 12 2016, 2:51 PM
    Hi Alex,

    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
  • Alexander Bias
    CN, 4 thg 12 2016, 4:42 AM
    Hi Chaits,

    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
  • marwa bekrar
    Th 3, 6 thg 12 2016, 8:10 PM
    Hi Alexander,

    Can you answer my question here please : https://moodle.org/mod/forum/discuss.php?d=343877#p1386922

    I really need your help
  • Chaits Kul
    Th 5, 8 thg 12 2016, 9:12 PM
    Hi Alex,

    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
  • Alexander Bias
    Th 5, 8 thg 12 2016, 9:44 PM
    Hi Chaits,

    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
  • Chaits Kul
    CN, 11 thg 12 2016, 6:11 PM
    Hi Alex,

    Here is the error even after uploading to /local/staticpage - http://imgur.com/rpgM6zo.

    Thanks
  • Alexander Bias
    Th 2, 12 thg 12 2016, 3:25 PM
    Hi Chaits,

    well, this looks fine now. Just confirm this dialogue to install the plugin.

    Thanks,
    Alex
  • Milciades Ramirez
    Th 3, 24 thg 1 2017, 1:27 AM
    Excellent plugin... I want to know if is possible to insert a video into html static page?
  • Alexander Bias
    Th 3, 24 thg 1 2017, 5:14 AM
    Hi Milciades,

    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
Please login to post comments