cancel
Showing results for 
Search instead for 
Did you mean: 

How to model content types other than text?

robertmarkbram
Champ in-the-making
Champ in-the-making
Hi All,

So far I know that you create your own content types in the model, e.g.:

<type name="sc:legalDoc">
   <title>Someco Legal Document</title>
   <parent>sc:doc</parent>
</type>

And then in the Web Client Interface, you create a new instance of the type - which involves choosing HTML/Plain Text/XML. How do I add types to that list? I.e. graphics, videos, sound etc?

Thanks for any advice!

Rob
Smiley Happy
4 REPLIES 4

mrogers
Star Contributor
Star Contributor
Just upload files of the various types.

robertmarkbram
Champ in-the-making
Champ in-the-making
Hi Mr Rogers,
Just upload files of the various types.

I don't get what you mean - if I choose a custom type (which is what I want), I enter the "Create Content Wizard" which has three steps:
1. Details
2. Enter Content
3. Summary

None of these steps lets me arbitrarily upload files.. So, how do I make this work with custom types?

Thanks for any advice!

Rob
Smiley Happy

robertmarkbram
Champ in-the-making
Champ in-the-making
Oh, I get it (almost). Instead of going via the "Create Content Wizard", I use the "Add Content Wizard", whereby I upload anything and still get to select a content type, including my custom types..

OK - so how do I restrict file types for a given custom type? I.e. I create an "article" type and only want jpg/gif/png etc for that type?

Thanks for any further advice!

Rob
Smiley Happy

abhashree
Champ in-the-making
Champ in-the-making
Hi
i also want to create content type other than xml,html,plaintext type…
How can i able to create .Please help me…