Structure
The typical structure of a TachibanaSite installation:
Site Directory
common/
-
common/
modules/
pages/
- Testing and Mail Confirmation Pages
utils/
- The TachibanaSite Core
README.markdown
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.