Hi René, This is just some of my pointers on collection... (maybe you have already seen it and don't care about, but maybe it can help...)
* You have a good introduction to collection on this page : http://lenya.apache.org/docu20/standardmodules/collectionmodulesection/collectionmoduleoverview.html * With the collection module, if you want to have all children of a document you can use this include : <ci:include src="cocoon://modules/collection/collectionWithChildren/{$uuid}/{$language}.xml" select="*/*"/> (code in file module/collection/prepareCinclude.xsl) This fire the collectionWithChildren pipeline of the collection's sitemap. * After say that I'm not sure if collection is really your problem or if it's to define a resource type that is a collection (the news module is an example for this, see the cocoon.xconf). I'm not a "star" in collection, but I think that it will be a good solution for your module. Good luck for your module that seems to be really cool ! HTH have a good day On Sat, 11 Apr 2009 20:52:36 +0200, René de Vries <[email protected]> wrote: > Hello all, > > I'm looking into building a module to preview photo's. The idea is to > have a page (somewhat like the resource page) that will preview an > image together with a bar on the top containing some of the other > photo's. > > For this I need to have a list of siblings. This seemed easy, but > proved less so... First I used the sitetree module to build a custom > navigation. The problem with this solution is (although it is easy to > build) that the resource type is not available and I want to be able > to mix documents but only show images in my preview page. Next I > looked at the news module, but I can't really put my finger on the way > this works (which part defines the resource and which part does the > collection). The collection module (and it's documentation) didn't > really help. > > Any tips? > > Thank you, > > René --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
