For administrators¶
Target group: Developers, Integrators
Minimal setup¶
Install the extension
Create your model and a root page where sites can be generated
Within Extension Manager configuration, set 'Models Pid' and 'Sites Pid'
If FE group creation is needed :
Create a folder page for FE group creation
Set FE group folder pid in TypoScript Constants : pidFeGroup
Then you can call the wizard on 'Sites Pid' pages
Set pidFeGroup in TypoScript Constants :
module.tx_sitegenerator {
    settings {
        siteGenerator {
            wizard {
                pidFeGroup = xxx
            }
        }
    }
}
If you only need Tree Duplication, you can change TypoScript Setup like this :
module.tx_sitegenerator {
    settings {
        siteGenerator {
            wizard {
                steps >
                steps {
                    10 = Oktopuce\SiteGenerator\Wizard\StateCopyModelSite
                    20 = Oktopuce\SiteGenerator\Wizard\StateUpdateHomePage
                    30 = Oktopuce\SiteGenerator\Wizard\StateUpdateTemplateHP
                    40 = Oktopuce\SiteGenerator\Wizard\StateUpdatePageTs
                    50 = Oktopuce\SiteGenerator\Wizard\StateUpdateSlugs
                }
            }
        }
    }
}
Important
Module TypoScript configuration like module.tx_sitegenerator can only be changed through custom extension
Configuration¶
Those chapters describes how the extension can be configured