Forums / Developer / Right attributes for custom class
Albe Terra
Monday 22 September 2008 5:29:27 am
Hi!I have to create a custom content class that should contain:
-one image with a caption -one video with a text description-one file attachment with the file name
Which are the best attributes to use for this class?I know that for the image, for example, there's the image datatype, but it has no possibility to add a caption. The idea could be to add a "text line" datatype for the caption. The same can be done for the description of the video and the name of the attachment.
Do you have a better idea?
Thanks, Albe
Piotrek KaraĆ
Monday 22 September 2008 12:49:04 pm
The idea could be to add a "text line" datatype for the caption. The same can be done for the description of the video and the name of the attachment.
Seems like exactly what should be done (other than programming your custom datatypes).
-- Company: mediaSELF Sp. z o.o., http://www.mediaself.pl eZ references: http://ez.no/partners/worldwide_partners/mediaself eZ certified developer: http://ez.no/certification/verify/272585 eZ blog: http://ez.ryba.eu