When I using the EditableChildren in N2CMS(ver 2.7.5), in a model page, I getting the error "Cannot add any parts due to zone/user/type restrictions". I have try everything.
See code below:
[EditableChildren(Title = "Reviews list", ContainerName = CustomTabs.Review)]
public virtual IList<ReviewItem> ReviewItemsList
{
get
{
return new ItemList<ReviewItem>(Children);
}
}
Any idea?
You need to specify the AvailableZone as per https://github.com/n2cms/n2cms/blob/master/src/Mvc/MvcTemplates/Models/Pages/FaqList.cs: