[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 executeListByBrand(sfWebReq

[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( sfConfig::get('app_tinymce_js_f

[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 wrote: > This is my solution:http://pastebin.com/5PCWVfuP > ... I've moddified my BaseForm class, and now I can do in my forms > classes th

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

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

2010-06-04 Thread bedomon
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. Catching the value of a field in the action class is not a problem, but how i can get the value of a select tag of the first page in the template of the th

[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 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. > Catching the value

[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 =) On

[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 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 wrote: > > > Hi, > > > I work on symfony 1.0.21, and get a probleme with a form.

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

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

[symfony-users] Translation request

2010-06-04 Thread Денис Горбачев
Hello everybody! I want my bannerto be available in all languages. I ask you to translate the banner message from English into your native language. Currently, we have Russian

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 Денис Горбачев : > 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. Curr

Re: [symfony-users] Translation request

2010-06-04 Thread Michał Piotrowski
Hi, 2010/6/4 Денис Горбачев : > 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 > appreciated. > > Thanks

[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: echo jq_link_to_remote('Enviar mensaje 2', array( 'url' => 'mensaje/new?receptor='.$miembro->getId().'&tipo=0&estado=0', 'update

[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 wrote: > Hi, > > i have a template with this below to show a dialog when the link is clicked: > > > > > > echo jq_link_to_remote('Enviar mensaje 2', array( >                                          'url' => > 'm

[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 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? > > What i

[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 > Hi, > > 2010/6/4 Денис Горбачев : > > Hello everybody! > > > > I want my banner to be available in all languages. I as

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

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

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

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