Copied to clipboard

Flag this post as spam?

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


  • wolulcmit 357 posts 693 karma points
    Jul 23, 2009 @ 16:09
    wolulcmit
    0

    Having featured sections that reuse content

    What's the best way to do this?
    here's a diagram.....

    Say my navigation for my Music section looks like this:
    Drum & Bass | Indie | Hip-Hop | Experimental | 80's Hair

    and the artists I want to feature this week are Luigi Russolo and John Cage.... These articles/artists exist under my 'Experimental Genre' section, so what's the best way to reuse them? with a custom document type called 'featured content' which has a multiple content picker (anyone know a good one)
    is this the best way to choose a bunch of artists scattered accross multiple sections? without having to hard-code it in the xslt.

    Music
      |
      Featured Music
          - Luigi Russolo
          - John Cage
      |
    Experimental Genre
         - Luigi Russolo
         - John Cage

    or is there a way to have duplicates in the tree which are effectively the same content?

    Just wanting to find out the best practices for sites that might have a lot of content... and different ways of collating/reusing different content

     

    - Tim

     

  • wolulcmit 357 posts 693 karma points
    Jul 23, 2009 @ 16:13
    wolulcmit
    0

    here was my diagram:
    http://twitpic.com/bbr6a

  • Bert 128 posts 251 karma points
    Jul 23, 2009 @ 17:55
    Bert
    1

    In this kind of 'featured' section you would remove the artist again after he is no longer in the spotlight. So I don't think you want duplicates here, but just to be complete you can relate items to eachother. When you copy them just check the checkbox to relate them.

    This doesn't do anything but make a relationship in the umbraco database. So you would have to implement the code that keeps them both synced yourself.

    I would go for the content picker.

     

    Another option is to create the xslt that random picks [insert amount] artists as featured and keep the macro cashed for the time the artists have to be featured. This does limit your personal input, so I guess that isn't an option here.

  • wolulcmit 357 posts 693 karma points
    Jul 23, 2009 @ 18:14
    wolulcmit
    0

    cool, is there any example code for keeping two nodes synced?

    I would also rather go for the multi-content picker....because it would be easier to manage for an editor....
    is this one (http://www.cpalm.dk/1116.aspx) still relevant/supported? couldn't find one under the projects tab.

    - Tim

  • jonok 297 posts 658 karma points
    Jul 23, 2009 @ 18:17
    jonok
    0

    How about if you create a 'featured music' document type and just add 1 property that is a content picker? Then you can load the featured artist content using the id selected by the content picker?

  • wolulcmit 357 posts 693 karma points
    Jul 23, 2009 @ 18:55
    wolulcmit
    0

    that's fine, but you can only select 1 piece of content or 1 folder with the defaultt picker... no? I might want to choose Sonic Youth, Boards fo Canada, Pinback, and The melvins as featured artists this week and they might be all be under different genre or sub-genre nodes in the tree... and the default content picker only chooses 1 node, correct me if I'm wrong?

    Just using music/genre/artists as an example so it makes it easier to think about. but it could be useful for any number of things.

  • jonok 297 posts 658 karma points
    Jul 23, 2009 @ 18:58
    jonok
    0

    I was thinking you could create a 'featured artist' node for each artist. Then all that each node would contain would be a content picker that points to the artist and allows you to retrieve the relevant content. And then when a particular artist is no longer featured you could just delete the 'featured artist' node.

  • wolulcmit 357 posts 693 karma points
    Jul 23, 2009 @ 19:22
    wolulcmit
    0

    Ahh I get you..... seems a bit cumbersome to do that though.. time wise. want to see a big list and ctrl+click nodes for multiselect.

  • wolulcmit 357 posts 693 karma points
    Jul 23, 2009 @ 19:43
    wolulcmit
    0

    Actually thinking about it...the related links sort of acts like this.... but that will only bring me the link.... I want the flexibility of grabbing anything from the nodes that i select. I can see @jonoks point but creating extra nodes and then deleting them seems like a bit of a hack to me.

  • wolulcmit 357 posts 693 karma points
    Jul 24, 2009 @ 08:10
    wolulcmit
    0

    I've resolved this by using an Ultimate PIcker and choosing the content id of the nodes where I want to list nodes (and subnodes/grandchildren) that will be available to select as featured content, it's easy to use more than one Ultimate picker too if needed.... can I give myself Karma :) ?

  • wolulcmit 357 posts 693 karma points
    Jul 24, 2009 @ 08:12
    wolulcmit
    0

    Actually it was Dirk who helped, but this issue is resolved for me and I'm pretty happy with the solution.

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Jul 24, 2009 @ 09:53
    Dirk De Grave
    100

    Glad I could help you out Tim!

  • 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