[pmwiki-users] Re: category output

Bronwyn Boltwood arndis at gmail.com
Wed Mar 16 01:47:18 CST 2005


On Wed, 16 Mar 2005 01:46:15 -0600, Patrick R. Michaud
<pmichaud at pobox.com> wrote:
> On Tue, Mar 15, 2005 at 10:36:10PM -0500, Bronwyn Boltwood wrote:
> >
> > Cool.  There's two formats that I'd like:
> > -simple.  Just the pagenames without the groups or anything.  Could be
> > useful as navigation links in sidebars.
> 
> fmt=simple already exists, although it displays the pages as a bullet
> list and uses the full names.  But you can change this:
> 
>    $FPLSimpleStartFmt = '';
>    $FPLSimpleEndFmt = '';
>    $FPLSimpleIFmt = "<a href='\$PageUrl'>\$Name</a> ";
> 
> and then (:pagelist fmt=simple:) will do what you want.  See
> http://www.pmwiki.org/wiki/Test/ReallySimple.

Can I have fmt=reallysimple in addition to fmt=simple by writing:

    $FPLReallySimpleStartFmt = '';
    $FPLReallySimpleEndFmt = '';
    $FPLReallySimpleIFmt = "<a href='\$PageUrl'>\$Name</a> ";

> > -teasers.  Give me the page title, date (not sure if should be last
> > modified or created), author, and a few lines of the content.  Yes,
> > this is for blogginess. :)
> 
> Yes, I'm working on this one.  It will probably give the first
> paragraph of content.

:) I figured you might be, but thought I should mention it.  I for one
write some really long paragraphs, so you might want to include a
limiter of some kind (e.g. 1st 50 words).

Bronwyn



More information about the pmwiki-users mailing list