|
|
Rank: Devotee
Joined: 4/22/2008 Posts: 62 Location: Dubai
|
Hi, how can i develop a data type and use it...
Sajith.
|
|
 Rank: Umbracoholic
Joined: 9/27/2007 Posts: 1,136 Location: Belgium
|
Hi sajith, Have a look at the article tim wrote on his blog. It should get you started. Regards, /Dirk
level 1 & 2 certified - umbraco MVP 2008/2009 - umbraco blog at netaddicts.be - working on an integrated forum4umbraco
|
|
Rank: Devotee
Joined: 4/22/2008 Posts: 62 Location: Dubai
|
Hi Dirk,
Can u please send me a sample for creating a dropdownlist with some values in it.
something like sortby or sortOrder
Sajith.
|
|
 Rank: Umbracoholic
Joined: 9/27/2007 Posts: 1,136 Location: Belgium
|
Hi sajith, Don't exactly understand what you're after. Could you give some more background info? If you just want to create a dropdown with prevalues, just create a new datatype: - Choose an appropriate name, choose 'Dropdown list' as render control, and hit the 'Save' icon - After saving, you can set the database type and add some prevalues. Greetz, /Dirk
level 1 & 2 certified - umbraco MVP 2008/2009 - umbraco blog at netaddicts.be - working on an integrated forum4umbraco
|
|
Rank: Devotee
Joined: 4/22/2008 Posts: 62 Location: Dubai
|
Hi Dirk,
I'm trying to create a file uploader which converts .mpeg or .wmv files to .flv files and upload in some location.
While creating a datatype do we need to upload the details (about the file uploaded using the datatype) to database. i mean when using that datatype to upload a file in a node... or Will umbraco take care of that ??
Sajith.
|
|
 Rank: Umbracoholic
Joined: 9/27/2007 Posts: 1,136 Location: Belgium
|
Hi sajith, All depends on your own imagination. How do you want to store all files (I guess in the media section, right?). As a new media type? Or existing media type (File for example) Based on the info you'd wish to save, you'd go for the existing media type or create a custome one (you decide what properties will/won't be saved then). You'll still need to code the logic for uploading/creating the new media and adding it to the media section. Hope that helps. Regards, /Dirk
level 1 & 2 certified - umbraco MVP 2008/2009 - umbraco blog at netaddicts.be - working on an integrated forum4umbraco
|
|
|
Guest |