[opencms-dev] Adding a new type of Gallery to the Editor

Alexander Kandzior alex at opencms.org
Mon Feb 14 18:02:23 CET 2005


Daniel,

Such a kind of gallery will IMHO be possible only for XML content items, not
inside the WYSIWYG editor. This is because of the structure of the HTML
editable element used for the WYSIWYG. 

In this case the task is better described as "building a XML content widget
for content references".

The code base of the galleries should be usable for this. The galleries
already share most of the code as well as the JSP pages. Have a look at the
package "org.opencms.workplace.galleries", there is an abtract base class
called "A_CmsGallery" from which all Galleries are extended. It basically
comes down to writing some 100-200 LOC, mainly to generate the list view.

I can give some more details about the other tasks required. Before I do
please let me know if this is actually what you want (Gallery like
references for XML contents, not for the WYSIWYG editor).

Best Regards,
Alex.

Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com

 

> -----Original Message-----
> From: opencms-dev-bounces at opencms.org 
> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Daniel Rhoden
> Sent: Monday, February 14, 2005 5:47 PM
> To: The OpenCms mailing list
> Subject: [opencms-dev] Adding a new type of Gallery to the Editor
> 
> I would like to add a new type of Gallery accessible from the 
> editor to make references to other XML page' content 
> elements.  It should not act like the HTML Gallery in which a 
> COPY is made, but more like the <cms:include page="" 
> element=""> tag, in which a REFERENCE is made. I think there 
> are many uses for such a feature (though the term 'gallery' 
> may not be appropriate). 
> 
> 1. Can we post an outline for building custom "galleries"?
> 2. Can we post ways to achieve a "Reference Gallery" mentioned above?
> 
> Thanks,
> 
> --Daniel Rhoden
> 
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list To 
> change your list options, or to unsubscribe from the list, 
> please visit http://mail.opencms.org/mailman/listinfo/opencms-dev
> 
> 




More information about the opencms-dev mailing list