Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • John Walker 43 posts 66 karma points
    Nov 16, 2011 @ 17:14
    John Walker
    0

    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

        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.

    Thanks John

  • Søren Spelling Lund 1797 posts 2786 karma points
    Nov 29, 2011 @ 15:33
    Søren Spelling Lund
    0

    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.

Please Sign in or register to post replies

Write your reply to:

Draft