This version is out of date, covering development as far as v4.2.5. It is maintained here only for inbound reference links from elsewhere. Jump to the current version of aTbRef. |
A Tinderbox Reference File : Tutorials and Wizards : Tinderbox Wizards : A 'wizard.twiz' file : Wizard XML Syntax : finalize |
finalize |
<finalize> finalization tags </finalize>
Occurs: Once - in last panel
Multiple instances: No
Has attributes: No
Self-closing: No
This holds the commands used to finalise the wizard and must be included in the last (text) panel of the wizard
Example:
<finalize>
<Splash>Building your weblog...</Splash>
<CreateFolder>$DestinationFolder</CreateFolder>
<CreateFolder>$DestinationFolder+$WeblogName files</CreateFolder>
<CreateFolder>$DestinationFolder+$WeblogName files:elements</CreateFolder>
<CreateFolder>$DestinationFolder+$WeblogName files:css</CreateFolder>
<CopyFolder from="$pathToHTMLTemplates" to="$DestinationFolder+html templates" depth="1" />
<CopyFolder from="$pathToExport+:elements" to="$DestinationFolder+$WeblogName files:elements" depth="1" />
<CopyFolder from="$pathToExport+:css" to="$DestinationFolder+$WeblogName files:css" depth="4" />
<CopyFolder from="$pathToExport" to="$DestinationFolder+$WeblogName files" depth="1" />
<Open leaveOpen="true">$TinderboxFile</Open>
<SetDefaultTemplate>$DestinationFolder+$defaultTemplate</SetDefaultTemplate>
<SetExportFolder>$DestinationFolder+$WeblogName files</SetExportFolder>
<SetHomePage>$WeblogURL</SetHomePage>
<SetFor name="/Configuration" attribute="CSS">$WeblogStyle</SetFor>
<SetFor name="/Configuration" attribute="WeblogName">$WeblogName</SetFor>
<SetFor name="/Configuration" attribute="TagLine">$TagLine</SetFor>
<ExportHTML />
<Save>$DestinationFolder+$WeblogName</Save>
</finalize>
Up: Wizard XML Syntax | |
Previous: filePanel | Next: FolderMustExist |
Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]