Michael,
I am glad to hear that you are planning to extend SmallWiki with new
functionality!
We are going to add the calendar to each User and make
it viewable and
updatable. I was thinking about adding another navigation box on the
left hand side of the browser w/ functionality for accessing the
calendar.
First of all you have to decide, if you want your calendar to have its
own url and to behave like a wiki-page (1) or if you want it to be
visible as part of the layout on each and every page (2); of course
these two possibilities might also get combined.
1. With the first approach you basically create one or more subclasses
of Structure. I imagine that you need one for the calendar and one for
the events. You might want to have a look at the implementation of the
message #processChild:, to get an idea how the urls are resolved and
the nesting of the structures is handled.
To see how actions, security and structures work together, have a look
inside the bundle 'SmallWiki Examples' where 'SmallWiki Example
Glossary' will be the most interesting for you. I've just updated the
latest code and bug-fixes to Cincom StORE.
2. If you want to go for the template solution, have a look at the
examples 'SmallWiki Example RSS' and 'SmallWiki Example Statistic'. I
am not sure if I should really suggest you to go with this solution, as
I am thinking about dropping the templates and going for a plain
CSS-Solution. Also note that the editing and configuration of templates
is somehow tricky to implement.
Maybe you want to subscribe to the SmallWiki mailing-list at
http://www.iam.unibe.ch/cgi-bin/majordomo?module=modify to get the
latest news and join the online discussions.
Hope that helps,
Lukas
On Montag, Jul 28, 2003, at 05:06 Europe/Zurich, Michael Baker wrote:
Lukas,
I am a student at UIUC (
http://st-www.cs.uiuc.edu/users/cs497/ )
taking a course in OOA&D w/ Ralph Johnson. For our class project (
http://wiki.cs.uiuc.edu/cs497rej/Calendar+feature+for+SmallWiki ) , my
partner and I are attempting to add calendar fuctionality ( like an
Outlook Calendar ) to your SmallWiki.
We have completed the calendar classes, but are having trouble getting
started integrating it w/ SmallWiki. We are going to add the calendar
to each User and make it viewable and updatable. I was thinking about
adding another navigation box on the left hand side of the browser w/
functionality for accessing the calendar.
Can you provide some tips on integrating the calendar? I have thought
that we will need new EditAction subclasses, a ViewAction subclasses,
a couple of Structure subclasses. Also, I think we'll need to add a
few #acceptWhatever: methods to Visitor and the VisitorRendererHtml.
Do you have any recommendations?
Thanks in advance for your help!
Michael Baker
http://wiki.cs.uiuc.edu/cs497rej/Michael+Baker
--
Lukas Renggli
http://renggli.freezope.org