Septum Reference

This is the Septum reference.

This is the Septum reference.
Using Septum is easy.
The page you create should be called <name>.pg, for example
To load a page, you need to specify its name.
Tokens are placeholders for your text.
This program is released under the GNU GPL.
The program and documentation were written by Poromenos.

Quick start

Using Septum is easy.  First of all, you must create a template (which should be 100% pure HTML, unfortunately server-side scripting is not supported) and call it template.src.  Topic: Making a template The template is that section of your side that stays the same in all the pages.  This is typically the section of the page that contains the sidebar, colors, styles, etc.  You need to insert <tokens> wherever you want your content to go, and precede the template file with the “end keywords” token (the default is [[[END-KEYWORDS]]]).  A sample template follows.


The [[[END-KEYWORDS]]] token is important, don’t forget to include it.

Creating a page

The page you create should be called <name>.pg, for example  You can change the default extension in the options.  The page should have a <token> definition on one line followed by a colon and the text you want it to be replaced with on the following lines (HTML is permitted and, in fact, suggested).  The end of each token should be signified with the “end token” tag, (the default is [[[END-TOKEN]]]).  A sample page follows (this page will go into the template above).

A sample page.
This is the text to go on the template.

Loading the page

To load a page, you need to specify its name.  This is done by specifying the URL like this, http://yoursite/index.php?page=pagename.  You can change the “index.php” part by renaming the main Septum file and the “page” part by editing the options in the source.  Try the above example.  If nothing is specified and the URL is just http://yoursite/ (assuming that Septum is called index.php), then it will try to load



Tokens are placeholders for your text.  You insert them in the template and when the user requests the page, they are automatically replaced with the text specified in the file.  There are two kinds of tokens, ones that take parameters and ones that don’t.  The ones that don’t take parameters are just expanded to the specified text.  The ones that do take parameters can be expanded into different text, depending on the parameters.  For example, say you need to have a custom link on your side so that all the links open on a separate frame and through Septum.  The syntax is the following.

<A HREF="index.php?page=[[[LINKPAR1]]]" target="_top">[[[LINKPAR2]]]</A>

Then you would use [[[?LINK|mypage|link to my page]]] in the page, and it would be expanded to <A HREF=”index.php?page=mypage” target=”_top”>link to my page</A>.  You can have nested tags, one inside the other.


  • If a page that has no “end keywords” token is requested, the page will be returned as is, without using the template at all.  Do this for other pages you don’t want to use the template on.
  • DO NOT remove the page extension (default is .pg).  If you do, then users will be able to read EVERY FILE on your server if it is not configured correctly.



This program is released under the GNU GPL.  The latest news and updates can be found at


The program and documentation were written by Poromenos.  The documentation was generated using Natural Docs (

Contact information



You can download Septum from SourceForge ( /project- /showfiles.php?group_id=125013- &package_id=137225- &release_id=286887).  a href=”"><img src=” /sflogo.php?group_id=125013- &amp;type=1" width=”88” height=”31” border=”0” alt=” Logo” /></a