Static Pages

General plugins (Local) ::: 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:
4006 sites
1k downloads
181 fans
Current versions available: 18

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: Developer
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • پ, 11 چىللە 2019, 6:13
    thanks for your work
    i am trying to embed a video from youtube but it doesnt seem to play any ideas?
  • ج, 27 مىزان 2019, 7:43
    great work, thanks
    I could put in my site but can't embed videos

  • ش, 14 كۆنەك 2019, 1:33
    Great post. Thanks for the information.
  • د, 13 قەھرىتان 2020, 1:41
    Thank for sharing information
  • د, 30 نورۇز 2020, 10:26
    Thanks for this plugin, it's fantastic! Now I can serve static content on my moodle site.
    How can I add images to the static pages? I have tried what Darrel Tenter suggested about seven years ago! but with no success. Please help
  • ج, 24 ئۈمىد 2020, 7:25
    @decalaveras deesqueletos ,Héctor Lizarraga
    You may choose NO here in settings>> Clean HTML code

  • س, 16 سەپەر 2020, 3:51
    Hello Static Pages developer team,
    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.
  • پ, 30 چىللە 2020, 7:52
    Hello Developer team,
    Is it possible to create require login on specific custom static pages ?
  • A Coloradian who was sucked into facebook against his wishes
    د, 14 مىزان 2020, 3:22
    I am having the exact same issue as Balazs DaVinci.
    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.
  • پ, 3 كۆنەك 2020, 10:27
    Hello i have the issue with the plugin after uploading the html file of the page i get this error :

    " 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.
  • س, 15 كۆنەك 2020, 3:29
    Hi! I am trying to understand this plugin better: where are the html files actually stored, or how to specify the location to store those html files for the static pages?
    Thanks a lot!
  • پ, 19 تومۇز 2021, 8:37
    Hi, am new to this. Could anyone help me set this right please? "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"

    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?
  • د, 13 مىزان 2021, 3:35
    i finally got the solution (clean URL )
    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
  • چ, 15 سەپەر 2022, 10:23
    When can we get this plugin for moodle V4 ? Any idea?
1 2 3 4 5 6 7 8 9 10 11 12 13 14
Please login to post comments