Hi, 1/ What do you mean with "Advertisement" ?
2/ If you want to change the labels of the form, simply use the setLabel() method in yout form class. Example : $this->widgetSchema->setLabel(%NAME%, %LABEL%); 3/ Well, I believe the tutorial is enough well coded to allow you change the number of pictures you wish to upload. Just change the value of size in the option array. $form = new ProductPhotoCollectionForm(null, array( 'product' => $this->getObject(), 'size' => 2, )); Guillaume B. On 21 nov, 13:54, Guychmyrat Amanmyradov <[email protected]> wrote: > Hi, > Firstly thanks for advanced forms. It really saved my times. > > I was following this link : > > http://www.symfony-project.org/more-with-symfony/1_4/en/06-Advanced-F... > > 1) I do not want to show "Advertisement" text (in tutorial current photos) on > new form. How can i hide it ? > > 2) How can i change "advertisement" and "newphoto" texts (labels) ? > > 3) How can i limit easily photos with 6. If user has uploaded 6 photos, i > want to stop image upload. > > Thank you. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
