[pmwiki-users] Disable ? on page link markup
Patrick R. Michaud
pmichaud at pobox.com
Wed Sep 28 12:36:22 CDT 2005
On Wed, Sep 28, 2005 at 01:23:17PM -0400, Martin Fick wrote:
> > Why not something more straightforward, such as...?
> >
> > OtherGroup.NonExistentPage
> > %noquest% GroupB.NonExistentPage
>
> This is nice, but for the case of non-existant group
> homepages in pagelists it would be nice to do this without
> CSS mods. Something similar to
>
> %noquest% GroupB.NonExistentPage
Hmmm, can't the pagelist add the CSS code and the %noquest%
directly to its output...?
> GroupB.NonExistentPage^?
> or
> GroupB.NonExistentPage(?)
I think this is a bit too specialized to deserve a short markup
sequence (but that's just me).
Another possibility is to do something like:
%exists% [[GroupB]]
and then have the CSS with
.exists a.createlinktext { text-decoration: none; color: black; }
.exists a.createlink { display: none; }
which displays a link to GroupB if it exists, but renders
it as plain text (without decoration) if it doesn't.
Pm
More information about the pmwiki-users
mailing list