[symfony-users] Run Javascript on action result

2009-03-19 Thread Gareth McCumskey
Hi there, I hate to admit it so publicly but my Javascript knowledge .. well .. it leaves a lot to be desired :S. That said, I am looking for a means to run, for example, the periodically_call_remote ajax helper every few minutes, make it load an action and then, based on what the action returns,

[symfony-users] Re: Few simple questions about symfony 1.0

2009-03-19 Thread Gareth McCumskey
This is all explained in detail in the symfony book: http://www.symfony-project.org/book/1_0/08-Inside-the-Model-Layer On Wed, Mar 18, 2009 at 2:44 PM, torso petteri.torsso...@gmail.com wrote: Thanks for answer! Is it possible to do new table with propel, with out loosing data. Should I

[symfony-users] Re: Run Javascript on action result

2009-03-19 Thread Sid Bachtiar
for example, the periodically_call_remote ajax helper every few minutes, make it load an action and then, based on what the action returns, either run the javascript or not. You can set the 'script'=true on periodically_call_remote, and then just decide on the ajax action what Javascript to

[symfony-users] Re: i18n for auto generated forms in admin generator

2009-03-19 Thread Fási Gábor
I'm not sure about the messages, but the labels can be translated, the form framework does this automatically. Unfortunately, the i18:extract task doesn't check the generated forms for strings to be translated, but if you include them in your xliff file, it'll echo the translated version. On

[symfony-users] Re: print content in different language

2009-03-19 Thread Tomasz Ignatiuk
THIS is what I needed. Thank you very much :) On 18 Mar, 23:35, Lee Bolding l...@leesbian.net wrote: You can set the culture for at the beginning of your invoice template,   and reset it at the end // header // save existing culture ?php $culture = $sf_user-getCulture(); ? ?php

[symfony-users] Re: i18n for auto generated forms in admin generator

2009-03-19 Thread dsb
Interface Translation The user interface needs to be adapted for i18n applications. Templates must be able to display labels, messages, and navigation in several languages but with the same presentation. Symfony recommends that you build your templates with the default language, and that you

[symfony-users] how to input_in_place_editor_tag ok_button set false

2009-03-19 Thread Guychmyrat Amanmyradov
hello. i am tring no to show ok/cancel button on input_in_place_editor_tag 'ok_button' = false, 'submit_onblur' = true, 'script' = true i set like above.  but i still see the button! how can i hide buttons ? ___ Yahoo!

[symfony-users] 1.1 Plugins with 1.2 Install

2009-03-19 Thread Ken
Hello, Newbie here. Looking to use Symfony for my next project and was curious if the 1.1 plugins will work with the 1.2 installation, more specifically the PayFlow Pro plugin: http://www.symfony-project.org/plugins/sfPayflowProPlugin Thank you in advance! Ken

[symfony-users] FormFormatter for sfWidgetFormSchema in admin-generator

2009-03-19 Thread broderix
Greetings, I use symfony 1.2.5-DEV fron svn trunk. I have an admin form from admin-generator. I need dynamic inputs, and don't want to use embedded forms. I build this for example: $this-widgetSchema['group0'] = new sfWidgetFormSchema(array( 'name0'= new sfWidgetFormInput(),

[symfony-users] ORM comparative

2009-03-19 Thread roberto german puentes diaz
i just read, it have a nice doc, http://phplightorm.wiki.sourceforge.net/LightOrm+vs+Propel+vs+Doctrine+benchmark what conclusion do you have after read it? How can we have a sample test, today? -- Cr. Puentes Diaz MP 10.12726.9 Córdoba - Argentina www.puentesdiaz.com.ar/blog/

Yan: [symfony-users] how to input_in_place_editor_tag ok_button set false

2009-03-19 Thread Guychmyrat Amanmyradov
Ok i found. hope someone will use this. 'save_text' = false, 'cancel_text' = false, not ok_button but save_text = false --- 19/03/09 Per tarihinde Guychmyrat Amanmyradov guychmy...@yahoo.com.tr şöyle yazıyor: Kimden: Guychmyrat Amanmyradov guychmy...@yahoo.com.tr Konu: [symfony-users] how

[symfony-users] Re: sfTitleMakerPlugin

2009-03-19 Thread Tom Haskins-Vaughan
Hi, I have checked in the changes to the trunk[1] and it seems to be working fine. I would like to host it on the symfony website, but before I uploaded the package, I wanted to know what the best way was to acknowledge the work you have done on it. Should I add you as a developer? Thanks,

[symfony-users] admin generator and i18n

2009-03-19 Thread Ghizlane Zinbi
Hi, For stored data translation i created 2 tables: nationalite: _attributes: { phpName: Nationalite } id: code: varchar(255) blacklist:boolean created_at: nationalite_i18n: _attributes: { phpName: NationaliteI18n } libelle:varchar(50) Then, I

Re: Re : Re : [symfony-users] Re: Which version of symfony use?

2009-03-19 Thread jobshuk
I'm comfortable using 1.0, and continue to do so on a number of projects. I'm started a new project which will be heavily based on the Admin Generator - is it worthwhile learning/using 1.2 ? On Mar 6, 8:35 am, Sid Bachtiar sid.bacht...@gmail.com wrote: One advantage of 1.0 though, is the number

[symfony-users] is any function like isset() (as in php) in symfony ?

2009-03-19 Thread dziobacz
I have links: http://localhost/profil/users and http://localhost/profil/users/invite/3 I would like to do something like that: if(isset($_GET['invite'])) { } How can I make it in symfony ? --~--~-~--~~~---~--~~ You received this

[symfony-users] Re: is any function like isset() (as in php) in symfony ?

2009-03-19 Thread Lee Bolding
if ($request-hasParameter(invite)) { } On 19 Mar 2009, at 18:58, dziobacz wrote: I have links: http://localhost/profil/users and http://localhost/profil/users/invite/3 I would like to do something like that: if(isset($_GET['invite'])) { } How can I

[symfony-users] Re: is any function like isset() (as in php) in symfony ?

2009-03-19 Thread Lee Bolding
But, you can use routing requirements too, which would be a neater solution. See Pattern Constraints here : http://www.symfony-project.org/book/1_2/09-Links-and-the-Routing-System On 19 Mar 2009, at 18:59, Lee Bolding wrote: if ($request-hasParameter(invite)) { } On 19 Mar 2009, at

[symfony-users] Re: is any function like isset() (as in php) in symfony ?

2009-03-19 Thread dziobacz
THX !! It works :) On 19 Mar, 20:03, Lee Bolding l...@leesbian.net wrote: But, you can use routing requirements too, which would be a neater   solution. See Pattern Constraints here :http://www.symfony-project.org/book/1_2/09-Links-and-the-Routing-System On 19 Mar 2009, at 18:59, Lee

[symfony-users] Re: About admin generator again, set filters dynamically?

2009-03-19 Thread Alan Bem
In your modules lib folder: %your_module_name%/lib/%your_module%GeneratorConfiguration.class.php On Thu, Mar 19, 2009 at 12:25 AM, Frank He hexuf...@gmail.com wrote: Where is that file you mentioned? I just know generator.yml, and that can not be updated based on some outside criteria, is

[symfony-users] Re: About admin generator again, set filters dynamically?

2009-03-19 Thread Frank He
maybe I am using symfony propel-init-admin users Users, this method is still for 1.0, that is why I can not find the file you mentioned. On Thu, Mar 19, 2009 at 4:15 PM, Alan Bem alan@gmail.com wrote: In your modules lib folder:

[symfony-users] Re: 1.1 Plugins with 1.2 Install

2009-03-19 Thread Sid Bachtiar
Hi Ken, Generally, if a plugin is flagged as for 1.1, there's a good chance that it would work on 1.2, but sometime it doesn't. It's best to consult the plugin author/developer. On Thu, Mar 19, 2009 at 10:44 PM, Ken kwes...@gmail.com wrote: Hello, Newbie here. Looking to use Symfony for my

Re: Re : Re : [symfony-users] Re: Which version of symfony use?

2009-03-19 Thread Sid Bachtiar
Hi, is it worthwhile learning/using 1.2 ? Regardless of your project, definitely worthwhile as that is where Symfony going to go. I have older projects in Symfony 1.0, one in Symfony 1.1, and all my new projects are in Symfony 1.2 :-) On Fri, Mar 20, 2009 at 6:09 AM, jobshuk

[symfony-users] Re: admin generator and i18n

2009-03-19 Thread Joan Teixidó
which version are you using?? if it's 1.0, the generator can't automaticly do things with i18n tables (but is easy to add the behavior). Joan 2009/3/19 Ghizlane Zinbi ghizlane.zi...@gmail.com Hi, For stored data translation i created 2 tables: nationalite: _attributes: { phpName:

[symfony-users] Re: I need help keeping the sessions in the database and you do not find a solution

2009-03-19 Thread Nixs
ya lo he resuelto thanks!! On 18 mar, 20:31, Nixs acron...@gmail.com wrote: Hello fellow Symfony. I need to be able to maintain the session user, because when you close the browser is lost. For this I stored in a database. sorry for my bad English, I speak Spanish I'm using mysql and

[symfony-users] Re: Buffer sizes for a typical Symfony Linux server

2009-03-19 Thread Sumedh
No one... :( sob sob... :) Sumedh wrote: Hi All, We are upgrading our server and feeding him with more memory...(4GB) What config changes should typically be done to accommodate extra memory? What are recommended values for these? What values do you use for these settings? Here are