Multiple member picker Options
Zach
Posted: Tuesday, September 25, 2007 10:04:32 PM
Rank: Devotee

Joined: 8/15/2007
Posts: 30
Has anyone seen a multiple member picker out there at all? I'd like to setup many to many relationships between various nodes and display them on the page but there is nothing in the default umbraco install to allow that.

Thanks!
Zac
Zach
Posted: Tuesday, September 25, 2007 11:01:56 PM
Rank: Devotee

Joined: 8/15/2007
Posts: 30
While I'm asking for stuff, are there any good tutorials out there on creating your own custom data type? :)

Thanks!
tkahn
Posted: Wednesday, September 26, 2007 8:51:41 AM

Rank: Fanatic

Joined: 11/24/2006
Posts: 323
Location: Stockholm, Sweden
Yes, there is a Multiple Media Picker! I use it to pick banners to display on my pages. Here's a link to what I think is the latest version (Lefteris?):

http://www.joyhost.gr/media/11325-lefmediapicker.0.3.zip

I don't know if it will work as a solution to create the many-to-many relations that you mention, but this might be a good place to start.

Web Developer at Kärnhuset - http://www.karnhuset.net - Stockholm, Sweden
imayat12
Posted: Wednesday, September 26, 2007 11:03:41 AM

Rank: Addict

Joined: 7/19/2006
Posts: 671
Location: Preston, UK
Zach,

In the umbraco api there is the relations class. You can create relations between members and content nodes. Ive never used it myself but Niels mentioned it to me.

Code:

umbraco.cms.businesslogic.relation.Relation

umbraco.cms.businesslogic.relation.Relation.MakeNew

umbraco.cms.businesslogic.relation.Relation.GetRelations



With regards to data types have a look at the umbraco source code you should be able to pick up how to do it or you could download one i did ages ago its fairly simple one but you could add your own code to it you can get it here

Ismail

Level 2 certified. If it aint broke dont fix.
Zach
Posted: Wednesday, September 26, 2007 4:54:19 PM
Rank: Devotee

Joined: 8/15/2007
Posts: 30
Thank you Ismail, I'll look into the the relation thing a little more. For the time being, I found a Multiple member picker that seems to work pretty good, but the fewer add-ons the better in my book. I looked at some of the but in data types, but I'm not really a super great programmer (I'm a much better designer) so It will take me a while to figure out. :) I'll take a look at yours to and see if I can get it to click.

Thanks again,
Zach
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.