Today I've been looking at adding a landing page to the Orders node within Umbraco. To do this I followed a could of blog posts including http://www.publicvoid.dk/ExtendingTreesInUCommerceAdmin.aspx and watched the umbraco videos. I managed to override the CreateRootNode elemnt and have my landing page be displayed wth little problem
public class loadOrderExport : UCommerce.Umbraco.Menu.LoadOrders
{
// Constructor is required by base type
public loadOrderExport(string application)
: base(application)
{
}
protected override void CreateRootNode(ref XmlTreeNode rootNode)
{
RootNode.Action = string.Format("javascript:{0}", "parent.right.document.location.href = 'UCommerce/Dashboard/ExportOrders.aspx';");
}
}
But then my problem was attempting to create that new page. My new page ExportOrders.aspx used the master page UmbracoTabView.Master and I have a user control inside the ContentArea from the master page. I could see my content being rendered but it was not being displayed correctly. Eg: still had a loading bar showing and was not sitting inside a tab or anything.
I'm presuming I've just missed doing something If someone could point me in the right direction that would be great.
Could you try with a blank page? It's an iframe so you "own" the entire page and don't have to use the Umbraco master to make it work. Would give you an indication of whether it's something in your code or some Umbraco stuff missing.
UCommerce App Tree Landing Page
Today I've been looking at adding a landing page to the Orders node within Umbraco. To do this I followed a could of blog posts including http://www.publicvoid.dk/ExtendingTreesInUCommerceAdmin.aspx and watched the umbraco videos. I managed to override the CreateRootNode elemnt and have my landing page be displayed wth little problem
But then my problem was attempting to create that new page. My new page ExportOrders.aspx used the master page UmbracoTabView.Master and I have a user control inside the ContentArea from the master page. I could see my content being rendered but it was not being displayed correctly. Eg: still had a loading bar showing and was not sitting inside a tab or anything.
I'm presuming I've just missed doing something If someone could point me in the right direction that would be great.
Thanks John
Could you try with a blank page? It's an iframe so you "own" the entire page and don't have to use the Umbraco master to make it work. Would give you an indication of whether it's something in your code or some Umbraco stuff missing.
is working on a reply...