[pmwiki-users] page name variable
Hans
design5 at softflow.co.uk
Tue Dec 26 09:31:34 CST 2006
Tuesday, December 26, 2006, 3:16:02 PM, info wrote:
> I am editing the SideBar and within this I want to reference to content page
> name - is that possible at all?
> The following line refers to the the SideBar:
> %right% [-[[{$Group}.SideBar?action=edit | edit SideBar]]-]
> I would like to have the equivalent which refers to the respective content
> page.
> %right% [-[[{$Group}.{$<refer to content page>}?action=edit | edit Content]]-]
with pmwiki 2.2.0 betas you need to make the pagevariable absolute by
using *, in order it to apply to the containing page. Otherwise it
applies to the secondary or included page (like SideBar).
so you may use
%right% [-[[{*$Group}.SideBar?action=edit | edit SideBar]]-]
and
%right% [-[[{*$FullName}?action=edit | edit Content]]-]
The latter without the * works for pmwiki pre 2.2.0
Hans
More information about the pmwiki-users
mailing list