[Pmwiki-users] A small change...
John Rankin
john.rankin
Wed Sep 10 16:09:12 CDT 2003
Another option is to use a different class for nonexistent pages and
make the ? a softer colour, omit the underline, or whatever.
So your example becomes:
> $WikiPageCreateFmt =
> "\$LinkText<a class='nonexistent' href='\$PageUrl?action=edit'>?</a>";
> $WikiPageCreateSpaceFmt =
> "\$LinkText<a class='nonexistent' href='\$PageUrl?action=edit'>?</a>";
>
JR
--
On Thursday, 11 September 2003 2:23 AM, Patrick R. Michaud <pmichaud at pobox.com> wrote:
Yup, I think it warrants its own cookbook page. The point of the cookbook
is to provide scripts and examples for customizing PmWiki, and this is
an excellent example.
Pm
On Wed, Sep 10, 2003 at 06:23:49AM -0400, J. Perkins wrote:
> I don't know if this warrants its own cookbook page or not, but I found
> it handy. I've had a few complaints about the '?' used to represent a
> missing wiki page (ie. WikiWord?). Rendering the question mark as
> superscript seems to have solved the problem. It's an easy change:
>
> $WikiPageCreateFmt =
> "\$LinkText<a href='\$PageUrl?action=edit'><sup>?</sup></a>";
> $WikiPageCreateSpaceFmt =
> "\$LinkText<a href='\$PageUrl?action=edit'><sup>?</sup></a>";
>
> Now the mark appears smaller and above the rest of the text and doesn't
> interfere with the flow of the text.
>
> Jason
> 379
>
>
> _______________________________________________
> Pmwiki-users mailing list
> Pmwiki-users at pmichaud.com
> http://pmichaud.com/mailman/listinfo/pmwiki-users_pmichaud.com
_______________________________________________
Pmwiki-users mailing list
Pmwiki-users at pmichaud.com
http://pmichaud.com/mailman/listinfo/pmwiki-users_pmichaud.com
More information about the pmwiki-users
mailing list