On 6/6/07, noskule <[EMAIL PROTECTED]> wrote:
> The Editor schrieb:
> > On 6/6/07, noskule <[EMAIL PROTECTED]> wrote:
> >> hi dan & list
> >> I try to add a category field to a form. So the user could categorize
> >> the content for a glossary term.
> >>
> >> The field would contain:
> >>    Category 1, Category 2, Category 3
> >>
> >> I save the data with the variable "Categories", and show the Categories
> >> with {$Categories}:
> >>    Category 1, Category 2, Category 3
> >>
> >> But what I have to do to get links?
> >>    [[!Category1]] [[!Category2]] [[!Category3]]
> >>
> >> I did a search on the documentation and it seams that the list and
> >> listfmt is for that. But listfmt is an empty page.
> >>
> >> Could you give me an example for this?
> >
> > Bummer. Not sure what happened to the listfmt doc page. Maybe I never
> > put it up.
> >
> > To get the display you do this (this uses a pipe for the separator):
> >
> > {(list {$:Categories} "[[!{item}]] ^ | ")}
>
> oky, first I try to get the items displayed as text. If I do the above,
> nothing happens. Do you have an idea whats wrong?


You just needed quotes around the ptv. It's working now. They are
needed because you have spaces in your csv list.

Cheers,
Dan

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to