hi dan, i am now. just back from a wonderful sunny little bike trip in
my home town

On Jul 4, 2:39 pm, Dan Bolser <dan.bol...@gmail.com> wrote:
> P.P.S. Martien, were you in irc://irc.freenode.net/#semanticmediawiki
> the other day? I am in there now if you want to work on some problems
> in real time instead of by esnail ;-)
>
> Dan.
>
> 2009/7/4 Dan Bolser <dan.bol...@gmail.com>:
>
>
>
> > 2009/7/4 Martien <martien.van.steenber...@gmail.com>:
>
> >> Given: Form:Test, Template:Test, Category:Test according to basic
> >> setup.
>
> >> Everything works fine when Form:Test has:
>
> >>    {{{for template|Test}}}
> >>    {| class="formtable"
> >>    |-
> >>    !Has author(s):
> >>    | {{{field|Has author}}}
> >>    |}
> >>    {{{end template}}}
>
> >> I.e. when I use the form to create a apge called Test, this page gets
> >> the following ocntent:
>
> >>    {{Test
> >>    |Has author=aap,noot,mies,wim,zus,jet
> >>    }}
>
> >> Now when I change the filed line in the form to:
>
> >>    | {{{field|uploadable|Has author}}}
>
> >> and use the form the edit the Test page it gets mangled and ends up
> >> like:
>
> >>    {{Test
> >>    |uploadable=aaa
> >>    |Heeft_auteur=aap,noot,mies,wim,zus,jet
> >>    }}
>
> >> Similar things happen when I do:
>
> >>    | {{{field|size=50|Has author}}}
>
> >> Running SemanticForms 1.7.3
>
> >> Any clues?
>
> > Yeah, I think you need:
>
> > | {{{field|Has author|uploadable}}}
>
> > From the man page:
> >http://www.mediawiki.org/wiki/Extension:Semantic_Forms
>
> > "field - Specifies a field to be placed in a form, corresponding to a
> > template field. The name immediately following the field declaration
> > is the name of the template field."
>
> > I think that text could be clearer, but it does suggest that you need
> > to use the above format rather than what you have (the clue was the
> > 'uploadable' string turning up in the template).
>
> > See:http://www.mediawiki.org/wiki/Extension:Semantic_Forms#Sample_form
>
> > In documentation I'd recommend the use of the term 'template
> > parameter' over 'template field' to mean the string used to identify a
> > variable in the template call. i.e.
>
> > {{ my template | some such = so and so }}
>
> > whole thing = template call.
> > "my template" = template name.
> > "some such" = template parameter.
> > "so and so" = value of the parameter.
>
> > HTH,
> > Dan.
>
> > P.S. How come 'forminput' doesn't have named parameters? Is it a limit
> > of the way parser functions work, or it just hasn't been coded that
> > way?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Semantic Forms" group.
To post to this group, send email to semantic-forms@googlegroups.com
To unsubscribe from this group, send email to 
semantic-forms+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/semantic-forms?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to