Copied to clipboard

Flag this post as spam?

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


  • mmmoustache 50 posts 79 karma points
    Jul 03, 2012 @ 11:33
    mmmoustache
    0

    Creating a custom section with an iFrame

    Hi Everyone,

    It seems that it's been a couple of years since this question has been asked on here so I'm curious of any developments since then; is it possible to create a custom section using a page with an iframe containing an external site? I'm looking into how much Umbraco can be integrated with some of the huge sites out there, such as Facebook, and it would be quite handy if I could view the Facebook Developers site to create a new app within the Umbraco back end. It doesn't have to be pretty, just convenient!

    Kind regards,
    mmmoustache

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Jul 03, 2012 @ 12:48
    Jeroen Breuer
    0

    This is possible :-). The right panel of Umbraco is an iframe so you can load anything in there. Have a look at this tutorial for building a custom section: http://www.geckonewmedia.com/blog/2009/8/3/how-to-create-a-custom-section-in-umbraco-4. At one point they use this line:

    parent.right.document.location.href = 'newsletter/previousNewsletters.aspx';

    You can just change that to this:

    parent.right.document.location.href = 'http://www.facebook.com/';

    And if you now click on a node in the tree it will show the facebook website in the right iframe.

    Jeroen

  • mmmoustache 50 posts 79 karma points
    Jul 03, 2012 @ 16:59
    mmmoustache
    0

    Thank you good Sir, I had a feeling it would be that easy! 

Please Sign in or register to post replies

Write your reply to:

Draft