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:
4588 sites
4k downloads
214 fans
Current versions available: 22

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

Comments

  • Alexander Bias
    Fri, 30 Oct 2015, 3:45 PM
    Sorry for the late answer, I was unavailable for some days.

    Now I see that you have a filename "faqarabic2.eng.html". Please change that to "faqarabic2.en.html" (two letters used for language identification) and check if it works then.

    Thanks,
    Alex
  • myname
    Sun, 1 Nov 2015, 7:09 PM
    شكراً لك
    Thank you , it works when I changed name of file to faqarabic2.en.html and now translation works for me

    thanks again
  • Simon Thomas
    Fri, 20 Nov 2015, 5:59 AM
    Alexander - what I am trying to do is to create html pages using static page that post within the Moodle container - rather than as an open page outside the container. I am not sure if Static Page is designed for this - but humbly ask if you can help me.
  • Alexander Bias
    Fri, 20 Nov 2015, 2:17 PM
    Hi Simon,

    I have to admit that I have no idea what you mean with "Moodle container"...

    Alex
  • Bob H.
    Thu, 3 Dec 2015, 5:02 AM
    Hi Alexander, great plugin! However version 2.9 doesn't seem to be working properly in MOODLE 3.0

    Do you have any plans to release an update?
  • Alexander Bias
    Thu, 3 Dec 2015, 5:25 AM
    Hi Bob,

    I'm sorry that there are problems in 3.0 for you.
    Yes, we plan to release updates, but testing and development has not started yet due to our internal release cycle.

    Would you mind describe your problem in a ticket on https://github.com/moodleuulm/moodle-local_staticpage/issues so I can have a deeper look at it?

    Thanks,
    Alex
  • Pimenko
    Thu, 3 Dec 2015, 5:14 PM
    Hi,

    Thanks for your plug-in.
    In my case, I just try this plugin in Moodle 3.0. It's work well but I can't use RewriteEngine in my case. Not sure there's a link with version of Moodle.

    best regards.

  • Pimenko
    Thu, 3 Dec 2015, 6:08 PM
    Hi,

    In fact works fine. In my case, I need to adapt to my hosting. I just added :
    RewriteBase /
    and modify the Rewrite Rule.

    Thanks again for your plug-in. I use to "Site policy" + "FAQ" + "course information".

    ++
  • Alexander Bias
    Thu, 3 Dec 2015, 8:08 PM
    Thanks, clemens, for your comment about 3.0. Great to hear that it works there.

    Bob, perhaps then there is a basic problem with your installation which is not related to the Moodle version. Anyway, please submit your bug report in Github for analysis.

    Alex
  • Bob H.
    Fri, 4 Dec 2015, 6:50 AM
    I'm back with some feedback: I uninstalled the plugin, and reinstalled it manually (by copying the files to the local folder using ftp). It works fine now.

    I first installed the plugin by dragging and dropping the zip file into the MOODLE 3.0 interface; maybe there's something wrong there.
  • Marc Shecter
    Wed, 27 Jan 2016, 2:22 AM
    Great plugin. Thank you.
  • Phuong Hoang
    Fri, 4 Mar 2016, 9:00 PM
    Hi guys,
    After reading README, I'm really confused; I don't know what to do. Can I get it right? Install the plugin like any other plugin to folder
    /local/staticpage, then create html file called faq.html for example and upload it to /local/staticpage. Why in README it says: "The document directory /var/www/files/moodledata/staticpage contains the files foo.bar and faq.html". I'm really confused. Is anyone kind enough to instruct me step by step? I know I'm wrong (wrong configuration) because it says; "The document directory doesn't exist, therefore there are no static pages to be delivered." but I don't know which step I'm wrong?
    Many thanks in advance,
  • Alexander Bias
    Sat, 5 Mar 2016, 2:46 AM
    Phuong,

    there was a multitude of questions like yours in the past about our plugin.

    With the release of the plugin for Moodle 3.0, we changed the way the plugin works - away from a filesystem based storage in Moodledata to a filearea which can be filled in the Moodle GUI. This change should solve most of the obstacles users were facing.

    Now your question is targeted at the older versions of the plugin which we cannot support anymore. Please check out the version for Moodle 3.0. If you don't have Moodle 3.0 yet, you can remove the line starting with $plugin->requires from version.php and install it in legacy versions at your own risk.

    Thanks,
    Alex
  • Phuong Hoang
    Sat, 5 Mar 2016, 12:18 PM
    Hi Alex,
    Thanks for your reply. I'm using moodle 2.9.4+, not quite old version. I don't upgrade to moodle 3 because my favorite plugins aren't supported in moodle 3. So how can I install your plugin in moodle 2.9? Just remove the line starting with $plugin->requires from version.php?
    With kind regards,
  • Alexander Bias
    Sun, 6 Mar 2016, 4:09 PM
    Hi Phuong,

    > So how can I install your plugin in moodle 2.9? Just remove the line starting with $plugin->requires from version.php?

    Yes, I already said that above smile
    But note that you do this at your own risk. I think the Moodle 3.0 version will run well on Moodle 2.9, but I won't guarantee anything.

    Thanks,
    Alex
Please login to post comments