Hello!
If anyone is curious, I found the resolution to my problem in a cookbook
recipe.
Instead of prepending the text when I save, it just prepends text when
an (:include:) statement is found.
In case anyone else is trying to add an edit link to included pages to
edit the original included
Hi all!
I'm still trying to get this to work. Patrick provided me some useful
help but I couldn't get the implementation to work on my site.
How about a different approach:
Each time I save a wiki page to a file, I want to prepend a text string
to it. Then when I edit the file, I want to
Is there a variable for the filename in the Wiki.d directory?
So that If that variable were $frenchfries for example, I could use the
following in the template:
%right% [[{$frenchfries}?action=edit | Edit]]
The problem I have is I use a lot of includes in my wiki so I need an
automated method
On Thu, Sep 06, 2007 at 10:31:51AM -0400, Josh Miller wrote:
Is there a variable for the filename in the Wiki.d directory?
Do you mean the page name? If so, then {$FullName} is
what you're looking for.
So that If that variable were $frenchfries for example, I could use the
following in the
[mailto:[EMAIL PROTECTED]
Sent: Thursday, September 06, 2007 1:56 PM
To: Josh Miller
Cc: pmwiki-users@pmichaud.com
Subject: Re: [pmwiki-users] Prepend text string to wiki file
On Thu, Sep 06, 2007 at 10:31:51AM -0400, Josh Miller wrote:
Is there a variable for the filename in the Wiki.d directory
Subject: Re: [pmwiki-users] Prepend text string to wiki file
On Thu, Sep 06, 2007 at 10:31:51AM -0400, Josh Miller wrote:
Is there a variable for the filename in the Wiki.d directory?
Do you mean the page name? If so, then {$FullName} is what you're
looking for.
So that If that variable
I would like to prepend a text string to the front of text= whenever a
new wiki page is created.
Specifically, I want to prepend something like:
%right% [[Site.SideBar?action=edit | Edit]]
Except, instead of editing Site.SideBar, I want to edit the specific
wiki file - so if I load a page
On Wed, Sep 05, 2007 at 01:53:49PM -0400, Josh Miller wrote:
I would like to prepend a text string to the front of text= whenever a
new wiki page is created.
[...]
You might take a look at http://www.pmwiki.org/wiki/Cookbook/EditTemplates
as a starting point. I'm not sure it does exactly
On Wed, Sep 05, 2007 at 01:53:49PM -0400, Josh Miller wrote:
I would like to prepend a text string to the front of text= whenever
a new wiki page is created.
[...]
You might take a look at
http://www.pmwiki.org/wiki/Cookbook/EditTemplates
as a starting point. I'm not sure it does