[pmwiki-users] how to link to edit
Matt Hollingsworth
mattt1138 at hotmail.com
Mon Sep 24 02:40:58 CDT 2007
Perfect! Exactly what I needed. Thanks!
> From: 5ko at free.fr
> To: pmwiki-users at pmichaud.com
> Date: Sun, 23 Sep 2007 19:26:33 +0200
> Subject: Re: [pmwiki-users] how to link to edit
>
> On Sunday 23 September 2007, Matt Hollingsworth wrote:
> > Anybody know how to make a link to an edit?
> >
> > Like a link to edit the page itself that is not an absolute name?
> >
> > Here:
> >
> > http://zagreb-wiki.com/index.php?n=Restaurant.Sakristan
> >
> > I'd like this code:
> >
> > [[http://zagreb-wiki.com/index.php?n=Restaurant.Sakristan?action=edit |
> > expanding]]
> >
> > To be relative, so that it launches ?action=edit for whatever page it's on.
>
> For this page:
> [[Restaurant.Sakristan?action=edit|Edit this page]]
>
> In a PageActions/SideBar/GroupHeader/GroupFooter:
> [[{*$FullName}?action=edit|Edit this page]]
>
> {*$FullName} means the currently displayed page. If you have an old version of
> PmWiki and this doesn't work, try {$FullName}, however it may break your site
> when you upgrade to the new 2.2.x version.
>
> Inside a (HTML .tmpl) skin, you can use {$PageUrl}?action=edit as pointer to
> edit the current page, like:
> <a href="{$PageUrl}?action=edit">edit</a>
>
> Thanks,
> Petko
>
>
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
_________________________________________________________________
Capture your memories in an online journal!
http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20070924/1a7e8edb/attachment.html
More information about the pmwiki-users
mailing list