[Home]

TS 1 DocsAboutInstallFormatsOverridesStructure

Note: This is incomplete documentation for an old version of TachibanaSite. A new version is in the works, and this site runs on it in compatibility mode.

Structure

The typical structure of a TachibanaSite installation:

Home Redirect

Though it is not strictly-speaking necessary, typically you will want to put a file like this in the site directory:

<?php
header('Location: home/', true, 303);
die();
?>

When users navigate to your site directory, they will be redirected to the home page.

Page Directories

Every page on a TachibanaSite site is a directory. All that is required to make the directory a page is to put a file called index.php in the directory:

<?php include '<Path to TachibanaSite Directory>/utils/FindStandardPage.php' ?>

Then you can place override files in that directory (especially index.markdown) to fill out the page.