[pmwiki-users] Minor issue on beta 22: Extra <DT> tag

Patrick R. Michaud pmichaud at pobox.com
Fri Feb 3 16:25:08 CST 2006


On Fri, Feb 03, 2006 at 03:17:01PM -0700, H. Fox wrote:
> On 2/3/06, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> > Oh, wait.  If we do this, then we're changing the bullet
> > list style for *all* pagelist templates, not just the default
> > one or the bygroup template.  Thus, fmt=simple (which currently
> > produces a bullet list) would suddenly be flush against the
> > left margin, with no bullets.
> >
> > That's not really what I was looking for, unfortunately.
> 
> No, not good...
> 
> > Any ideas or suggestions?
> 
> How about re-introducing the >>division<< in the default template?

Hmm, I was thinking that this might interfere with >>divisions<<
in the calling page, but actually the pagelist is rendered via a
separate call so that's not really an issue.

But it still feels wrong to me, and I think there really ought
to be a way for each template to specify other default options.
For example, "fmt=#title" really ought to have a way to
specify a default "order=title".

How about something as simple as placing additional pagelist options 
on the same line as the anchor?  (This line is cut out of the
pagelist output anyway.)

    [[#bygroup]] class=bygroup
    ...
    [[#bygroupend]]

  
    [[#title]] order=title class=title
    * [[{=$FullName}|+]]
    [[#titleend]]


Pm 




More information about the pmwiki-users mailing list