[Chameleon-dev] chameleon versioning and widget renaming
Normand Savard
nsavard at dmsolutions.ca
Fri Nov 12 08:32:35 EST 2004
Paul Spencer wrote:
> All,
>
> bugs 632 and 377 concern renaming widgets that have been in existance
> for quite a while. While the renaming itself is reasonably trivial,
> this will cause existing templates to break immediately.
>
> To counteract this, I've added a widget renaming scheme in
> WidgetManager.php.
>
> I don't want to support old widget names indefinitely, so the widget
> renaming is keyed to Chameleon versions. There's no concept of a
> version in the code, so I have added the following in chameleon.php:
>
...
> so that existing templates will work without warning until we declare
> version 2.2 in the defines, and won't work when we declare 2.4 in the
> defines.
>
> Make sense? This has all been committed to cvs (just now) so any
> problems should be reported asap.
>
> Cheers,
>
> Paul
> _______________________________________________
> Chameleon-dev mailing list
> Chameleon-dev at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon-dev
>
This is good.
Norm
More information about the Chameleon-dev
mailing list