Re: [symfony-users] [RFC] sfUnifiedGuard for Symfony 2

2010-05-06 Thread Alexandru-Emil Lupu
+1 On Thu, May 6, 2010 at 9:41 AM, Alan Bem wrote: > thumbs up > > On Wed, May 5, 2010 at 6:44 PM, Daniel Lohse > wrote: >> >> Yes, that really is awesome! >> >> +1 >> >> Sent from my iPhone >> >> On May 5, 2010, at 5:34 PM, Javier Garcia wrote: >> >>> On 05/04/2010 01:16 PM, Michał Piotrowski

[symfony-users] How I can share some functionality between models

2010-05-06 Thread amit
How I can share some functionality between models? -- Amit -- 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 this group, send e

[symfony-users] Re: [backend] blank page after I've installed sfDoctrineGuardPlugin

2010-05-06 Thread SatBoy78
Thanks for your hints, I'll follow all your suggestions. I hope I can solve my problem. -- 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. T

Re: [symfony-users] How I can share some functionality between models

2010-05-06 Thread Alexandru-Emil Lupu
??? what exactly do you mean ? On Thu, May 6, 2010 at 11:40 AM, amit wrote: > How I can share some functionality between models? > > -- > Amit > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com > > You received this message becau

Re: [symfony-users] How I can share some functionality between models

2010-05-06 Thread Stéphane
Hi, About models, it is a Doctrine concern I believe. Take a look at Doctrine_Template. Cheers, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Thu, May 6, 2010 at 11:41 AM, Alexandru-Emil Lupu wrote: > ??

Re: [symfony-users] The best way to create a form to register new users

2010-05-06 Thread Javier Garcia
or you can use sdDoctrineGuardExtraPlugin. On 05/03/2010 10:26 PM, Michał Piotrowski wrote: Hi, 2010/5/3 Gustavo Fonseca: Hi, I'm using sfDoctrineGuardPlugin, The best way is to checkout svn version and use of sfGuardRegister Regards, M and i'm creating a form to register a s

Re: [symfony-users] How can i get the SQL clause of that Doctrine_Query object?

2010-05-06 Thread Eno
On Wed, 5 May 2010, Javier Garcia wrote: > $this->lista_miembros = $this->filtro->buildQuery($valores_query); > var_dump($this->lista_miembros); > > var_dump outputs a Doctrine_Query object: > > object(Doctrine_Query)[121] > protected '_subqueryAliases' => array > > How can i get th

[symfony-users] help_sfPhpExcelPlugi

2010-05-06 Thread safa boubekri
hello because until now i dont resolve the problem of export and import excel file should you help me please thank you a lot -- 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 s

[symfony-users] How to remove the "" from $widget->renderHelp()

2010-05-06 Thread François
Hi, I got a tiny, but anooying, problem, when I use the $widget- >renderHelp() method, it adds me a , how to delete it ? Thank you. -- 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

[symfony-users] Re: How to remove the "" from $widget->renderHelp()

2010-05-06 Thread Calvein
And without JavaScript of course. With jQuery, this works $('.myClass br').remove(); 2010/5/6 François > Hi, > > I got a tiny, but anooying, problem, when I use the $widget- > >renderHelp() method, it adds me a , how to delete it ? > > Thank you. -- If you want to report a vulnerability issue

Re: [symfony-users] How to remove the "" from $widget->renderHelp()

2010-05-06 Thread Земсков Юрий
You have to add $this->getWidgetSchema()->getFormFormatter()->setHelpFormat('%help%'); at the end of YourFormClass::configure() method Âû ïèñàëè 6 ??? 2010 ?., 17:24:27: > Hi, > I got a tiny, but anooying, problem, when I use the $widget- >>renderHelp() method, it adds me a , how to delete it

[symfony-users] Re: How to remove the "" from $widget->renderHelp()

2010-05-06 Thread François
It works great, thanks :) On May 6, 4:13 pm, Земсков Юрий wrote: > You have to add > > $this->getWidgetSchema()->getFormFormatter()->setHelpFormat('%help%'); > > at the end of YourFormClass::configure() method > > Âû ïèñàëè 6 ??? 2010 ?., 17:24:27: > > > Hi, > > I got a tiny, but anooying, proble

[symfony-users] Re: [backend] blank page after I've installed sfDoctrineGuardPlugin

2010-05-06 Thread SatBoy78
I rebuilt everything from the beginning and now it works: symfony mysteries! -- 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 t

[symfony-users] Doctrine : How to get the X last record in Ascending order ?

2010-05-06 Thread Joel WURTZ
Hello, I try to get the 20 last record of a table in asc order, it is simply done with a sql query but when i try to do it with doctrine i got many problems I first tried to get them in desc order and after reverse the collection in doctrine, but the only way is to get the key values reverse it (

[symfony-users] Re: Jobeet Tutorial

2010-05-06 Thread deska
Gracias por el aporte :D me sirvio mucho On 11 mar, 02:48, Parijatha Kumar wrote: > Hi, > > Before you build the modules, you have to build the form classes > first. That means before you issue your propel:generate-module > command, you should issue propel:build-form command. That works for me >

[symfony-users] Re: Level problem (public/protected) of setupInheritance() with Doctrine form generator

2010-05-06 Thread Olivier
Hello Yoann, > In using the inherit of doctrine with sfDoctrineGuard plugin, I get this > error: > > Fatal error: Access level to BaseecfdbGuardGroupForm::setupInheritance() > must be public (as in class PluginsfGuardGroupForm) I'm having the exact same problem, but I'm also doing the same with s

[symfony-users] Making Software for shared hosting market

2010-05-06 Thread BizHat.com
Hi, We are small business making php scripts. Most of our customers are using shared hosting with cpanel or plesk server with no ssh access. We are looking for a framework to do our next project. Can scripts created with symfony can be hosted on shared hosting with out lot of changes ? We can o

[symfony-users] sfDoctrineGuardUser custom LDAP authenication funkyness

2010-05-06 Thread webdev_aw_ucsb
Greetings all -- I'm using Symfony 1.4.4 I followed some example blog code provided here: http://blog.honnecke.us/2010/01/using-sfdoctrineguardusers-external-authentication/ And I have in my custom authentication class the following attached code. I hit 2 different LDAP servers based upon the sy

[symfony-users] How to modify the result of $sf_Content in my homepage

2010-05-06 Thread roberto
is it possible to modify what happen in home page where a $sf_content variable si calling? how can i decide what to show there? -- 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 th

Re: [symfony-users] Re: $this->getRequest()->isMethod('post')

2010-05-06 Thread Parijat Kalia
All right...it did post a bool, that is truewhich has been the case...here is the actionI am posting only until the if($this->getRequest()->isMethod('post')) line...after that it's just code execution...the template code follows after the action * public function executeCreateQuestions()

[symfony-users] Server crash instead of errors

2010-05-06 Thread Amadeus
I am running the latest sf 1.4. In the past 2 weeks or so I noticed that I rarely get errors dumped to screen in dev mode. Instead my browser (safari on osx) says: Safari can’t open the page “xyz” because the server unexpectedly dropped the connection. This sometimes occurs when the server is busy

[symfony-users] Re: How overwrite addFiltersCriteria in symfony 1.4?

2010-05-06 Thread fRAnKEnSTEin
Hi there, Thank you very much for your help: >"...that is why some filter inputs (like the date filter field for example) >have 2 fields with the same name..." Nice piece of info!. Ok you suggested me that i can take a look at the auto-generated forms. I have searched in "cache" folder for the

RE: [symfony-users] Server crash instead of errors

2010-05-06 Thread Daniel Kucharski
Hi, I had a similar problem and it turned out to be mysql which was dumping (wamp installation). After reinstalling the latest WAMP version problems were solved. -Original Message- From: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] On Behalf Of Amadeus Sent: don

[symfony-users] Re: Server crash instead of errors

2010-05-06 Thread Amadeus
I haven't changed my php/apache/mysql setup in a while - all stock snow leopard. It seems that fatal errors do not display - my phpini has it to show and my tests outside of sf show syntax errors. But in sf, forget a semicolon, and it's just blank. On May 6, 12:21 pm, "Daniel Kucharski" wrote: >

[symfony-users] Problem with form with a relationship n:m

2010-05-06 Thread eduard
Hello everyone, anyone can help me? I've been several days with this and I'm desperate. I have a table Wood, another table Procedence, and other Aplications. Wood has info as: name, photo, density, etc. Procedence only has one field (and ID obviously), a string: Middle East

[symfony-users] sf/doctrine performance

2010-05-06 Thread dan
Hi all, I have a large XML file (140+MB) which I'm parsing with an sf Task. It's a complicated structure, and contains some interesting relationships. The approach I'm using is to open the XML file with XMLReader, and when I find a node of interest, convert that node to a SimpleXML object, and t

[symfony-users] sfCKEditorPlugin not dislplaying

2010-05-06 Thread zubair
Hello guys, i have a problem using the sfCKEditorPlugin. i get the CKEditor class not found error! Anyone with this problem, pls? thanks -- 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 subs

[symfony-users] Adding fields to a record

2010-05-06 Thread dan
Hi all, A quick question: Which is better: $record->set('field_name', $value); or: $record->setFieldName($value); Cheers, Dan. -- 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 subscri

Re: [symfony-users] Server crash instead of errors

2010-05-06 Thread Eno
On Thu, 6 May 2010, Amadeus wrote: > I am running the latest sf 1.4. In the past 2 weeks or so I noticed > that I rarely get errors dumped to screen in dev mode. Instead my > browser (safari on osx) says: > > Safari can’t open the page “xyz” because the server unexpectedly > dropped the connectio

[symfony-users] Fixture : How to define fixtures by environment

2010-05-06 Thread Dong YANG
Hello guys, I would like to know the best way to define fixtures by environment. For example, I need some *basic fixtures *for dev/test/prod environment, and some *data fixtures *only for dev and test environment. So when Prod environment, I just load basic fixtures. I think that

[symfony-users] Re: Server crash instead of errors

2010-05-06 Thread Amadeus
My point isn't that I can't find the errors - it's that something in the latest symfony has apparently changed and not syntax errors are disabled. I'd like to find out what it is so that I can fix it. On May 6, 2:32 pm, Eno wrote: > On Thu, 6 May 2010, Amadeus wrote: > > I am running the latest s

[symfony-users] Re: sf/doctrine performance

2010-05-06 Thread dan
Hmm - I don't think this is going to work. I ran the script and it got killed after 51 of 700+ games, with 21000 TyperefGame relationship records. It was consuming over 1.5GB of RAM. I understand PDO is a memory hog, so may have to refactor using mysql_query() etc. :( Any ideas are more than welc

[symfony-users] Re: sf/doctrine performance

2010-05-06 Thread ken
Or you can add optional argument offset and limit for your task. This however is not for sql but for the xml. The idea is to process only a part of the xml for a given run. This will allow you to run the task in many segments. On May 7, 10:17 am, dan wrote: > Hmm - I don't think this is going to

[symfony-users] Re: How overwrite addFiltersCriteria in symfony 1.4?

2010-05-06 Thread Richtermeister
Hey there, assuming you're using doctrine or propel, the autogenerated forms would be in /lib/forms/base Daniel On May 6, 10:48 am, fRAnKEnSTEin wrote: > Hi there, > > Thank you very much for your help: > > >"...that is why some filter inputs (like the date filter field for example) > >have

[symfony-users] Re: two modules, one model

2010-05-06 Thread Tom Ptacnik
It looks it's not a problem - I've just tested it. Even the routing is solved by combining the model name and module name. I've used classic command symfony doctrine:generate-admin backend JobeetJob --module=job1 symfony doctrine:generate-admin backend JobeetJob --module=job2 On 4 kvě, 17:0

[symfony-users] Re: How to show the validation errors inside the modal box?

2010-05-06 Thread Tom Ptacnik
What happen if there are no errors on the form in modal box? The modal box remain showed with some information like "thank you for your informations" or it disappears? On 4 kvě, 12:12, Javier Garcia wrote: > Hi, > > i have a form inside a modal box. If i have some validation error, the > form is

Re: [symfony-users] Fixture : How to define fixtures by environment

2010-05-06 Thread Pietrino Atzeni
I would like to know the best way to define fixtures by environment. For example, I need some *basic fixtures *for dev/test/prod environment, and some *data fixtures *only for dev and test environment. So when Prod environment, I just load basic fixtures. I think that this coul

[symfony-users] Re: sfForm button widgets?

2010-05-06 Thread Tom Ptacnik
You can use two input type submits on one form - look into the autogenerated form of the admin generator - There are two submit buttons - "Save" and "Save and add" On 4 kvě, 13:57, Земсков Юрий wrote: > Hi, > > need to make SForm (symfony 1.4) > > > Male > Female > > > Any  ideas (except using

[symfony-users] Re: relation betwwen a sfGuardUser and an other object in schema.yml

2010-05-06 Thread Tom Ptacnik
Hi, I don't think the error is caused by your relation because it's conected to the sf_guard_group table. Anyway I think you want to define a 1:1 relation between EventMember and sfGuardUser, so you need to add "foreignType: one" to you relation specification and the foreignAlias sfGuardUser don'