Problems with MasterPage

Feb 5, 2009 at 4:49 PM
Edited Feb 5, 2009 at 4:51 PM
Hi.. I have created the own class derivative from ContentItem. Has specified it's  template file. In a browser the page is displayed the empty(except page's template content).Is not themes that, there is no master page. Can u help me? (But no-page elements, parts (such as custom login part) are displayed correctly)
Feb 5, 2009 at 5:11 PM
What the base class you're deriving from ? The goodies you've mentioned: themes, master, parts -- they're all from the N2.Templates library, not the core N2.dll. So you probably need to derive from an appropriate class in N2.Templates: AbstractContentPage, AbstractItem, TextPage and so on.
Coordinator
Feb 5, 2009 at 9:23 PM
Are you inheriting your aspx from N2.Templates.Web.UI.TemplatePage?
Feb 6, 2009 at 12:12 PM
Edited Feb 6, 2009 at 12:23 PM
Hi. Thx for help. I have made a mistake. Please update u n2 documentation http://n2cms.com/Documentation/Templates.aspx . I have use N2.Web.UI.Page<...> instead.


Coordinator
Feb 8, 2009 at 12:00 PM
Thank you. I added a note on the page.