General plugins (Local): Static Pages

Maintained by Picture of Ulm University Ulm University, Picture of Alexander Bias 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
1396 sites
92 fans

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 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 anymore.

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.


Screenshot #0


Picture of Ulm University
Ulm University (Lead maintainer)
Picture of Alexander Bias
Alexander Bias: Developer
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Eden Caplan
    Thu, 9 Feb 2017, 10:02 PM
    HI Alex,
    I have moodle 3.1.2+, and I'm trying to use your plugin.
    I have to issues-
    1. whem I'm uploading the HTML file, it appears on top of the theme and overrides it. (theme is Eguru)
    2. In the description itsays that there is a section that shows the list of URLs I created. and I don't have it.
    it's in section 3 of thr read-me link.

    Is there anyway you can help me solve these problems?

  • Picture of Alexander Bias
    Thu, 9 Feb 2017, 10:29 PM
    Hi Eden,

    > 1. whem I'm uploading the HTML file, it appears on top of the theme and overrides it. (theme is Eguru)

    I don't fully understand what you are telling me but it somehow sounds as if you try to upload the HTML file with drag and drop and this does not work.
    Please create a ticket with screenshots on if this problem persists.

    > 2. In the description itsays that there is a section that shows the list of URLs I created. and I don't have it.
    it's in section 3 of thr read-me link.

    This feature was there up to the 2.9 version of the plugin and came back in the 3.2 version. If you are using Moodle 3.1 with the 3.1 version of the plugin, you don't have this feature.
    But you can get the latest version from, remove the $plugin->requires line from version.php and use this 3.2 version on Moodle 3.1 at your own risk.

  • Picture of Ahmed Ibrahim
    Sun, 2 Apr 2017, 5:14 PM
    When I uploaded html there is a strange line appears on its top which is:
    YPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "">
    How can I get rid off this line?
    I am using Moodle 3.2 with Eduhub theme
  • Picture of Alexander Bias
    Sun, 2 Apr 2017, 6:08 PM
    Ahmed, please have a look at for an explanation and solution
  • Picture of Ahmed Ibrahim
    Sun, 2 Apr 2017, 8:43 PM
    Thank you Alex very much
  • Picture of Farooq Sultan
    Wed, 12 Apr 2017, 3:00 AM
    Thanks. I have installed on moodle 3.2 with Essential these. It works like a charm. Thank you Alexander for making my job easy.
  • Picture of Mitja Decman
    Fri, 21 Apr 2017, 5:02 PM
    Hi, I would like to use d3plus page ( in moodle, but moodle shows nothing as a static page, though it shows fine as a html (
    Does static page support pages like this one (
    Thank you.
  • Picture of Alexander Bias
    Fri, 21 Apr 2017, 5:20 PM
    Hi Mitja,

    at first glance, I see two fundamental problems:
    * The HTML document which you have linked does not have head and body tags. This plugin only takes the content from the body tag and shows it on the static page. If there is no body tag, the static page does not show any content.
    * The script tags loading additional scripts should be placed inside the head tag in a normal HTML document. But this plugin is build to ignore the content of the head tag, so you would have to place it into the body tag, too.

    Additionally, I don't know if the HTML parser this plugin is using might break the inline script and JSON data.

    Summing up, static pages are not built to display content like that currently. As an alternative, you could add a page activity to your site's frontpage and drop the HTML code into the Atto editor of this page.

  • Picture of Mitja Decman
    Fri, 21 Apr 2017, 8:48 PM
    Alex, thanks a lot.
  • Picture of Olga Kim
    Wed, 26 Apr 2017, 2:08 AM
    I need pages "about us" "contact" and so on, but I don't understand why you say that links will be like this
    I don't need a word 'static' in between
    Is it possible to create link like this ?
  • Picture of Olga Kim
    Wed, 26 Apr 2017, 3:43 PM
    Please, can anyone explain me why do we need the word static in the URL? My users don't care about it
  • Picture of Alexander Bias
    Wed, 26 Apr 2017, 6:09 PM
    Hi Olga,

    first of all: This plugin and the support for the plugin is provided on a voluntary basis. Please give us some time get to your question, thanks for your patience.

    Regarding your question: In the plugin's README, you can read that the standard page URLs which are created by the plugin look like this:[pagename]

    If you are able and willing to use mod_rewrite in your Apache webserver (or a similar mechanism depending on your webserver setup), you can rewrite these URLs to pretty URLs. We provide a rewrite rule in the README which will rewrite the URLs to

    However, it's up to you to create whatever rewrite rule you want. And yes, it is technically possible to create links like We just can't provide any support or directions for this goal due to limited resources. You will have to create a rewrite rule yourself or talk to your webserver admin to create it for you.

  • Picture of Olga Kim
    Wed, 26 Apr 2017, 6:38 PM
    Thank you very much for explanations! Very useful!
  • Picture of Fred Sayler
    Sat, 23 Sep 2017, 2:20 AM
    Hello Alexander; I had sent a message to your link. Maybe I should have posted here?
    fred sayler
  • Picture of Harley Dangan
    Tue, 13 Feb 2018, 3:04 PM
    Hi Alexander. The static pages open in a new tab. Is there a way to make them open in the same tab? Or do I need to edit some PHP code? Thanks!
1 2 3 4 5 6 7 8 9 10 11 12 13
Please login to post comments