--
PavelJenicek - 2010-01-21
Thank you very Pavel much for contributing an improved calendar plugin! The new look is so much nicer (Google like), and very useful to support hours. Rather than forking the plugin, I very much would prefer to replace the
CalendarPlugin with your implementation, and to go back to use
%CALEDNAR{}% instead of
%CALEDNAR2{}%. Is your plugin upward compatible? Seems like from glancing over the syntax rules.
Also, please consider maintaining your plugin in SVN. More at
ReadmeFirst and
PluginsInSubversion.
--
PeterThoeny - 2010-01-23
I am sorry for no long answer.
Syntax is full compatible it is just time expanded.
We have decided to edit code and use original tag %CALEDNAR{}% and also replace the
CalendarPlugin with the new one.There are also another things that should be mentioned. The new look do not support all attributes, which was available in
CalendarPlugin. There is a list with note if it is working or not.
- lang="language" OK
- daynames="Mon|Tue|..." OK
- header="..." only in oldcalendar
- weekstartsonmonday="1" or "0" OK
- showdatenumbers="0" only in oldcalendar
- showweekdayheaders="1" only in oldcalendar
- weekdayheadersbig="0" only in oldcalendar
- cellalignment="left" only in oldcalendar
- vcellalignment="middle" only in oldcalendar
- cellheight="n" only in oldcalendar
- border only in oldcalendar
- nowrap only in oldcalendar
- format="..." only in oldcalendar
- all colors only in oldcalendar
- aslist dont work
- months OK
For full compatibility with old calendar plugin, there will be attribute "newcalendar" which, in my opinion, should be default 0. In this case, if someone upgrade his CP it will take no chage in look of his calendar. But if users want to use our new look, they will have to specify "newcalendar=1" .
So do you agree with our scheme?
--
PavelJenicek - 2010-02-14