Orze::Drivers::Section - Creates a subsection
It creates an empty directory in the website tree.
Regarding changing the output directory (or adding a relative path in the name), it is mainly useful if you want to create a menu of these subsections.
<page name="photos"> <var name="title">Photos</var> <var name="sections" src="Menu"/> <page name="2008" driver="Section"> <!-- photo gallery of 2008 events --> </page> <page name="2007" driver="Section"> <!-- photo gallery of 2007 events --> </page> <!-- ... --> </page>
The two commented parts will be but in 2008/ and 2007/ directories. The sections variable will contain the following tree:
2008/
2007/
sections
| 2008 | |--> Event 1 | |--> Event 2 | | 2007 | |--> Event 1 | |--> Event 2
Do the real processing
To install Orze, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Orze
CPAN shell
perl -MCPAN -e shell install Orze
For more information on module installation, please visit the detailed CPAN module installation guide.