You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

projectdoc Toolbox

Controls the generation of the document title by adding the parent document's title if the parent matches the doctypes listed by the Parent property.

Tags
Identifier
adjust-title-on-parent
Type
boolean
Default Value
true
Since
4.6

This property allows template authors to control the title of a document dependent on the expected parent's doctype defined by the Parent Document Property.

Example of Usage

Add the following hidden input element to the template wizard's Soy.

<input id="adjust-title-on-any-parent"
       type="hidden"
       name="adjust-title-on-any-parent"
       value="true">

Independent on the Parent Doctype value of the Parent Property Macro the title will have the title of the parent document appended.

Resources

Parent Property Macro
Renders the property of the parent document, if it has the same doctype.
adjust-title-on-any-parent
Controls the generation of the document title by adding the parent document's title in any case.
  • No labels