I have two Tree Controllers, one for Returns and another for Products. The Returns Tree Controller seems to work fine, and is shown in the CMS as a root node. But the Products Tree Controller is being ignored completely.
To elaborate further, I have added both Sections to a composer....
public class SectionComposer : IComposer
{
public void Compose(IUmbracoBuilder builder)
{
builder.Sections().Append<ReturnsSection>().Append<ProductsSection>();
}
}
Then called AddComposers() in the StartUp.cs file. The sections are being picked up as well.
Tree Controller Being Ignored
Hi,
I have two Tree Controllers, one for Returns and another for Products. The Returns Tree Controller seems to work fine, and is shown in the CMS as a root node. But the Products Tree Controller is being ignored completely.
Returns Tree Controller
This creates the root menu item for Returns...
In the packages section in the CMS the Products section is here...
I then created another Tree Controller named Products which is being ignored. The constructor and the CreateRootNode method is never invoked.
To elaborate further, I have added both Sections to a composer....
Then called AddComposers() in the StartUp.cs file. The sections are being picked up as well.
I am completely stuck and any help will be much appreciated!
is working on a reply...