Paloma Gomez wrote:
Hi all,
I want to create a calendar of events in my publication and
I was thinking about the way to implement this - I'm working
with Lenya 1.4. I don't have any experience in developing,
so I'd like to ask for advice on the best approach. Please,
correct me if I'm making wrong assumptions :-).
you might want to take a look at
https://svn.wyona.com/repos/public/lenya/modules/calendar
resp.
https://svn.wyona.com/repos/public/lenya/pubs/mypub
whereas please be aware that this is still a prototype, whereas
I am using it within production myself ;-)
HTH
Michi
I think I should create a custom module. It should gather data
about the events from the editor and store them in a database,
where they could be fetched to be displayed in a calendar.
I've got some questions on these ideas.
- The custom module
I should create it under <my-pub>/lenya/modules, right?
-The database approach
I've seen another open source CMS based on Cocoon which stores
the events' data in xml files. I think that as soon as the number
of events grow, it might be inefficient, but maybe I'm wrong.
-Using an existent module within a module
I've been looking at the CForms module and I think I could modify
the default form to gather the data. But I don't know if I should copy
the CForms module to <my-pub>/lenya/modules and replace Cforms with
<my-mod> in all files and add the required functionality or if there is way
to make use of it from my module.
Thanks,
Paloma
--
Paloma Gomez
University of Seville
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Michael Wechner
Wyona - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
[EMAIL PROTECTED] [EMAIL PROTECTED]
+41 44 272 91 61
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]