[pmwiki-users] pagelist format for spaced titles?

John Rankin john.rankin at affinity.co.nz
Wed Jun 8 16:14:05 CDT 2005


On Thursday, 9 June 2005 3:15 AM, Hans <design at flutesong.fsnet.co.uk> wrote:
>Is there a way to have the pagelist display results as spaced names?
>With using fmt=category i get for instance:
>
>Web /
>    AbruptClimateChange
>    CarbonEmissionsTrading
>    ClimateChange
>    ClimateChangeLinks
>    ContractionAndConvergence
>    ShrinkingCarbonEmissions
>
>but would like to get:
>
>Web /
>    Abrupt Climate Change
>    Carbon Emissions Trading
>    Climate Change
>    Climate Change Links
>    Contraction And Convergence
>    Shrinking Carbon Emissions
>
>i.e. a much more readable list
>  
Try the following: in your local/config.php set

    $FPLByGroupIFmt = 
        "<dd><a href='\$PageUrl'>$Title</a></dd>\n";

This assumes you have $SpaceWikiWords = 1;

It tells the pagelist function to use the $Title instead
of the $Name.

-- 
JR
--
John Rankin






More information about the pmwiki-users mailing list