Static Pages version 1.0
created by James Lehmann a.k.a. Ravenswood
email: ravenswd@gmail.com
website: www.scriptmonkeys.us

For other Phorum modules and templates, as well as a variety of other PHP scripts,
visit http://www.scriptmonkeys.us

This is an add-on module for the Phorum software.
For further information on Phorum, visit http://www.phorum.org/

===================================================================================================================


General Information:
--------------------

This module allows administrators to create and edit static pages that will be automatically skinned to look like
the active Phorum template. Pages will dynamically change appearance when a new template is selected. This feature
can be used to create forum information pages, such as privacy policy, or could be used to create a splash page for 
the forum itself. This module adds CMS capabilities to Phorum.


To Install:
-----------

1. Unpack file.
2. Upload folder to /mods directory.
3. From the Phorum Admin panel, go to "modules" page.
4. Activate module Static Pages. Remember to click "Submit" at the bottom of the screen.
5. From Static Pages, click "Settings" to access module.


Quick Notes:
------------

* Pages can be formatted using basic HTML, as well as CSS tags contained in the current active template. CSS settings
    can be found in the files css.tpl and settings.tpl in the directory (phorum)/templates/(current template).
* Pages generated by this module are saved as template (.tpl) files. To that end, advanced users can utilize Phorum
    functionality through these pages, such as using template variables, calling hooks, and including PHP code.
* Formatting tip: In the Emerald template (and all Scriptmonkeys templates), to have the content appear in a box, put
    <div class="generic"> at the start of your pages and </div> at the end, like this:

        <div class="generic">
        ... your page text here ...
        </div>

* The included sample file contains these tags, and can be used as a starting point.


NOTICE:
-------

This module allows the editing of files, but does NOT make backup copies of those files. You must make your own backups 
prior to starting. If you do not, and you accidentally edit or delete the wrong file, there will not be any way to
recover the original file.


Future Version To-Do List:
--------------------------

  * Store title and other information per page.
  * Display output in an optional frame so it looks nice.
  * Add javascript to warn people if they try to leave an edit screen without saving.


Files:
------

static_pages/
    static_pages.php
    info.txt
    README
    settings.php
    templates/emerald/sample_page.tpl
