[pmwiki-users] Disable ? on page link markup

Martin Fick fick at fgm.com
Thu Dec 1 15:58:59 CST 2005


  I am still trying to get PageListTemplates to be able to
render links without a question mark.  In previous emails I
got the following advice,...  but I do not quite understand
how to put it together.


On Wed, Sep 28, 2005 at 11:55:06AM -0500, Patrick R. Michaud wrote:
> Why not something more straightforward, such as...?
> 
>     OtherGroup.NonExistentPage
>     %noquest% GroupB.NonExistentPage
> 
> Here, %noquest% is being used to suppress the '?' of the second 
> link.  The CSS to make this happen is
> 
>     .noquest a.createlink { display:none; }
> 
> as demonstrated at http://www.pmwiki.org/wiki/Test/NoQuest .


  Where did  .noquest a.createlink { display:none; }  get
injected into the html?  How can my recipe inject this so
that I can use %noquest%?  Does it have to be done in a
skin?



On Wed, Sep 28, 2005 at 12:36:22PM -0500, Patrick R. Michaud wrote:
> 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...?

  Again, I don't understand this, can I inline CSS?  I
understand that a style attribute can be added to a specific
tag, but pmwiki does not allow me to do this right?  So,
unless I am creating the html tags manually which I am not
(the whole purpose of the PageListTemplates is to avoid
this), I am only outputting wiki markup.  Is there any wiki
markup at all (even ugly and big) that would allow me to set
this styling on certain links only?

  -Martin




More information about the pmwiki-users mailing list