Home > Archive > PHP Pear > June 2004 > Re: [PEAR] using Sigma_Template with Quick_Form_Renderer_ITStatic
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Re: [PEAR] using Sigma_Template with Quick_Form_Renderer_ITStatic
|
|
| Ian P. Christian 2004-06-08, 8:56 am |
| =2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tuesday 08 June 2004 11:22, Alexey Mirkulove wrote:
> Nothing is happening, i cannot see even {form_attributes}!
> Probably i missed something???
>
Not looking too deeply into this (a wee bit busy at the moment), but I do k=
now=20
that if you install HTML_QuickFrom_contorller, it has quite a few examples =
of=20
how to use the renderers in the documentation, this might be of use to you.
Kind Regards,
Ian P. Christian
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAxZVKEe6ncNCcEO0RAgoCAJ4jV6JowVw3
/mGtHntnN6BuVRA+dACeNfjn
vmhXVVQ93d4Q0BtILj11QGg=3D
=3DIIiY
=2D----END PGP SIGNATURE-----
| |
| Alexey Borzov 2004-06-08, 8:56 am |
| Hi!
Alexey Mirkulove wrote:
> $form = new HTML_QuickForm('Model1','post','new.php');
>
>
> This is template new.html:
> <form {form_attributes}>
>
> Nothing is happening, i cannot see even {form_attributes}!
> Probably i missed something???
Yes, you missed the fact that placeholders should be prefixed by form's
name, not the word 'form'. Or else how do you expect to output two forms
on the page?
| |
| Alexey Mirkulove 2004-06-08, 8:56 am |
| I'm checked the example on HTML_Template_ITX and all other exapmples
incliding Sigma template, but i couldnot locate how i should call form
before placeholders!
Cold you please give an example, of some kind.
"Alexey Borzov" <borz_off@cs.msu.su> ???????/???????? ? ???????? ?????????:
news:40C59561.9090108@cs.msu.su...
> Hi!
>
> Alexey Mirkulove wrote:
>
> Yes, you missed the fact that placeholders should be prefixed by form's
> name, not the word 'form'. Or else how do you expect to output two forms
> on the page?
| |
| Alexey Borzov 2004-06-08, 8:56 am |
| Alexey Mirkulove wrote:
> I'm checked the example on HTML_Template_ITX and all other exapmples
> incliding Sigma template, but i couldnot locate how i should call form
> before placeholders!
> Cold you please give an example, of some kind.
I meant: if you called your form 'Model1', then you need to put
<form {Model1_attributes}>
into your template instead of
<form {form_attributes}>
Clearer now?
[color=darkred]
>
> "Alexey Borzov" <borz_off@cs.msu.su> ???????/???????? ? ???????? ?????????:
> news:40C59561.9090108@cs.msu.su...
>
| |
| Bertrand Mansion 2004-06-08, 8:56 am |
| Alexey Mirkulove wrote:
>I'm checked the example on HTML_Template_ITX and all other exapmples
>incliding Sigma template, but i couldnot locate how i should call form
>before placeholders!
>Cold you please give an example, of some kind.
Instead of {form_attributes}, use {myform_attributes} if your form was decl=
ared
using $form =3D new HTML_QuickForm('myform');
Bertrand Mansion
Mamasam
| |
| Alexey Mirkulove 2004-06-08, 8:56 am |
| Thanks for help!
Now it is moving, i still got some more questions if you wish.
Could i make a loop of group element using ITStatic renderer?
I need a loop to add different images in each <select> for example.
| |
| Alexey Mirkulove 2004-06-08, 3:57 pm |
| Thanks for help!
Now it is moving, i still got some more questions if you wish.
Could i make a loop of group element using ITStatic renderer?
I need a loop to add different images in each <select> for example.
"Alexey Borzov" <borz_off@cs.msu.su> ???????/???????? ? ???????? ?????????:
news:40C59D95.1040804@cs.msu.su...[color=darkred]
> Alexey Mirkulove wrote:
>
>
> I meant: if you called your form 'Model1', then you need to put
> <form {Model1_attributes}>
> into your template instead of
> <form {form_attributes}>
>
> Clearer now?
>
?????????:[color=darkred]
|
|
|
|
|