[pmwiki-users] Generating an array of all group names.
Martin Fick
mogulguy at yahoo.com
Wed Jun 21 10:34:08 CDT 2006
--- Marc Cooper <gmane at auxbuss.com> wrote:
> > [[#radio]]
> > (:if equal {<$Group} :)
> > (:input form method=get:)
> > (:if ! equal {<$Group} {=$Group} :)
> > * (:input radio n {=$FullName}:) {=$FullName}
> > (:if equal {>$Group} :)
> > (:input submit value="Try It":)
> > (:input end:)
> > (:if:)
> > [[#end]]
:)
> For validation reasons I went with:
>
> (:input form "{$PageUrl}":)
Sure
> and also changed to:
>
> * (:input radio n {=$Group}:) {=$Group}
Yes, I realized this later, that is more what you
want.
> Now, I'd like to ask a question: how does PmWiki
> "know" that the radio
> buttons are to be used as URLs?
It doesn't. I set the radio button name to n which
ends up in this case being used the way pmwiki uses
?n=pagename. ?n=group is simply appended to the form
url.
-Martin
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the pmwiki-users
mailing list