Dokument


Creating Pages

Each dokument book is made up of pages.

Dokument stores these pages in: ./application/views/{book_name}/.

Pages contain just the main content HTML. The header, navigation and footer will be automatically generated by Dokument.

Example Page

<!-- START CONTENT -->
<div id="content">
	
	<h1>My Page Title</h1>

	<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit...</p>
		
</div>
<!-- END CONTENT -->

To conform with the included CI userguide.css file you should always place page content in a div where "id=content".

Adding new Pages

To add a new page to a book first add the page to the config Navigation Array. Then create a new file in your books view folder named the same as the page key in the nav array.