This version is out of date, covering development from v5.0.0 to v5.12.2. It is maintained here only for inbound reference links from elsewhere.

Jump to the current version of aTbRef.

Tinderbox Icon

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>

Possible relevant notes (via "Similar Notes" feature):


A Tinderbox Reference File : Syntax Library: Tutorials, Wizards and Timelines : Tinderbox Wizards : A 'wizard.twiz' file : Wizard XML Syntax : finalize