[pmwiki-users] div block "fpltemplate" when using pagelists

Patrick R. Michaud pmichaud at pobox.com
Mon Oct 29 14:32:20 CDT 2007


On Mon, Oct 29, 2007 at 10:19:04PM +0200, alglt at yahoo.com wrote:
> Hello,
> 
> I've noticed that every item generated by (:template:) gets wrapped up in
> a <div class="fpltemplate"> block. I do not really want this. Can I turn
> it off somehow (I would just comment out the line 585 in pagelist.php,
> but I don't want to have accidental problems when upgrading PmWiki)?

If you don't want the <div> at all, then you can try using either
wrap=none or wrap=inline in the pagelist directive.

    (:pagelist wrap=none:)

If you want this to be the default for all pagelists, set
the following in local/config.php:

    $FPLFormatOpt['default']['wrap'] = 'none';

Pm



More information about the pmwiki-users mailing list