[Pmwiki-users] Re: Alternative to '?' for links to pages that don't exist
Christian Ridderström
chr
Wed Jul 7 09:34:12 CDT 2004
On Wed, 7 Jul 2004, Jonathan Scott Duff wrote:
> 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)
Thanks, that worked well. When I put this in a style sheet:
A.createlink { font-size:64%; }
I could let both class names be 'createlink'. In other words, this is the
code I used in my 'config.php':
$WikiPageCreateFmt="<span class='createlink'>\$LinkText</span><a class=".
"'createlink' href='\$PageUrl?action=edit' title=".
"'Use this link to create the page \"\$PageName\"'>[Create]</a>";
/Christian
--
Christian Ridderstr?m http://www.md.kth.se/~chr
More information about the pmwiki-users
mailing list