Hi André,

Florent André schrieb:

[…]

It might be a lot easier to start with a clean forum module
containing two resource types. Since resource types are global and not
namespaced, I'd recommend something like

* forum
* forumpost

Does Lenya have a module that implement two resource types ? Can you give
me his name in order to have an example please ?

I don't think there is such a module, but this is not a problem. Just
add all files that are needed for both resource types to the module.
Alternatively, you could also use separate modules for the resource
types if you find that more appropriate. From my PoV a single module is
more convenient re. installation.


I also have a question about the "forumpost" resource : I think that : this resource have to be composed with :
- 1 : an "edit zone" for the "post" message (like an xhtml resource)
- 2 : a "collection" (like <collection ..> in the news ressource), for list
all the answers to the first post.

It's up to you if you want to use a separate document for the thread
collection, or a hierarchical approach where the first post in a thread
is the parent of all replies. The layout of the web pages is independent
of the site structure.


But I don't know how I can create this... Do you have an example ?

No, I'm afraid you're the first one to build such a thing :)

-- Andreas


--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to