Changes

UBIK Templates

92 bytes added, 10:08, 3 May 2022
/* Templates with custom names */
== Templates with custom names ==
A common problem with customizing templates such as UBIKChildArea is that it alters the UI for all types of child objects. In order to use different templates depending on the objects, solutions such as [[SYSCLS_CHILDAREATEMPLATE|child area template classification]] and , [[SYSCLS_CHILDITEMTEMPLATE|child item template classification]] and [[SYSCLS_CHILDAREATEMPLATE|content area template classification]]{{Version/WinXSince|4.1}} are provided. Custom template files with names such as UBIKChildArea_WorkPackage can be deployed so that only objects of that type display the custom content while the rest still uses the default UI.
Other than the necessary server side data configuration, a template selector is also needed to achieve this. For example, here's the code snippet in the default UBIKContentArea template.