[pmwiki-users] When using {$Fullname}|+ how to get spaced

Patrick R. Michaud pmichaud at pobox.com
Fri Dec 30 16:20:55 CST 2005


On Fri, Dec 30, 2005 at 04:15:52PM -0600, Ben Wilson wrote:
> I am starting to use [[{$Fullname}|+]], but I want the output to be
> spaced. Presently it is not--unless I am not doing something I should.
> I am using Beta 17.

Try the following in config.php:

## [[target |+]] title links
Markup('[[|+', '<[[|',
  "/(?>\\[\\[([^|\\]]+))\\|\\s*\\+\\s*]]/e",
  "Keep(MakeLink(\$pagename, PSS('$1'),
                 PageVar(MakePageName(\$pagename,PSS('$1')), '\$Titlespaced')
                ),'L')");

Pm




More information about the pmwiki-users mailing list