[symfony-users] Re: jQuery and Ajax, DOM problem

2010-06-04 Thread Tom Ptacnik
I think you should look on this jQuery function, it should help you http://api.jquery.com/live/ On 2 čvn, 19:34, Vincent UNG ung.vinc...@gmail.com wrote: Hello symfony users !! I have a problem with symfony and ajax (i'm using jQuery) When I click on a button, I send an ajax query that load

[symfony-users] Re: Custom directory structure

2010-06-04 Thread Tom Ptacnik
Ok, so the error is right :) Now why is autoload searching for that plugin in the public_html, if you only set the webDir there, and the rest of the app is in the private_html? What if you try this original line in the ProjectConfiguration: require_once

[symfony-users] Re: sfDoctrineGuardPlugin fails query upon doctrine:build --all

2010-06-04 Thread pghoratiu
Not sure if this solves it, check the type of data for id's used in FK references in the schema: int(4) or int It should be of the same type for the FK to work. gabriel On Jun 3, 11:25 pm, Wheaton, James S jwhea...@purdue.edu wrote: I’m in the midst of updating to symfony 1.4.1-stable; using

[symfony-users] Re: how to deal with pagination?

2010-06-04 Thread mel_06
now i did a pagination which works nicely but as i fetch into other tables(innerJoin) my pagination works but it doesn't load the maximum number of data to be listed, loads same data on other pages and the links to the pages actually trims down the url. public function

[symfony-users] Re: use_javascripts_for_form($form) apparently not working

2010-06-04 Thread Tom Ptacnik
This is my solution: http://pastebin.com/5PCWVfuP ... I've moddified my BaseForm class, and now I can do in my forms classes this (I use it in the configure method of the form class): // Set tinymce and tinyBrowser js files import $this-setJavaScripts(array(

[symfony-users] Re: use_javascripts_for_form($form) apparently not working

2010-06-04 Thread Tom Ptacnik
New version of the BaseClass - inicialization of the attributes, better condition for array merging http://pastebin.com/uzvqbAXm On 4 čvn, 12:45, Tom Ptacnik to...@tomor.cz wrote: This is my solution:http://pastebin.com/5PCWVfuP ... I've moddified my BaseForm class, and now I can do in my forms

[symfony-users] Trying to overwriting a method of a sf class

2010-06-04 Thread Javier Garcia
Hi, i want to overwrite a method of symfony/lib/plugins/sfDoctrinePlugin/lib/form/sfFormDoctrine.class.php. I think a good way could be writing again the method in the form class where i need that method. In that case if i need that method in other form class should i write again the new

[symfony-users] Re: Getting the value of a field from an another template???

2010-06-04 Thread pghoratiu
You just set it up in the action of step3 so it's available in the template. gabriel On Jun 4, 3:12 pm, bedomon leray.a...@gmail.com wrote: Hi, I work on symfony 1.0.21, and get a probleme with a form. My form got 3 step with for each an execute and validate method in action class.

[symfony-users] Re: Class 'Swift_SmtpTransport' not found in task

2010-06-04 Thread João Soares
Ok, I've managed to solve everything with: require_once(dirname(__FILE__).'/../../config/ ProjectConfiguration.class.php'); $configuration = ProjectConfiguration::getApplicationConfiguration('microgen', 'dev', true); sfContext::createInstance($configuration); Thanks =)

[symfony-users] Re: sfDoctrineGuardPlugin fails query upon doctrine:build --all

2010-06-04 Thread slau
I had that too quite a while ago. The corresponding user_id fields need to have the same field definition. There was a change from INT(11) to BIGINT My profile schema looks now like that and everything is fine. sfGuardUserProfile: tableName: sf_guard_user_profile columns: user_id:

[symfony-users] Re: Getting the value of a field from an another template???

2010-06-04 Thread bedomon
Ok thanks for reply, I try it and report the result On 4 juin, 15:04, pghoratiu pghora...@gmail.com wrote: You just set it up in the action of step3 so it's available in the template.    gabriel On Jun 4, 3:12 pm, bedomon leray.a...@gmail.com wrote: Hi, I work on symfony 1.0.21, and

[symfony-users] sfPropel15Plugin and sfGuardPlugin problem

2010-06-04 Thread AgusQuiroga
Hi, I just started a new project and installed the sfPropel15Plugin, and then installed the sfGuardPlugin. So far so good, but when I try to do a propel:build-all then my propel model is created inside the sfGuardPlugin model folder in the plugins directory... any ideas on whats going on? Is the

[symfony-users] sfFacebookConnectPlugin cookie issues

2010-06-04 Thread jostster
I followed the tutorial at http://www.symfony-project.org/more-with-symfony/1_4/en/12-Developing-for-Facebook and keep getting these errors. Did facebook change their cookies? my actions is blank and I have also tried sfFacebook::requireLogin() but still get the same result. Here is my

[symfony-users] Translation request

2010-06-04 Thread Денис Горбачев
Hello everybody! I want my bannerhttp://share.auditory.ru/2011/Denis.Gorbachev/Projects/Web.Trueoffice/banner6.pngto be available in all languages. I ask you to translate the banner message from English into your native language. Currently, we have

Re: [symfony-users] Translation request

2010-06-04 Thread Serkan Koyuncu
Hello Denis, It is in Turkish: Tamam, basit Türkçe ile: - Biz symfony programcıları arıyoruz. Regards, S.K. 2010/6/4 Денис Горбачев denis.gorbac...@trueoffice.ru: Hello everybody! I want my banner to be available in all languages. I ask you to translate the banner message from English into

Re: [symfony-users] Translation request

2010-06-04 Thread Michał Piotrowski
Hi, 2010/6/4 Денис Горбачев denis.gorbac...@trueoffice.ru: Hello everybody! I want my banner to be available in all languages. I ask you to translate the banner message from English into your native language. Currently, we have Russian and German translations. All contributions are greatly

[symfony-users] Question about jq_link_to_remote()

2010-06-04 Thread Javier Garcia
Hi, i have a template with this below to show a dialog when the link is clicked: div id=myDialog /div echo jq_link_to_remote('Enviar mensaje 2', array( 'url' = 'mensaje/new?receptor='.$miembro-getId().'tipo=0estado=0',

[symfony-users] Overriding settings.yml

2010-06-04 Thread Carlos Jorge Andrade
Hi, Is it possible to override settings.yml at the module level ? I know it's possible with security.yml and view.yml but I can't find any reference to settings.yml I want to be able to do the following 1) Set different 404 error pages per module. 2) Set different login_module/login_action

[symfony-users] Re: Question about jq_link_to_remote()

2010-06-04 Thread pghoratiu
Try with: 'update' = 'myDialog', gabriel On Jun 4, 8:04 pm, Javier Garcia tirengar...@gmail.com wrote: Hi, i have a template with this below to show a dialog when the link is clicked: div id=myDialog /div echo jq_link_to_remote('Enviar mensaje 2', array(                          

[symfony-users] Re: Custom directory structure

2010-06-04 Thread Ragnis
Still nothing... Why does it even have to be so complicated.. On Jun 4, 9:51 am, Tom Ptacnik to...@tomor.cz wrote: Ok, so the error is right :) Now why is autoload searching for that plugin in the public_html, if you only set the webDir there, and the rest of the app is in the private_html?

[symfony-users] Re: jQuery and Ajax, DOM problem

2010-06-04 Thread Vincent UNG
Thanks a lot Tom I'm using live now, and It perfectly works ! Thanks again :) -- 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

[symfony-users] render widget as label

2010-06-04 Thread fRAnKEnSTEin
Hi there, Is there any way of rendering a form widget as a label? for example if i have a form called fooForm defined as: ... ... public function configure() { ... ... $this-setWidgets(array( 'price' = new sfWidgetFormInputText(), )); ...

Re: [symfony-users] Translation request

2010-06-04 Thread Fernando Grassi de Oliveira
Portuguese (pt_br) :) Ok, em Português claro: - Nós precisamos de programadores de symfony. Att, Fernando Grassi de Oliveira fgra...@gmail.com 2010/6/4 Michał Piotrowski mkkp...@gmail.com Hi, 2010/6/4 Денис Горбачев denis.gorbac...@trueoffice.ru: Hello everybody! I want my banner

[symfony-users] Problem with routes.

2010-06-04 Thread ceochronos
Hi all My dev-team are working in a symfony project with symfony 1.4.5, our revision control is through subversion. Some days ago, We got an error «Catchable fatal error: Argument 3 passed to sfRoute::__construct() must be an array, string given in .../symfony/routing/sfRoute.class.php on line

[symfony-users] Dynamic check boxes in the admin generator

2010-06-04 Thread Ilias Barthelemy
Hello everyone, Question = I have the following shema realestate: actAs: { Timestampable: ~ } columns: id: { type: integer(9), primary: true, autoincrement: true } addressStreet: { type: string(100), notnull: true, minlength: 2 } addressNr: { type: string(10), notnull: true }

[symfony-users] How to paginate search-results?

2010-06-04 Thread comb
Hi everybody! :-) I have two actions: search/executeIndex and search/executeSearch. And I have a Search-Query $q generated by the executeSearch that gives all search results. Normally you would simply give it to the Pager and be happy! :-) BUT I want to add a search-flood-protection. I try to

[symfony-users] the symfony actions is not receiving the request of jquery

2010-06-04 Thread Alejandro Linares
Somebody please help me, when i send the request from the jquery to the index action of my symfony project is not enter in the action, i used the $request-isXmlHttpRequest in the action but returns nothing Thanks for your help!! -- If you want to report a vulnerability issue on symfony, please

Re: [symfony-users] How to paginate search-results?

2010-06-04 Thread Eno
On Fri, 4 Jun 2010, comb wrote: If I use the users-session like setting a var is_new_search , I will be afraid of someone who manually sets this var in his cookie to FALSE. Depends how you store session data. Ive used MySQLSessionStorage in the past (the cookie just stores hash used as key

Re: [symfony-users] Overriding settings.yml

2010-06-04 Thread Eno
On Fri, 4 Jun 2010, Carlos Jorge Andrade wrote: Is it possible to override settings.yml at the module level ? I know it's possible with security.yml and view.yml but I can't find any reference to settings.yml There's a reference in the Reference book: As discussed in the introduction, the