Forums / Setup & design / Create a diagram object?
Andrew Zahra
Monday 09 February 2004 4:49:23 pm
I want to create a class that contains a graphic of a software class diagram as well as the original source from my class diagram tool. I only want the graphic displayed in documents but I want the source to be available so future authors can download it to update.
Is this possible?
Alex Jones
Tuesday 10 February 2004 6:35:41 am
Yep, it is possible. You can store binary files such as your source in eZ publish, and link to them. The image itself can be a part of the article, a custom class or a related object. There are some examples on the forums which a quick search should show you.
Alex
Alex [ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ] <i>When in doubt, clear the cache.</i>
Tuesday 10 February 2004 2:47:14 pm
Thanks - I actually had done a search before posting. Perhaps you could give me some clues as to good search strings?
thanks again,Andrew
Vidar Langseid
Wednesday 11 February 2004 3:11:36 am
Well, what you basically have to do is: Edit your content class and add an attribute of the following datatype:BinaryFile