[Pmwiki-users] Alternative to '?' for links to pages that don't exist
Jonathan Scott Duff
duff
Wed Jul 7 08:53:08 CDT 2004
On Wed, Jul 07, 2004 at 09:43:22AM -0500, Jonathan Scott Duff wrote:
> On Wed, Jul 07, 2004 at 01:15:49PM +0200, Christian Ridderstr??m wrote:
> > <span class='createlink'>SomePage</span><a class='createlinkA'
> > href='http://wiki.net/Main/SomePage?action=edit'
> > title='Use this link to create the page "SomePage"'>[Create]</a>
>
> since you already have the HTML you want, you're more than halfway
> there. Just set $WikiPageCreateFmt in your config.php like so:
>
> $WikiPageCreateFmt = "<span class='createlinkA'>\$LinkText</span><a class='createlink' href='\$PageUrl?action=edit' title='Use this link to create the page \"\$PageName\"'>[Create]</a>";
Oops, I mixed up the class names in my retyping, it should be:
$WikiPageCreateFmt = "<span class='createlink'>\$LinkText</span><a class='createlinkA' href='\$PageUrl?action=edit' title='Use this link to create the page \"\$PageName\"'>[Create]</a>";
A cut and a paste and that should work just like your example (assuming
you've the proper style sheet)
-Scott
--
Jonathan Scott Duff
duff at pobox.com
More information about the pmwiki-users
mailing list