# ------------------------------------------------- # Template files for OpenJournal v2.0 # ------------------------------------------------- These are the template files used by OpenJournal to determine the look and feel of your journal. Full installation instructions can be found in the oj.cfg file. entry - What an individual entry within the OpenJournal looks like index - Used for the main /oj page, as well as by the /oj/story subdirectory to create index pages for OpenJournal This file takes only one variable, TOPPER datebar - Look and feel of the date which heads each new day article - Look and feel of an article or story entry Each template file uses a variety of variables which you can move around to suit your needs. It is, however, VERY IMPORTANT that you leave intact the (with spaces as is) HTML comment tags that surround these variables. If you don't, they won't work properly. Any variable can be used in any file, except that the index file only takes the TOPPER variable. OJNAME - Name of your OpenJournal, as specified in the oj.cfg file TITLE - Title of journal entry BLURB - Short summary of journal entry (or complete entry for most) BODY - Complete text of an article or story entry DATE - Date of entry (long format) PTIME - Time of entry USERNAME - User who contributed the entry (only used if multiuser is on, includes the word "by " in front of name). Special variables: BODYPREVIEW - This does not affect any text or entry, but is required in order for you to properly preview your entries by the "Preview" functionality. Always keep this in the "entry" file, at the end of the entry, after all else. TOPPER - This specifies where in the index file to put your OpenJournal entries.