Re: [symfony-users] Debug Toolbar Memory Use Value

2010-10-26 Thread Gareth McCumskey
Remember that if you are running in the dev environment that it will use a LOT more memory than the production environment as the dev environment keeps track of a lot of debugging info for you. On Mon, Oct 25, 2010 at 11:48 PM, Jonathan Franks wrote: > What does this amount mean? I have some page

[symfony-users] Re: Using generator.yml, is there any way to hide the fields of the i18n forms in the admin?

2010-10-26 Thread Javier Garcia
well, maybe the question is: using generator.yml, is there any way to hide the fields of the i18n table forms in the admin? sf 1.4/propel On Oct 25, 9:50 am, Javier Garcia wrote: > Hi, > > using generator.yml, is there any way to hide the fields of the i18n > forms in the admin? > > Javi --

Re: [symfony-users] per RECORD/Entity permissions?

2010-10-26 Thread Stéphane
In my mind it was to manage user access to actions, based not only on a per-action basis, but also on a per-record-user-action, "- Can user X can execute action Y ? - Take a look at its credentials for X_Y_Z !" Regards, Before Printing, Think about Your Environmental Responsibility! Avant d'Impri

Re: [symfony-users] Ajax tips in Symfony?

2010-10-26 Thread Stéphane
Saying "S"ymfony, I thought he wanted help on Sf2.0, not 1.4 ;) Perhaps it is still the same thing in regards to javascript side, anyway. Regards, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Tue, Oct 26,

Re: [symfony-users] Re: Using generator.yml, is there any way to hide the fields of the i18n forms in the admin?

2010-10-26 Thread Thomas Ohms
Have a look here: http://forum.diem-project.org/viewtopic.php?f=2&t=182&start=0 Maybe that's what you are looking for?! Regards, Thomas 2010/10/26 Javier Garcia > well, maybe the question is: > > using generator.yml, is there any way to hide the fields of the i18n > table forms in the admin? >

Re: [symfony-users] Re: Using generator.yml, is there any way to hide the fields of the i18n forms in the admin?

2010-10-26 Thread Thomas Ohms
Ooops, sorry wrong list. My link show an example for Diem. But should work similar to Symfony. 2010/10/26 Thomas Ohms > Have a look here: > http://forum.diem-project.org/viewtopic.php?f=2&t=182&start=0 > Maybe that's what you are looking for?! > > Regards, > Thomas > > 2010/10/26 Javier Garcia

[symfony-users] Re: You must pass an array parameter to the clean() method

2010-10-26 Thread Marcelo
I had this problem a while ago. Did you create new fields on the form ? Because I think this error is related with new fields, validations of these new fields... something like that. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com Yo

[symfony-users] Re: WkHtmlToPdf in Symfony

2010-10-26 Thread Florian
Hi, you can use local html file too : $snappy->save('file:///tmp/file.html', '/tmp/my.pdf'); or $snappy->save('./file.html', '/tmp/my.pdf'); This way, you have no more problems of http/cookie credentials :) For the images problem, you have to give either an absolute path or run your script rela

Re: [symfony-users] per RECORD/Entity permissions?

2010-10-26 Thread Gareth McCumskey
Maybe it was just worded badly. I see "record" and think database records On Tue, Oct 26, 2010 at 9:41 AM, Stéphane wrote: > In my mind it was to manage user access to actions, based not only on > a per-action basis, but also on a per-record-user-action, "- Can user > X can execute action Y

[symfony-users] Re: WkHtmlToPdf in Symfony

2010-10-26 Thread Florian
In order to get the html result of the action execution, yoi can use another solution(, which is a way better than the file_get_contents solution mentionned here: http://www.symfonyexperts.com/question/show/id/141 ) in your action: $html = $this->getController()->getPresentattionFor('module', 'ac

Re: [symfony-users] per RECORD/Entity permissions?

2010-10-26 Thread Stéphane
Ah, so it's my tweaked mind :-) Regards, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Tue, Oct 26, 2010 at 3:23 PM, Gareth McCumskey wrote: > Maybe it was just worded badly. I see "record" and think data

[symfony-users] Using country code for i18n Doctrine translations

2010-10-26 Thread Tom Haskins-Vaughan
Hi all, I apologise if this has been dealt with in the past. In the Gentle Introduction to symfony it says: "Keeping both the language and the country in the culture is necessary because you may have a different French translation for users from France, Belgium, or Canada, and a different

[symfony-users] Re: WkHtmlToPdf in Symfony

2010-10-26 Thread ken
Or echo passthru('/usr/bin/wkhtmltopdf http://google.com/ -'); On Oct 26, 9:26 pm, Florian wrote: > In order to get the html result of the action execution, yoi can use > another solution(, which is a way better than the file_get_contents > solution mentionned here:http://www.symfonyexperts.com/

[symfony-users] Re: SFPropelPager

2010-10-26 Thread Richtermeister
Hey Parijat, no problem, the query I speak of is documented here (Propel15 - you should be able to use that right away, it's fully compatible). http://www.propelorm.org/wiki/Documentation/1.5/WhatsNew#ModelQueries Also, the $page variable I just threw in to illustrate. In reality it would look li

[symfony-users] Re: per RECORD/Entity permissions?

2010-10-26 Thread Dennis
I *DID* mean database records/entities :-). So, the only post so far that points in the right direction seems to be the one showing a concantenated: RECORD.USER.ACTION. I would probably make it RECORD.GROUP.ACTION. The user's personal group would represent his own permissions and other group

Re: [symfony-users] Re: per RECORD/Entity permissions?

2010-10-26 Thread Stéphane
Ok. I have made such a behavior for Doctrine 1.2, some months ago, might not be perfect feet for your needs, anyway. I'll share it tomorow here. Regards, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Tue,

[symfony-users] Re: WkHtmlToPdf in Symfony

2010-10-26 Thread ming
On 26 Ott, 15:26, Florian wrote: > In order to get the html result of the action execution, yoi can use > another solution(, which is a way better than the file_get_contents > solution mentionned here:http://www.symfonyexperts.com/question/show/id/141 > ) > > in your action: > > $html = $this->get

[symfony-users] Variable actions in backend

2010-10-26 Thread Mariano Sola
Hi all! Does anybody know how can I make variable an action in the backend? In my case I have a backend of Comments some of them are in State 'Visible' and the rest in 'Not visible', I'd like to have an Action 'Make visible' just for Comments in State 'Not visible' and viceversa. Could you help

[symfony-users] Re: criteria::notlike

2010-10-26 Thread pghoratiu
When using multiple conditions on the same column you need to use a criterion that links them together otherwise the last defined filtering criteria is taken into consideration. Using your example something like this: $c = new Criteria(); $c1 = $c- >getNewCriterion((CommentsPeer::COMMENT,'likes',C

[symfony-users] action names and forms

2010-10-26 Thread xpanshun
Let me re-iterate I have never worked with Symfony or any other such framework before this; I am using it for a school project. Two questions... 1) Can the default file names (i.e. indexSuccess.php, showSuccess.php, etc.) be changed as long as the action names are changed in the actions.class.p

[symfony-users] Populate a Form Using Ajax

2010-10-26 Thread Ardison Nicolas
Hello Group =), I'm new here, and i'm new using Symfony, and there is something that i can not find how to do. I have a Form with the following Text Boxes. ID: Name:___ [Submit Button] What i want to do, it's that when the user start to write the ID (and if the ID exist in the databa

[symfony-users] Re: action names and forms

2010-10-26 Thread Ardison Nicolas
Hello, i'm new too, but i think that i could help you, I'm assuming that you are using Doctrine. In relation with your 2nd question, Yes you can. To change the labels text you need to edit the {symfony root}/lib/form/doctrine/ CustomerForm.class.php there you can edit some stuff of your Customer F

[symfony-users] Re: action names and forms

2010-10-26 Thread xpanshun
Thanks Ardison, You're awesome! Is there also a way to change the font formatting for this text? On Oct 26, 7:29 pm, Ardison Nicolas wrote: > Hello, i'm new too, but i think that i could help you, I'm assuming > that you are using Doctrine. > > In relation with your 2nd question, Yes you can. To

[symfony-users] Why the browser redirects home page to xampp-splash?

2010-10-26 Thread Marcio Pozzato
Hi Gays, I`m doing the jobeet project again, and unfortunately when finished the Day 1 I couldn`t show the home page www.jobeet.com.localhost/index.php. The browser redirect it to xampp/splash home page. Please, why? Thank you in advance. M. Pozzato Rio de Janeiro - BRAZIL -- If you want to re

Re: [symfony-users] Populate a Form Using Ajax

2010-10-26 Thread Gustavo Adrian
http://www.symfony-project.org/plugins/sfFormExtraPlugin Hope it helps. On Tue, Oct 26, 2010 at 8:20 PM, Ardison Nicolas wrote: > Hello Group =), > I'm new here, and i'm new using Symfony, and there is something that i > can not find how to do. I have a Form with the following Text Boxes. > > I

[symfony-users] Re: action names and forms

2010-10-26 Thread xpanshun
Scratch that last question; I found an awesome site for help with forms. Perfect for someone who is a beginner and needs more info on widgets and form formatting! http://www.thatsquality.com/articles/7-days-of-symfony-1-1-forms-widgets-and-validators-day7 Still looking for an answer to my first

Re: [symfony-users] action names and forms

2010-10-26 Thread Gábor Fási
Do you mean you wish to change the 'index' and 'show' part, or the 'Success' part? The first one comes from the action's name, as long as you rename the function in the actions.class.php file, you can rename the file. The second part comes from your action's return value, Success is the default, bu