Search code examples
templatestypo3typoscripttypo3-6.1.x

Apply additional TypoScript template to root page only


I have a root page with two TypoScript templates in this order:

  1. Root Template (the root template)
  2. Additional Template (a non root template)

My problem is the second template is ignored. I just want that the second template applies to the root pages only. How would this be possible, without linking the root page to a subpage or using conditions?


Solution

  • Create templates records (let's say main and subpages) NOT in the root page but for an example in sys folder.

    On main page create additional template, include main and at Options tab set subpages in Template on next level field.

    enter image description here