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 4008 karma points
    Nov 27, 2010 @ 11:23
    Rich Green
    0

    Linking to custom section from content tree

    Hi,

    Is there a way of directly linking to a specific page within a custom section?

    My URL of the custom section page is something like this:

    /customSection/customPage.aspx?customid=10

    I can add items to the content tree ok, it's the next bit I'm struggling with.

    Obviously I would like to maintain this custom page within the Umbraco UI.

    Many thanks

    Rich

  • Rich Green 2246 posts 4008 karma points
    Nov 27, 2010 @ 12:30
    Rich Green
    0

    I made some progress with this

    http://web/umbraco/umbraco.aspx?app=myAppAlias&rightAction=customPage&customid=10#myAppAlias

    This works to a point, however it seems that the 'rightAction' parameter is relative to /umbraco (so the above tries to load /umbraco/customPage)

    My custom section is outside of the /umbraco directory, thinking about it not sure if this is best practice? I could move it in but was just trying to keep a clean structure to make for simple upgrades.

    Rich

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Nov 27, 2010 @ 13:15
    Jeroen Breuer
    1

    Hello,

    Maybe this is useful: http://our.umbraco.org/forum/developers/extending-umbraco/11059-Deeplink-Umbraco-backend. With this can link to another page in the backend and the tree on the left also syncs. I haven't tried this with a custom section, but it did work with linking to a node in the media section.

    Beside this I think it's a good idea to put your custom section in the /umbraco folder. That's were I always place it, because it's part of the umbracoReservedPaths by default.

    Jeroen

  • Rich Green 2246 posts 4008 karma points
    Nov 27, 2010 @ 13:32
    Rich Green
    0

    Hey Jeroen,

    Thanks for the link, I was actually going to reply to that thread it already solved the other problem I had which was linking back from the custom section to the content section :)

    For this, I'll move the custom section into the Umbraco folder and my link should work fine too.

    Cheers!

    Rich

  • Rich Green 2246 posts 4008 karma points
    Nov 27, 2010 @ 14:30
    Rich Green
    0

    Might not be the cleanest but I realised that I could have always added a custom redirect page, something like Umbraco/plugins/customRedirect

    Rich

Please Sign in or register to post replies

Write your reply to:

Draft