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
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.
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.
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?
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.
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.
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.
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 :) ?
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
here was my diagram:
http://twitpic.com/bbr6a
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.
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
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?
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.
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.
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.
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.
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 :) ?
Actually it was Dirk who helped, but this issue is resolved for me and I'm pretty happy with the solution.
Glad I could help you out Tim!
is working on a reply...
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.