[pmwiki-users] Edit Link, ?n=page?action=edit
The Editor
editor at fast.st
Tue Mar 28 08:39:51 CST 2006
Hi Firefly
I put this script in my Site.Footer page and it shows up wherever a
user has edit privileges. Where I don't want the button to show, I
use (:nofooter:) in the group footer (or in a page). It works really
nice, for me as an admin also. I get the button just about anywhere I
need it.
[[<<]]
(:if auth edit:)
(:input form "index.php?n={$FullName}?action=edit":)
(:input submit value="Edit Page":)
(:input end:)
(:if:)
Cheers
Caveman
On 3/28/06, Firefly <stealth at fireflyuk.net> wrote:
>
>
>
> Thank you that works perfectly.
>
>
>
> ________________________________
>
>
> From: zkarj735 at gmail.com [mailto:zkarj735 at gmail.com] On Behalf Of Allister
> Jenks
> Sent: 28 March 2006 10:35
> To: Firefly
> Cc: pmwiki-users at pmichaud.com
> Subject: Re: [pmwiki-users] Edit Link, ?n=page?action=edit
>
>
>
>
> On 3/28/06, Firefly <stealth at fireflyuk.net> wrote:
>
>
>
> I would now like to be able to but a edit this page link in a group header.
> Is there a variable that says current page you're on...
>
>
> I have successfully implemented the following:
>
> [[{$Name}?action=edit|Edit this page]]
>
> --
> Allister
>
>
> --
> No virus found in this incoming message.
>
> Checked by AVG Free Edition.
> Version: 7.1.385 / Virus Database: 268.3.2/294 - Release Date: 27/03/2006
>
>
>
>
>
> --
>
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.385 / Virus Database: 268.3.2/294 - Release Date: 27/03/2006
>
>
>
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://host.pmichaud.com/mailman/listinfo/pmwiki-users
>
>
>
More information about the pmwiki-users
mailing list