Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I am using Umbraco 6.1.6 and uSiteBuilder branch v3.0.0 from CodePlex. I am getting this error -
The DocType and Template are called the same, I have tried it with and without a DefaultTemplate definition.
DocType:
[DocumentType(Name = "Home Page", IconUrl = "settingDomain.gif", AllowedChildNodeTypes = new[] { typeof(LandingPage), typeof(NormalTextPage), typeof(SiteMap) })] public class HomePage : NormalTextPage
public partial class HomePage : TemplateBase<DocumentTypes.HomePage>
Isn't this line incorrect?
publicclassHomePage:NormalTextPage
Umm, why?
And the other thing ... my templates aren't appearing in Umbraco :-(
Just didn't look right, we always use a base DocType for this. Sorry I couldn't be more help.
It appears as though the "version6API" is actually the latest version of uSiteBuilder, rather than V3.0.0 as stated on the CodePlex home page (http://usitebuilder.codeplex.com/) ... is that correct?
Hi Gordon,
Yes, the "version6API" branch is the latest one.
Regards, Sasa
Thanks for the clarification Sasa :-)
You are welcome Gordon.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Document type 'HomePage' has a default template 'HomePage' but that template does not use this document type
I am using Umbraco 6.1.6 and uSiteBuilder branch v3.0.0 from CodePlex. I am getting this error -
Document type 'HomePage' has a default template 'HomePage' but that template does not use this document type
The DocType and Template are called the same, I have tried it with and without a DefaultTemplate definition.
DocType:
Isn't this line incorrect?
Umm, why?
And the other thing ... my templates aren't appearing in Umbraco :-(
Just didn't look right, we always use a base DocType for this. Sorry I couldn't be more help.
It appears as though the "version6API" is actually the latest version of uSiteBuilder, rather than V3.0.0 as stated on the CodePlex home page (http://usitebuilder.codeplex.com/) ... is that correct?
Hi Gordon,
Yes, the "version6API" branch is the latest one.
Regards, Sasa
Thanks for the clarification Sasa :-)
You are welcome Gordon.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.