Creating your own Phorum template ================================= This documents describes how to create your own template for Phorum. The document is not conclusive, but there should be enough information in here to get you started. In this document, {phorum dir} is the location where you installed the Phorum software. Table of contents: 1. General information on Phorum templates 1.1 Template directory structure 1.2 How Phorum handles templates 1.3 Starting your own template 2. The Phorum template language 2.1 Introduction 2.2 General syntax 2.3 Need the power of PHP? 2.4 Data types 2.4.1 Integers 2.4.2 Strings 2.4.3 PHP constants 2.4.4 Template variables 2.5 Statements 2.5.1 Display a value 2.5.2 Add comments 2.5.3 DEFINE 2.5.4 VAR 2.5.5 IF .. ELSEIF .. ELSE 2.5.6 LOOP 2.5.7 INCLUDE 2.5.8 HOOK 1. General information on Phorum templates ------------------------------------------------------------------------------- 1.1 Template directory structure -------------------------------- TODO: About templates/