RAM-CMS Page Format =================== The format of RAM-CMS pages is very simple. An example page: START This is My Page Title This is My Page Header This is what the user will see in the body of the page.

Any HTML tags that are valid between HTML BODY tags are valid here. EOF (START and EOF are used to mark the start and end of the example. Do not put START and EOF inside actual site pages.) The first line is the page title - it should be inserted between the tags in the generated page. The second line is the page header. It should be inserted in a prominent place in the generated page. The second line may be left blank, in which case the page header will be blank. Everything from line 3 down should be inserted in the body (main content area) of the page. The reason I say "should" instead of "will" is that exact insertion points are configured inside the theme file, and we can only document the suggested default stock settings, - see CONFIG.TXT and THEMES.TXT and the files in the themes directory for more on this. NiceLinks ========= Starting with RAM-CMS 0.3.0, it is possible to have "nice" page links. Instead of the usual ?page=pagename style links, you can now use page/pagename. This is done with the help of mod_rewrite (and similar methods for non-apache users). It also allows the existing ?page=pagename links to work like normal. How to enable this using Apache and mod_rewrite ----------------------------------------------- 1. create a new directory named "page" at the root of your RAM-CMS installation. 2. create an .htaccess file and insert the following lines of code: Options -Indexes RewriteEngine on RewriteBase /path-to-ram-cms-install/page/ RewriteRule ^(.+)$ ../index.php?page=$1 (replace path-to-ram-cms-install with the location of your RAM-CMS installation) (replace index.php with whatever your index file is, eg. index.pl, index.asp, etc) (you could also put this inside httpd.conf if you can)