On 4/25/07, DaveG <[EMAIL PROTECTED]> wrote:
In order to display the link spaced title you can do:
[[xyz.My Spaced Title]]
However, when combining with parameters:
[[xyz.My Spaced Title?action=edit]]
It doesn't work. It would be nice if there was a shortcut similar to "+"
[[xyz.MySpacedTitle?action=edit | +]]
which gave the spaced title. Does such a thing already exist, or is there
a different way to shortcut the spaced title in a parameterized link
reference?
If I understand your question correctly, the following looks like it might
apply:
From: Patrick R. Michaud <[EMAIL PROTECTED]>
Date: Dec 30, 2005 5:20 PM
Subject: Re: [pmwiki-users] When using {$Fullname}|+ how to get spaced
To: [email protected]
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
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users