[pmwiki-users] fmt=#description weirdness

Maria McKinley parody at u.washington.edu
Fri Oct 26 02:57:46 CDT 2007


Could this be a problem with using nested if statements?

On 10/26/07, Maria McKinley <parody at u.washington.edu> wrote:
> Spoke to soon, my solution repeats the description for the pagelist
> even without the quotes. :-(
>
> ~maria
>
> On 10/26/07, Maria McKinley <parody at u.washington.edu> wrote:
> > Whoopee! I figured this out:
> >
> > the line
> >
> > (:if ! equal {=$Description} '':)
> >   - {=$Description}
> >
> > should be:
> >
> > (:if ! equal {=$Description}:)
> > -{$Description}
> >
> > I'm not sure what the quotes were for on the original, but they seem
> > to repeat the description for the pagelist for all of the descriptions
> > if I leave it in. I'll change the example on pmwiki.
> >
> > cheers,
> > maria
> >
> > On 10/26/07, Maria McKinley <parody at u.washington.edu> wrote:
> > > Hey there,
> > >
> > > On this page: http://www.pmwiki.org/wiki/Site/PageListTemplates is an
> > > example for fmt=#description.
> > > Something about this code produces - {=$Description} at the top of the
> > > page. I don't think it is something I did, because it shows up in
> > > their example too. Does anyone know why this does this, and/or how to
> > > get rid of it?
> > >
> > > thanks,
> > > maria
> > >
> >
> >
> > --
> > Maria Mckinley
> > Scientific Programmer
> > Shadlen Lab
> > Physiology and Biophysics
> > Box 357290
> > University of Washington
> > (206) 616-3923
> > parody at u.washington.edu
> >
>
>
> --
> Maria Mckinley
> Scientific Programmer
> Shadlen Lab
> Physiology and Biophysics
> Box 357290
> University of Washington
> (206) 616-3923
> parody at u.washington.edu
>


-- 
Maria Mckinley
Scientific Programmer
Shadlen Lab
Physiology and Biophysics
Box 357290
University of Washington
(206) 616-3923
parody at u.washington.edu



More information about the pmwiki-users mailing list