Re: [pmwiki-users] powertools/pagelist only names

2009-09-29 Thread noskule
Hans schrieb: Monday, September 28, 2009, 1:33:27 PM, noskule wrote: ah, I found out I can use fmt, so using: [[#cvsn]] {=$Name}, [[#cvsnend]] adds a space after each semicolon, is there a way around this? try this: [[#cvsn]]{=$Name},\ [[#cvsnend]]

[pmwiki-users] powertools/pagelist only names

2009-09-28 Thread noskule
hi hans, list Is there a way using to make the pagelist expression outputs only the names of pages instead of Group.Name? thanks for any hints nos ___ pmwiki-users mailing list pmwiki-users@pmichaud.com

Re: [pmwiki-users] powertools/pagelist only names

2009-09-28 Thread Hans
Monday, September 28, 2009, 1:33:27 PM, noskule wrote: ah, I found out I can use fmt, so using: [[#cvsn]] {=$Name}, [[#cvsnend]] adds a space after each semicolon, is there a way around this? try this: [[#cvsn]]{=$Name},\ [[#cvsnend]] ~Hans

Re: [pmwiki-users] powertools / {(pagelist ...)}

2009-01-02 Thread Hans
Friday, January 2, 2009, 2:24:10 PM, Stéphane Heckel wrote: I'm using the powertools/pagelist function It works great. ie :{(pagelist group=People $createdby=st...@acme.com)} However, when combined with a fmt option, pagelist renders as usual (standard pmwiki by default, with hyperlink

Re: [pmwiki-users] powertools / {(pagelist ...)}

2009-01-02 Thread St�phane Heckel
Hans wrote : By default the {(pagelist ...)} expression outputs a CSV list of page names, i.e fmt=csv is the default. Other formats are not supported. Or you get confusing, ill defined results. To support a different format, one would need to define it through a custom function. Is it

Re: [pmwiki-users] powertools / {(pagelist ...)}

2009-01-02 Thread Hans
Friday, January 2, 2009, 4:13:01 PM, Stéphane Heckel wrote: Is it complex to implement ? Would it be a useful enhancement to powertools to provide dynamic format driven by the fmt= option ? I would need something like : [[#createdby]] {=$Name}|{=$Title}|{=$CreatedBy} [[#createdbyend]]

Re: [pmwiki-users] powertools / {(pagelist ...)}

2009-01-02 Thread St�phane Heckel
Hans wrote : yes, it is complex. The whole template based output formatting does not work with the expression. I could not see a way how to integrate template formatting. Custom solutions are difficult, and i cannot offer much help with such. Sorry! I have maybe found an alternative, using

Re: [pmwiki-users] powertools / {(pagelist ...)}

2009-01-02 Thread Hans
Friday, January 2, 2009, 4:13:01 PM, Stéphane Heckel wrote: Is it complex to implement ? Would it be a useful enhancement to powertools to provide dynamic format driven by the fmt= option ? I would need something like : [[#createdby]] {=$Name}|{=$Title}|{=$CreatedBy} [[#createdbyend]]

Re: [pmwiki-users] powertools / {(pagelist ...)}

2009-01-02 Thread St�phane Heckel
Hans wrote : okay, i played with this, to give you an idea: Hi Hans, thanks for this. I understand how it works now. It can be reused as a 'generic/demo template for powertools. In the meanwhile, I have investigated the alternative MarkupToHTML() path, ... and it works : // in my main

Re: [pmwiki-users] powertools - pagelist with custom fmt

2008-09-17 Thread adam overton
okay, so after a little further thought, and after looking at pagelist.php and powertools, i realize that basically what i need is a version of pagelist that can iterate through fmt=#mycustomfmt (which is declared on the LocalTemplates page) just as it normally would, but without adding

[pmwiki-users] powertools - pagelist with custom fmt

2008-09-13 Thread adam overton
hi is it / could it be possible to use a custom pagelist template with {(pagecount (pagelist ... ) )}? the problem i'm having with the powertools pagelist is that it has to be set to fmt=csv in order to spit out what pagecount needs, and so it can't use my special fmt=#mypagelistfunction,

Re: [pmwiki-users] powertools - pagelist with custom fmt

2008-09-13 Thread Hans
Saturday, September 13, 2008, 1:08:56 PM, adam overton wrote: so again, is it/can it/will it be possible to run {(pagelist)} thru a custom fmt and have it still spit out as a csv? this seems to be a contradiction in itself. If you want a custom formatted output, you won't have a