PhileCMS Table of Contents
A PhileCMS plugin that automatically
generates a table of contents based on a pages headers., (*1)
This is intended for internal use., (*2)
1. Installation
Install via git, (*3)
Clone this repository from the phile
directory into
plugins/gibbs/phileTableOfContents
. E.g:, (*4)
git clone git@github.com:Gibbs/phileTableOfContents.git plugins/gibbs/phileTableOfContents
Manual Install, (*5)
Download and extract the contents into: plugins/gibbs/phileTableOfContents
, (*6)
2. Plugin Activation
Activate the plugin in your config.php
file:, (*7)
$config['plugins']['gibbs\\philephileTableOfContents'] = array('active' => true);
3. Example Usage
{% for entry in tableofcontents %}
- {{ entry.title }}
{% endfor %}