Copied to clipboard

Flag this post as spam?

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


  • Rich Green 2246 posts 4006 karma points
    Sep 13, 2009 @ 15:59
    Rich Green
    0

    Retrieving Umbraco Nav/Nodes from external .NET project.

    Hi,

    I have an existing integrated CMS and Ecommerce ASP.NET project.

    I'm planning to leave the old .NET ecommerce in place  using 'umbracoReservedPaths' and convert the CMS to Umbraco.

    My first conceptual problem is the navigation, basically the 'Shop' is integrated into the CMS, so the nav goes like this.

    Home
    Shop
    Stockists
    Downloads
    Info

    When the users clicks shop they will be using the .NET ecommerce code, any other item will be using umbraco, however the navigation is the same regardless.

    Essentially, what I'm asking is how can I pull the Umbraco main nav (Home, Stockists, Downloads, Info) from the umbraco database within .NET so that any changes made in umbraco are reflected also within the .NET site.

    Many thanks


    Rich

  • Chris Koiak 700 posts 2626 karma points
    Sep 13, 2009 @ 20:25
    Chris Koiak
    0

    Have a look at the data/umbraco.config file. This is the raw xml file that powers all the xslt files in Umbraco.

    You should be able to write some standard C# code/controls that read this file and repurpose the content into navigation, content, etc.

  • Rich Green 2246 posts 4006 karma points
    Sep 14, 2009 @ 17:19
    Rich Green
    0

    Cheers Chris, that will do the trick perfectly.

  • 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.

Please Sign in or register to post replies