[pmwiki-users] Conditionals in Pagelists and IE bug

The Editor editor at fast.st
Wed Nov 15 02:58:18 CST 2006


On 11/15/06, Jiri Hladůvka / OBUTEX <admin at obutex.com> wrote:
> Try to debug it adding
>
> Chat-{=$Name}-Member.{$AuthId}
>
> into output to see the condition is well constructed.
>
> Regards,
> Jiri
>
>
> Patrick R. Michaud napsal(a):
> > On Tue, Nov 14, 2006 at 07:12:10PM -0500, The Editor wrote:
> >
> >> Third post.  This is quite confusing.  It should work.  Am I missing something?
> >> Evidently the first conditional fails because all the pages come up
> >> black even when the specified page exists.
> >>
> >>
> >>
> >>> [[#chatroom]]
> >>> (:if exists "Chat-{=$Name}-Member.{$AuthId}":)
> >>> * %red%[[Chat.Chat?room={=$Name}|{=$Name}]]%%\\
> >>> (:if ! exists "Chat-{=$Name}-Member.{$AuthId}":)
> >>> * [[Chat.Chat?room={=$Name}|{=$Name}]]\\
> >>> (:ifend:)
> >>> [[#chatroomend]]
> >>>
> >
> > My guess is that nobody has responded to this yet because
> > none of us have a good answer.  Yes, it looks like it
> > should work.
> >
> > Could you...?
> >
> > 1. Give us a url where we can see an example showing
> >    that it's not working
> >
> >    or
> >
> > 2. Set up some test pages on pmwiki.org that demonstrate the
> >    problem
> >
> > Thanks,
> >
> > Pm
> >

My sincere apologies to all.  It was a dumb problem on my part!
Amazing how sometimes we can't see things right in front of our faces.
 The debugging tips helped, and also trying to reproduce the problem
on PmWiki.  (I was using Member vs Members of all things...  Yikes!)

But I really appreciate the willingness to help.  Still trying to
figure out why my IE browser won't load my chat page anymore.  Any
thoughts on that?  I'll try and do a bit more debugging myself and see
I can't reproduce it on zapsite.com.  The zapsite chat room (older
version) does work, so maybe I can go back and figure out which change
broke it.

Thanks again!

Cheers,
Caveman


More information about the pmwiki-users mailing list