[pmwiki-users] pagelist questions
John Rankin
john.rankin at affinity.co.nz
Tue Jul 19 18:41:34 CDT 2005
On Wednesday, 20 July 2005 7:08 AM, Bronwyn Boltwood <arndis at gmail.com> wrote:
>On 19 Jul 2005 13:14:36 +1200, John Rankin <john.rankin at affinity.co.nz> wrote:
>> Try this in your config.php file:
>> $FPLByGroupStartFmt = "<div class='fplbygroup'><ul>";
>> $FPLByGroupGFmt = "</ul><h1><a href='\$ScriptUrl/\$Group'>\$Group</a></h1><ul>";
>> $FPLByGroupIFmt = "<li><a href='\$PageUrl'>\$Title</a></li>";
>> $FPLByGroupEndFmt = "</ul></div>";
>>
>> There may be a way to avoid the empty <ul></ul> that this
>creates at the beginning, but I can't think of one.
>
>$FPLByGroupStartFmt = "";
>$FPLByGroupGFmt = "<h1><a
>href='\$ScriptUrl/\$Group'>\$Group</a></h1><ul class='fplbygroup'>";
>$FPLByGroupIFmt = "<li><a href='\$PageUrl'>\$Title</a></li>";
>$FPLByGroupEndFmt = "</ul>";
Right, because you are only outputting one group at a time, so there
is only one unordered list in the output. However, what happens if
you do a regular search and output multiple groups? IIRC, the normal
search output uses the $FPLByGroup...Fmt variables.
--
JR
--
John Rankin
More information about the pmwiki-users
mailing list