[symfony-users] how custom error404

2010-11-29 Thread Martin Ibarra Cervantes
hi , i try change the error 404 bue i cant :-( in my settings i put all: .settings: # Form security secret (CSRF protection) csrf_secret:c605b8fd5372fe7b296c9656301e11e69721f2cdd32248 # Output escaping settings escaping_strategy: true escaping_method:

Re: [symfony-users] how custom error404

2010-11-29 Thread Martin Ibarra Cervantes
29, 2010 at 22:19, Martin Ibarra Cervantes ibarra.cervan...@gmail.com wrote: hi , i try change the error 404 bue i cant :-( in my settings i put all: .settings: # Form security secret (CSRF protection) csrf_secret:c605b8fd5372fe7b296c9656301e11e69721f2cdd32248

[symfony-users] clear form after post

2010-11-16 Thread Martin Ibarra Cervantes
hi, i try clear my form after post with jq_submit_to_remote, i try with this line 'complete' = jq_visual_effect('fadeOut', '#indicator'). $('#contact_form').resetForm(), but dont work , dont clear or reset the input fields. ?php echo

[symfony-users] jq_submit_to_remote examples

2010-11-14 Thread Martin Ibarra Cervantes
Hi, guys, i want use jquery on my forms but i dont have idea how use this. for example this my little form form action=?php echo url_for('eventocomentario/create')? method=post id='contact_form' ?php if (!$form-getObject()-isNew()): ? input type=hidden name=sf_method value=put /

Re: [symfony-users] user-symfony

2010-11-10 Thread Martin Ibarra Cervantes
ExtJs ? que es ExtJS ? 2010/11/10 Alex Pilon alex.pi...@gmail.com: Hola, mi español no es bueno, sin embargo la integración de ExtJS es tan simple como incluir las bibliotecas ExtJS en sus aplicaciones de archivo view.yml. Más allá de eso creo que todo lo demás es una cuestión de usar ExtJS

Re: [symfony-users] Password fields

2010-11-09 Thread Martin Ibarra Cervantes
Please read the form on symfony or the chapter ... read the book jobeet , you can :-) On Sun, Nov 7, 2010 at 9:22 PM, Gareth McCumskey gmccums...@gmail.com wrote: erm ... input type=password .. HTML 101 On Mon, Nov 8, 2010 at 12:09 AM, xpanshun srhen...@gmail.com wrote: How can I

Re: [symfony-users] 1 action , 2 templates

2010-11-03 Thread Martin Ibarra Cervantes
you can use partitials for the view and in the acction pass the myvar include_partitial('name', array('myvar'=$myvar)); On Wed, Nov 3, 2010 at 1:29 PM, Parijat Kalia kaliapari...@gmail.com wrote: Hey guys, I have 2 very identical templates which have only a minor difference to them. Their

Re: [symfony-users] Trying to manage the credentials of the actions

2010-11-03 Thread Martin Ibarra Cervantes
the 2nd questión its with addCredential() when your user is authenticated example: $user = $this-getUser(); if($r-getNivelId() == 1){ $user-addCredential('basic'); } On Wed, Nov 3, 2010 at 9:52 AM, Javier Garcia

Re: [symfony-users] Stylesheets issue

2010-11-02 Thread Martin Ibarra Cervantes
in your module-config-view.yml you can put the .css for this module. On Tue, Nov 2, 2010 at 3:23 PM, Gábor Fási maerl...@gmail.com wrote: You're looking for `use_stylesheet()`. `include_stylesheets()` outputs the link/ tags for all the css files in your view.yml and `use_stylesheet()` calls.

Re: [symfony-users] Display html tags from table

2010-10-31 Thread Martin Ibarra Cervantes
-introduction/1_4/en/07-Inside-the-View-Layer#chapter_07_output_escaping On Sun, Oct 31, 2010 at 03:23, Martin Ibarra Cervantes ibarra.cervan...@gmail.com wrote: hi, iam using the tiny mce wysinyg editor and i am save the html tags into the database, with my editor save: p Este es un bonito dia/p

[symfony-users] Display html tags from table

2010-10-30 Thread Martin Ibarra Cervantes
hi, iam using the tiny mce wysinyg editor and i am save the html tags into the database, with my editor save: p Este es un bonito dia/p strongbuen dia /strong but when i get the data back from the table and try display in my view echo $dias-getDescripcion(); display with all html tags and

[symfony-users] Re: Display html tags from table

2010-10-30 Thread Martin Ibarra Cervantes
hi, i now read the php.net and i use html_entity_decode thanks ... On Sat, Oct 30, 2010 at 7:23 PM, Martin Ibarra Cervantes ibarra.cervan...@gmail.com wrote: hi, iam using the tiny mce wysinyg editor and i am save the html tags into the database, with my editor save: p Este es un bonito

Re: [symfony-users] Re: sfguardauth // How to display a layout depending on user's group

2010-10-22 Thread Martin Ibarra Cervantes
you can use the file view.yml on your modules On Fri, Oct 22, 2010 at 7:29 AM, ziclo lauren...@gmail.com wrote: Hello Gustavo, I don't understand what you mean by Then in your own actions . Which action are you speaking. I just want to change the layout accordingly to user's group jsut

Re: [symfony-users] Different types of admins

2010-10-20 Thread Martin Ibarra Cervantes
you can try with credentials http://vit.free.fr/symfony/0.6.3/security.html and a frontend public, a frontend private , and a backend private for your admin add and remove on the tables. the frontend private you can use credentials and your file security on your config module. On Wed, Oct 20,

Re: [symfony-users] Error sencillo

2010-10-19 Thread Martin Ibarra Cervantes
Creo que eso es el theme podrian ser bien las GTK theme o bien creo que hicieron el ejemplo en una Mac OS :-) que es lo mas seguro .. On Tue, Oct 19, 2010 at 6:54 AM, rfvillavicen...@cav.uci.cu wrote: Miren descargué las imagenes y los css, los puse dentro del directorio web pero hay css

Re: [symfony-users] Question with form

2010-10-19 Thread Martin Ibarra Cervantes
maybe you can try use input type=input name =name / in your form view. On Tue, Oct 19, 2010 at 11:30 AM, eliana m. eliana...@gmail.com wrote: hello. I have a question. I can build a form with a field that does not exist in the model? Thank you for your help. -- If you want to report a

Re: [symfony-users] front end product gallery

2010-10-17 Thread Martin Ibarra Cervantes
hi, you can try use this class with sfThumbnailPlugin http://mic.misretratos.com/2010/10/17/sfresizedfile/ regards. On Sun, Oct 17, 2010 at 9:45 AM, xpanshun srhen...@gmail.com wrote: Hi all, I am trying to create a product gallery on the front end of my site. In my database a have a

[symfony-users] How work sfErrorNotifierPlugin

2010-10-13 Thread Martin Ibarra Cervantes
Hi, how work sfErrorNotifierPlugin in the README file * In the file /plugins/sfErrorNotifierPlugin/config/app.yml, set the email address(es) to deliver the notifications to, for the environments you want to enable (tipically only 'prod'). You can comma-separate multiple recipients. {{{

[symfony-users] how create empty module

2010-10-04 Thread Martin Ibarra Cervantes
Hi, i need a empty module on my application but when try this m...@sopias ~/code/Projects/php/retratos/trunk $ ./symfony doctrine:generate-module public feed display this error symfony doctrine:generate-module [--theme=...] [--generate-in-cache] [--non-verbose-templates] [--with-show]

Re: [symfony-users] how create empty module

2010-10-04 Thread Martin Ibarra Cervantes
wrote: Le lundi 04 octobre 2010 à 13:34 -0700, Martin Ibarra Cervantes a écrit : symfony doctrine:generate-module [--theme=...] [--generate-in-cache] [--non-verbose-templates] [--with-show] [--singular=...] [--plural=...] [--route-prefix=...] [--with-doctrine-route] [--env=...] [--actions-base

Re: [symfony-users] ¿Hay algun chat irc en español sobre symfony?

2010-04-07 Thread Martin Ibarra Cervantes
en irc.freenode.net en #symfon-es Saludos. On Mon, Apr 5, 2010 at 8:31 AM, Javier Garcia tirengar...@gmail.com wrote: Hola, solo eso. Javi Ubuntu 8.04 -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this

Re: [symfony-users] Symfony + Doctrine + MSSQL = imposible ? ....

2010-02-16 Thread Martin Ibarra Cervantes
hi , i has the same problem but try this. create your schema with a tool may be mysql-query-browser and after run symfony doctrin:build-schema, build-model , build-filters , build-forms when your need add a filed, add fileld with mysql-query-browser and after rebuild your schema. regards , sorry

Re: [symfony-users] Re: Doctrine + PostGreSQL

2010-02-05 Thread Martin Ibarra Cervantes
hi, i like first create my schema on my DB with pgAdmin III and after with symfony doctrine:build-schema , build-model, build-forms. build-filters and i dont have problem :-) try. and this generate relations with other tables on your schema. On Mon, Jan 25, 2010 at 7:15 PM, webasker

Re: [symfony-users] File uploading

2009-11-26 Thread Martin Ibarra Cervantes
please see http://stereointeractive.com/blog/2009/01/23/uploading-a-file-with-symfony-12/ or the documentation on symfony is very easy On Wed, Nov 25, 2009 at 10:38 PM, Parijat Kalia kaliapari...@gmail.com wrote: Hey guys, I need to allow users to upload files. Thing is, I am not using the

Re: [symfony-users] Re: Redirection after submitting a New form

2009-11-20 Thread Martin Ibarra Cervantes
On Fri, Nov 20, 2009 at 9:16 AM, tirengarfio tirengar...@gmail.com wrote: Thanks Ashton! On Nov 20, 10:26 am, Ashton Honnecke ahonn...@gmail.com wrote: In processForm. Ashton Honnecke ahonne...@gmail.com On Nov 20, 2009, at 8:20, tirengarfio tirengar...@gmail.com wrote: Hi, i have

[symfony-users] Re: how to pass values to my custom form Widget (one widget for two model-properties). Symfony 1.2

2009-11-16 Thread Martin Ibarra Cervantes
you can setDefault $form-setDefault('dateRange', 'value'); On Thu, Nov 12, 2009 at 1:14 PM, Don_Busi dominik.busin...@gmail.com wrote: Hi everybody, I have an entity that (among other properties) has a startDate and an endDate property. Now I created a form widget that graphically shows

[symfony-users] upload files without rename

2009-11-15 Thread Martin Ibarra Cervantes
hi, i need upload file with symfony but without rename this. i try this in my forms public function configure() { unset($this['creado'], $this['actualizado']); $this-setWidgets(array( 'id_archivo' = new sfWidgetFormInputHidden(), 'nombre' = new

[symfony-users] Re: upload files without rename

2009-11-15 Thread Martin Ibarra Cervantes
()); / but is not original name } return parent::save($con); } On Sun, Nov 15, 2009 at 11:24 AM, Martin Ibarra Cervantes ibarra.cervan...@gmail.com wrote: hi, i need upload file with symfony but without rename this. i try  this in my forms  public function configure()  {    unset

[symfony-users] change the value on the form with ajax

2009-10-27 Thread Martin Ibarra Cervantes
i have a gallery with gallerific but when change the picture i need change the ID on my form its possible change the value with the ajax. div id=description/div onClick= ?php echo link_to_remote(array( 'update' = 'description', 'url'=

[symfony-users] problem when display rows with Doctrine_Query

2009-10-15 Thread Martin Ibarra Cervantes
hi, guys i have this Sql with doctrine on my controller public function executeIndex(sfWebRequest $request) { $this-mr_album_imagen_list = Doctrine::getTable('MrAlbumImagen')-getImagenesAlbum($this-getUser()-getAttribute('id_usuario'));

[symfony-users] Re: difference between 'new' and 'create' methods generated by sfDoctrineRouteCollection

2009-10-08 Thread Martin Ibarra Cervantes
first try process the array, $result = array(first, second, etc); may be with split or xplode and after save this in your db On Wed, Oct 7, 2009 at 10:45 PM, Bhumika Gohil bhum...@iflair.com wrote: Hello Dennis    I have below Problem in my symfony , If possible then help me I used

[symfony-users] Re: Best way for e-mail templates

2009-10-08 Thread Martin Ibarra Cervantes
hi, i use swift $transport = Swift_SmtpTransport::newInstance(sfConfig::get('app_correo_hostname'),sfConfig::get('app_correo_puerto')) -setUsername(sfConfig::get('app_correo_usuario')) -setPassword(sfConfig::get('app_correo_password')) ;

[symfony-users] upload multiple files with ajax

2009-10-06 Thread Martin Ibarra Cervantes
hi guys, I need upload images to my server, for example Image_1 Comment_Image_1 Image_2 Comment_Image_3 Image_3 Comment_Image_3 maybe with ajax or not, but i need save the values in a DB, --~--~-~--~~~---~--~~ You received this message because you are

[symfony-users] Re: Forms

2009-08-06 Thread Martin Ibarra Cervantes
you can embebed a form and with unset(); in lib/form you can disabled the fields in the function configure(). On Tue, Aug 4, 2009 at 9:07 AM, Richtermeister nex...@gmail.com wrote: Hi juaninf, you cannot auto-generate forms that span more than 1 table. However, once all forms are generated,

[symfony-users] Re: Rebuilding model

2009-08-06 Thread Martin Ibarra Cervantes
if you add a field on the a table you need rebuild the schema and model. On Tue, Jul 21, 2009 at 11:10 PM, James Cauwelier james.cauwel...@gmail.com wrote: I don 't think you should. Database access should be abstracted in Doctrine. However, rebuilding never hurts, except when you have a

[symfony-users] Re: Upload image with admin generator

2009-08-04 Thread Martin Ibarra Cervantes
need define this on your From type file, look in jobeet is very single On Tue, Aug 4, 2009 at 6:40 AM, djones damonljo...@gmail.com wrote: The Jobeet tutorial has image uploading. Look at the Admin Generator chapter for more information:

[symfony-users] Re: Symfony+Doctrine+PGSQL

2009-07-30 Thread Martin Ibarra Cervantes
your need put the DSN correct on youur config/databases.yml On Wed, Jul 29, 2009 at 1:10 PM, Gábor Fási maerl...@gmail.com wrote: Just specify the correct DSN and you should be fine. The pgsql dsn has a different format than the mysql one, it looks like this: