Copied to clipboard

Flag this post as spam?

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


  • Daniel 2 posts 22 karma points
    Oct 30, 2009 @ 20:03
    Daniel
    0

    How can I allow for multiple templates for one node structure?

    We have a scenario where our umbraco customer would like to manage a single content node structure, but have it displayed on their website in multiple ways.  For example, imagine a content structure with document types like this:

    State -> City -> Company

    Now imagine the customer wants their website to have pages like this, with each page slightly different, but with similar content:

    http://customer.com/investors/NY/NewYork.aspx
    http://customer.com/consumers/NY/NewYork.aspx
    http://customer.com/investors/NY/NewYork/SaksFifthAvenue.aspx
    http://customer.com/consumers/NY/NewYork/SaksFifthAvenue.aspx

    The customer wants to avoid having to set up separate "investors" and "customers" sections with similar content.  They do not want to create "SaksFifthAvenue" twice in the content secion.  Instead they want to manage the content with the single content structure described above.

    Is it possible to 'switch' templates at runtime or use some other technique to accomplish this?

     

  • Ricky Beard 61 posts 116 karma points
    Oct 30, 2009 @ 20:50
    Ricky Beard
    0

    You can use alternative templates. Tim Geyssens has a great blog post about this: http://www.nibble.be/?p=42.

  • Daniel 2 posts 22 karma points
    Oct 30, 2009 @ 21:51
    Daniel
    0

    That's what I'm looking for.  Thanks!

  • 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