[Chameleon] maintaining separate look and feel for standard widgets

bartvde at xs4all.nl bartvde at xs4all.nl
Mon Feb 7 05:03:54 EST 2005


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



More information about the Chameleon mailing list