Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Template Questions

[SOLVED] Subtemplate doesn't work


Reply

3 Posts   1229 Views

Avatar
Stephan

8 August 2009 at 10:47pm (Last edited: 9 August 2009 9:01pm), Community Member, 55 Posts

Hi Experts,
I'm running SS 2.3.3.
I made a page.ss in /mysite/templates with $Layout.
Then I have two templates in /mysite/templates/Layout named Page.ss and Startseite.ss
If I go to the page with page type "Startseite" only the processed Startseite.ss is displayed,
but not the part of Page.ss from /mysite/templates.

I did it exactly the same way as described in tutorial 1.

Am I missing something ?

TIA Stephan

Avatar
Willr

9 August 2009 at 11:43am Forum Moderator, 5511 Posts

Does Startseite extend from page and Startseite_Controller extend from Page_Controller (which is more important) ?

Avatar
Stephan

9 August 2009 at 9:01pm Community Member, 55 Posts

Oh no !
I did extend from ContentController !!
I'm so stupid.

Thanks very much.
Now it works.

CU Stephan