[pmwiki-users] page name variable
Patrick R. Michaud
pmichaud at pobox.com
Tue Dec 26 11:02:21 CST 2006
On Tue, Dec 26, 2006 at 04:16:02PM +0100, info wrote:
> On Tuesday 26 December 2006 16:00, Patrick R. Michaud wrote:
> > On Tue, Dec 26, 2006 at 01:10:05PM +0100, info wrote:
> > > By editing a pmwiki page I can use $Group to get the current group name.
> > > Which variable gives me the current page name?
> >
> > {$Name} - name of the page
> > {$FullName} - group+name
> Excuse me I expressed myself inacurate.
>
> I am editing the SideBar and within this I want to reference to content page
> name - is that possible at all?
>
> I would like to have the equivalent which refers to the respective content
> page.
> %right% [-[[{$Group}.{$<refer to content page>}?action=edit | edit Content]]-]
Try:
%right% [-[[{*$FullName}?action=edit | edit Content]]-]
The '*' means "use the current content page", thus {*$FullName} gives
the full page name of the current content page (as opposed to the sidebar
itself).
Pm
More information about the pmwiki-users
mailing list