thanks Andreas

On Fri, 22 Aug 2008 13:27:20 +0200, Andreas Hartmann <[EMAIL PROTECTED]>
wrote:
> I'm not sure if copying the news module is the best approach. The
> sitemaps and XSLTs are quite complex due to the recursive feed inclusion
> feature. 

I see that !! :) (see "notes"). But begin with a module that is quite
similar with a forum give me some good materials...

>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 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.

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

Have a good day.
Florent

Notes :
I see this issue when I try to understand the "news module" :

If you create a structure like that :
- News folder 1 (news doc)
-- news 1 (xhtml doc)
-- News folder 1.1 (news doc)
--- news 2 (xhtml)

==> Only the news 2 is display when you click on "News folder 1"

If you add this to the structure :

-- News folder 1.2 (news doc)
--- news 3
--- News folder 1.3
---- news 4

==> Only the news 3 and 4 are display when you click on "News folder 1"

==> IMO only the last child in the structure are display...
(I work with Lenya 2.0.1)


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

Reply via email to