Copied to clipboard

Flag this post as spam?

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


  • Profiterole 232 posts 264 karma points
    Jul 15, 2010 @ 03:11
    Profiterole
    0

    umbracoInternalRedirectId but I want to keep my template

    Hi, I had a node "About Us" that as a textpage template and textpage doctype. I created a new doctype with the umbracoInternalRedirectId property.

    So, I have a new node "More from us" that use the umbracoInternalRedirectId from my new doctype and it redirect to "About Us".

    My problem is that "More from us" has a different template than "About Us" but when it redirect it loads the "About Us" template instead of "More from us" template.

    How can I get the content of the "About Us" only and keep the template of "More from us"?

    Thank you in advance!

  • Aaron Powell 1708 posts 3046 karma points c-trib
    Jul 15, 2010 @ 06:54
    Aaron Powell
    0

    Doing what you want isn't supported OOTB. The only way I can think of doing what you require is actually having the content on both nodes. If you want to ensure that the content stays updated between the two pages then you can use the relations feature of Umbraco.

    Easiest way I know to set that up is to to copy the About Us page and then tick the option to relate the copied node.

    Otherwise I think you'd need to find some way which you can apply the "More from us" template as an Alt-Template for the About Us page

  • wolulcmit 357 posts 693 karma points
    Jul 15, 2010 @ 08:37
    wolulcmit
    0

    or you could re-use your 'about-us' content via a content picker.... which you can render via a macro.
    This is probably a good example http://umbraco.org/documentation/books/re-use-content

  • Profiterole 232 posts 264 karma points
    Jul 16, 2010 @ 13:40
    Profiterole
    0

    Thank you guys I'll look at this!

  • Profiterole 232 posts 264 karma points
    Jul 16, 2010 @ 23:47
    Profiterole
    0

    Hi, I used a modified version of the idea of wolulcmit. I did a macro that get the bodyText of a node from a content picker.

Please Sign in or register to post replies

Write your reply to:

Draft