This manual is separated into two parts. The first part is
for designers and administrators (called users in the context of this manual). It
describes the structure of the templates in Foundry, how CSS files are implemented
and how Frameworks like Bootstrap,
YAML or jQuery
can be integrated into a Foundry theme. The first part also contains a reference
part which describes all elements/tags which can be used in the templates.
If you are viewing this documentation using an URL like
/themes/foundry/doc/ this reference is created on the fly from the
XSL files.
The second part is for developers which want to extend Foundry. It describes the structure of Foundry, how support for content types (the most common task) can be added, how the documentation system works and which XPath functions and XSL helper templates are available. Developers should also read the first part because the first part includes informations about the general structure of Foundry.
In the manual the following terms a used quite often:
- context prefix
- The context in which CCM is installed in the Servlet container. If CCM is installed in the root context the context prefix is empty.
- theme prefix
-
The URL part of accessing resources inside the theme. For example for theme
called
foothe theme prefix is/themes/published-themedir/foois published theme is used an if CCM is installed in the root context. - dispatcher prefix
- The URL for creating links to other CCM resources like content items. Depends on the context in which CCM is installed and if development theme or the published theme is used.
- data tree
- The XML created by CCM containing all data of the current page.
- Layout tree
- The XML of layout template in processing.