finalize

Tinderbox Icon

<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):

Up: Wizard XML Syntax
Previous: filePanel  Next: FolderMustExist 

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

Quicklinks: Attributes | Action Codes | Export Codes | Designators | Date Formats | aTbRef Site Map

[Last updated: 16 May 2012, using v5.11.1]


Search:

Google search aTbRef for:  


Creative Commons Licence

aTbRef by Mark Anderson is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

[See aTbRef CC licence Attribution & Waiver info]

Made with Tinderbox