[Pmwiki-users] $TitleSpace Question

John Rankin john.rankin
Thu Oct 7 15:34:18 CDT 2004


On Friday, 8 October 2004 5:31 AM, Steven Leite <steven_leite at kitimat.net> wrote:
>Re: PmWiki 2.x
>
>How does one make ALL the Group / Title 's that appear acrross the wiki
>behave the same as the $SpaceWikiWords option?

I don't know if this is the best way to do it, but the following
works (from memory):

- assume you have an AsSpaced function

- change the template where it displays the group / title 
  from $Name to $SpacedName

- add the following to config.php (from memory)

    $SpacedName = AsSpaced(FmtPageName('$Name',$pagename));

- you can do the same for $SpacedGroup if desired

Hope this helps.


-- 
JR
--
John Rankin





More information about the pmwiki-users mailing list