[Chameleon] maintaining separate look and feel for standard widgets

Paul Spencer pspencer at dmsolutions.ca
Thu Feb 10 17:48:09 EST 2005


We could do that as part of the Popup.php code so that all popups 
inherit the capability ... this would add a new attribute to every 
widget that supports popups, something like 'POPUPPAGE' and you would 
provide a URL to that page ...

Paul

bartvde at xs4all.nl wrote:
> Hi list,
> 
> we are struggling with what is the best option to maintain a separate look
> and feel for the standard Chameleon widgets.
> 
> E.g. for the ExpressionBuilder widget (and for many other widgets too), we
> have changed the HTML look and feel quite extensively (also the workflow
> in the GUI), which has resulted in a custom version of
> ExpressionBuilder.phtml. Ideally you would want to manage this whole
> system with css, but I doubt this is a possibility right now.
> 
> I can see a few options for maintaining this kind of system:
> -creating a copy of the standard widget and renaming it, but this is not a
> very well maintainable option.
> -is it possible to create your own widget, which inherits from the
> Chameleon widget, and then only change the phtml file used in the widget?
> 
> What I would like to see personally maybe as an option, would be to have
> an attribute on every Chameleon widget, with which you can override the
> phtml file used.
> 
> Any thoughts on this subject?
> 
> Best regards,
> Bart
> 
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon
> 

-- 
+-----------------------------------------------------------------+
|Paul Spencer                           pspencer at dmsolutions.ca   |
+-----------------------------------------------------------------+
|Applications & Software Development                              |
|DM Solutions Group Inc                 http://www.dmsolutions.ca/|
+-----------------------------------------------------------------+


More information about the Chameleon mailing list