Created by Unknown User (abarnes), last modified on Jun 11, 2010
Is there a way to associate/incorporate template(s) with a theme? I'm just wondering, for sake of easy deployment, if as much as possible could be with the theme?
No labels
1 Comment
Unknown User (amoran)
Yes, from builder 4.0 you have layout resources which can be like templates in fairly complex ways, there is teh basic usage, eg:
{import:%current%::resource.ext} will attempt to import the resource into the page - resources are inherited hierarchically, so child layouts may override the text resources of another layout.
A more interesting usage is {import:mytemplate} will cause the import macro to look in the space for a page called 'mytemplate' if it doesnt exist then it will check for a space template called 'mytemplate', then a global template and finally a layout resource called 'mytemplate.wiki' on the current layout or one of it's parents.
In a slightly related matter, it's also possible to include confluence global templates in a builder backup by checking the box on the backup tab.
1 Comment
Unknown User (amoran)
Yes, from builder 4.0 you have layout resources which can be like templates in fairly complex ways, there is teh basic usage, eg:
{import:%current%::resource.ext} will attempt to import the resource into the page - resources are inherited hierarchically, so child layouts may override the text resources of another layout.
A more interesting usage is {import:mytemplate} will cause the import macro to look in the space for a page called 'mytemplate' if it doesnt exist then it will check for a space template called 'mytemplate', then a global template and finally a layout resource called 'mytemplate.wiki' on the current layout or one of it's parents.
In a slightly related matter, it's also possible to include confluence global templates in a builder backup by checking the box on the backup tab.