[3.8] multiupload and Object relations

Author Message

stephane couzinier

Thursday 15 June 2006 3:22:03 am

I have create new class Diaporama with 2 attributs

- title (text)
- Object relations of image.

I try to use multiplefileupload (extension from Patrizio Bekerle ).
This extension upload file in the Sub items section.
I want to link the upload file with the Object relations of my class.
I know the part of code to change but I don't know the ez functions.

Tank's for your help.

if you know a good technical documentation, give me a link.

 

Xavier Dutoit

Thursday 15 June 2006 6:22:21 am

Salut,

1) I'd suggest to put the images under the diaporama instead as related objects.

2) Have a look at the code of the eor, it contains code to add relations:

http://ez.no/community/contribs/datatypes/enhanced_objectrelation

X+

http://www.sydesy.com

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.