[pmwiki-users] Knowing the count of pagelist before display
Martin Fick
mogulguy at yahoo.com
Wed Nov 15 16:59:37 CST 2006
--- Martin Fick <mogulguy at yahoo.com> wrote:
> > However if, inadvertently, John do not supervise
> > anybody, I would like NOT to display the word
> > "Supervise". In other word, I would
> > like to know, before results are displayed what is
> > the count of the pagelist operation.
>
> It is easiest to just do this in your template.
> Make the first line something like:
>
> (:if equal 1 {$$PageCount}}:)
That line should be:
(:if equal 1 {$$PageCount}:)
> Supervises
> (:if:)
-Martin
____________________________________________________________________________________
Sponsored Link
Online degrees - find the right program to advance your career.
Www.nextag.com
More information about the pmwiki-users
mailing list