On 08/07/2008, Ard Schrijvers <[EMAIL PROTECTED]> wrote: > >> Hello, >> >> Yes Jasha is right. The TreeGenerator is configurable in >> which properties to fetch, the SessionDocListingGenerator is >> not. It though would be really easy to add this, because all >> logic is present. Only, it is not really designed for >> extending, hence it might be hard. > > To be precise: It might be hard to extend the class, but not to add it > *in* the SessionDocListingGenerator. This is almost trivial > >> >> Think the easiest way is that we add the functionality, that >> you can configure *extra* properties you want in the >> generator configuration in the sitemap. >> >> -Ard >> >> >> > >> > Hi Niek, >> > >> > The >> > nl.hippo.cocoon.generation.repository.navigation.SessionDocLis >> > tingGenera >> > tor is used in the explorer which can be found in Hippo Cocoon >> > Extensions: webdav block. This gets its properties from >> > nl.hippo.cocoon.webdav.FillPropsVector from the same project. >> > If you really need the author information in the listing and not in >> > the properties box in the right hand side, you'll have to >> extend them. >> > >> > Regards, >> > >> > Jasha Joachimsthal >> > >> > www.onehippo.com >> > Amsterdam - Hippo B.V. Oosteinde 11 1017 WT Amsterdam >> > +31(0)20-5224466 San Francisco - Hippo USA Inc. 101 H Street, >> > suite Q Petaluma CA >> > 94952-3329 +1 (707) 773-4646 >> > >> > >> > >> > > -----Original Message----- >> > > From: [EMAIL PROTECTED] >> > > [mailto:[EMAIL PROTECTED] On >> Behalf Of Niek >> > > Wesseling >> > > Sent: dinsdag 8 juli 2008 12:49 >> > > To: [email protected] >> > > Subject: [HippoCMS-dev] Add column author to document explorer >> > > >> > > Hi all, >> > > >> > > Currently I am trying to add a few extra columns to the document >> > > explorer which is the page under tab documents where you >> can select >> > > a document. This page shows information such as Name, >> size(KB) and >> > > type. Along with that information the author should be shown as >> > > well. >> > > Now I have found out that the file tree2html.xsl under >> > > sites\hippo-cms\explorer\transformers\doclisting is >> responsible for >> > > creating these columns. Tree2html.xsl then uses Common.xsl in >> > > C:\hippo-cms\sites\hippo-cms\explorer\transformers\util >> to provide >> > > the content of these columns (such as the exact size in KB for a >> > > specific document). So far no problems. However I haven't >> been able >> > > to retrieve the author (or createdby) property of a specific >> > > document in these xsl files. Can anyone provide me with >> information >> > > how to get such information in these xsl files? >> > > >> > > Thanks in advance. >> > > ******************************************** >> > > Hippocms-dev: Hippo CMS development public mailinglist >> > > >> > > Searchable archives can be found at: >> > > MarkMail: http://hippocms-dev.markmail.org >> > > Nabble: http://www.nabble.com/Hippo-CMS-f26633.html >> > > >> > > >> > ******************************************** >> > Hippocms-dev: Hippo CMS development public mailinglist >> > >> > Searchable archives can be found at: >> > MarkMail: http://hippocms-dev.markmail.org >> > Nabble: http://www.nabble.com/Hippo-CMS-f26633.html >> > >> > >> ******************************************** >> Hippocms-dev: Hippo CMS development public mailinglist >> >> Searchable archives can be found at: >> MarkMail: http://hippocms-dev.markmail.org >> Nabble: http://www.nabble.com/Hippo-CMS-f26633.html >> >> > ******************************************** > Hippocms-dev: Hippo CMS development public mailinglist > > Searchable archives can be found at: > MarkMail: http://hippocms-dev.markmail.org > Nabble: http://www.nabble.com/Hippo-CMS-f26633.html > > ******************************************** Hippocms-dev: Hippo CMS development public mailinglist
Searchable archives can be found at: MarkMail: http://hippocms-dev.markmail.org Nabble: http://www.nabble.com/Hippo-CMS-f26633.html
