Vladimir
Vladimir

Reputation: 836

typoscript + automaketemplate - different template on root page

In my typo3 website I have a root page and many sub pages which most of them share the same structure. Therefore I have created my template with automaketemplate on the root page so it can be shared through all of the sub pages. For the ones that I have a slightly different structure I can create an extension template. My problem is with the root page - its structure is different and I need to use another template file. But I can't create an extension template for it since it already has a main template. What is the workaround on this? Thanks in advance.

Upvotes: 0

Views: 640

Answers (1)

konsolenfreddy
konsolenfreddy

Reputation: 9671

As far as I understand your site structure looks like this:

root (home)
 |- Subpage 1
 |- Subpage 2
 |- etc.

I would suggest you change it to this one:

root (Shortcut to Home)
 |- Home
 |- Subpage 1
 |- Subpage 2
 |- etc.

That way all your templates can inherit from root but Home can have a completely different structure.

Upvotes: 1

Related Questions