It seems templates define only layout of the whole application - and more specifically, the Document Management section. There seems not to be nested templates.
The editor basically is a graphical tool for editing the theme xml file:
These are the steps that I have found working for modifying the layout.
I downloaded the theme-galaxy.xml from the Theme Editor. This is the default theme.
I renamed it to theme-mytheme.xml and put it in the the resources/themes in the contribution project. There is the OSGI-INF/theme-contrib.xml as well where we specify:
First, I changed
to<theme name="my_theme"as well as all references to "galaxy" in theme-contrib.xml.
As a result after deployment:
- default theme was indeed changed to my_theme
- layout was broken as galaxy.css was not included. How do we point to the proper css?
So I returned "galaxy" as a name and it overrode the default galaxy team. The css was included and layout was fine.
Then I edited the theme-mytheme.xml adding the following (the second footer):
Then in the same file:
This results in:
"section frame" is output as:
"cell frame" is output as:
inside the section frame table.
As for the "tabs" - we add in theme-contrib.xml:
This effectively outputs the logo after the footer.