AW: custom zmi interface & hidden fields
"Christian Meier" <[email protected]>
| Newsgroups | gmane.comp.cms.zms.devel |
|---|---|
| Message-ID | <0983981F011D418EBEE769DB3E7FE8DF@mdcno3> |
Hello Diez, I am thinking about the same features (image gallery with sophisticated thumbnail/cropping capabilities) for the next release v3.0 of ZMSMediaPlayer (http://cmess.com/zmsmediaplayer) - it is already (or just ;-) on the roadmap... Maybe we can pool our efforts - please contact me directly, if your are interested in... Your questions: 1) underscore attributname (e.g. _foo) creates an hidden field 2) in ZMS-2.11 there is an interface-type (like select, int, resource etc.) for content objects Regards, Christian Meier ________________________________ Von: [email protected] [mailto:[email protected]] Im Auftrag von Diez B. Roggisch Gesendet: Dienstag, 14. April 2009 17:19 An: [email protected] Betreff: [zms-developers] custom zmi interface & hidden fields Hi, I'm thinking of implementing a custom graphic conten object (or already begun implementing it), that allows to embed graphics into texts as usual, but also hooks them up to a lightbox-like display. As extra bonus, I want to offer a cropping/display-rectangle-option that allows it to specify a certain portion of the uploaded image for the thumbnail. Think of the way galleries are exposed in spiegel online - the article shows a few images, always squares, that are a partial view of the whole image you see when clicking to it. Now I have two questions: 1) I created my own thumbnail-creation-external method (wasn't satisfied with the build-in), and store the thumbnail as property of the object. But I didn't find a way to hide the thumbnail - I can only create a publically visible object property. Is there a way to circumvene that and create "private" properties? 2) For the region selection, I need of course a rather sophisticated JS-based thing. Is there a way to create custom ZMI interface components for content-objects? I'm happy to hack ZMS itself, only wonder if & where to start. Diez