Hi,

I am creating my first web with symfony. And i have a problem to
uploads differents files for all $culture of i18n
My class is:
-----------------------------------------------------------------
class TNoticiasForm extends BaseTNoticiasForm
{
  public function configure()
  {
                $this->embedI18n(array('es_ES', 'en_EN', 'fr_FR', 'pt_PT'));
                $this->widgetSchema->setLabel('es_ES', 'Español');
                $this->widgetSchema->setLabel('en_EN', 'Inglés');
                $this->widgetSchema->setLabel('fr_FR', 'Francés');
                $this->widgetSchema->setLabel('pt_PT', 'Portugués');
  }
}
-----------------------------------------------------------------


The schema.yml:
-----------------------------------------------------------------
   t_noticias:
     _attributes: { isI18N: true, i18nTable: t_noticias_i18n }
     id: ~
     f_unidad_id: { type: integer, foreignTable: t_unidades,
foreignReference: id, required: true }
     f_fecha: { type: timestamp, required: true }
     created_at: ~
     updated_at: ~

   t_noticias_i18n:
     id: { type: integer, required: true, primaryKey: true,
foreignTable:t_noticias, foreignReference: id }
     culture: { isCulture: true, type: varchar, size: 7, required:
true, primaryKey: true }
     f_titulo: { type: varchar(255), required: true }
     f_texto1: { type: longvarchar, required: true }
     f_texto2: { type: longvarchar, required: true }
     f_url: { type: longvarchar }
     f_fuente: { type: varchar(255), required: true }
     f_imagen: { type: varchar(255) }
-----------------------------------------------------------------


I need to uploads differents f_imagen for each $culture


Thanks

-- 
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

Reply via email to