Re: [symfony-users] How to disable the modules/action routes?

2010-11-18 Thread Gareth McCumskey
Do you really want to define every route for every module/action pair? On Thu, Nov 18, 2010 at 10:44 AM, noel guilbert noelguilb...@gmail.comwrote: You just have to define the route for these actions, no? On Wed, Nov 17, 2010 at 12:52 PM, Gareth McCumskey gmccums...@gmail.comwrote: But

[symfony-users] class creation from plugin

2010-11-18 Thread HAUSa
In a plugin I have a schema.yml. When I do propel:build all, a model is created in /lib/model/ Object.php But, I already have that class! In /plugins/myPlugin/lib/model/Object.php How can I overwrite the normal class with my plugin class? It would be very crappy if I have to extend it an make it

[symfony-users] Re: Admin generator - removing all delete links

2010-11-18 Thread Manu
I haven't found in the docs how to disable that particular action. -- 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,

Re: [symfony-users] Re: Admin generator - removing all delete links

2010-11-18 Thread Michał Piotrowski
Hi, 2010/11/18 Manu emmanuel.parf...@gmail.com: I haven't found in the docs how to disable that particular action. It's my sfGuardUser config - it removes both new and delete generator: class: sfDoctrineGenerator param: config: actions: { _edit: ~ } form: class:

[symfony-users] Acces denied for user www-data

2010-11-18 Thread Bor1s
Hello all, i am a beginner on symfony and i try to do the jobeet tutorial. All seem to be good as far as the final part of day 2 when i try to do a new module. When i try to access at my module's url ( http://localhost/frontend_dev.php/myModule ) i have an connexion error : [code]PDO Connection

[symfony-users] Re: Looking for best practice: Redirecting a subdomain to a symfony app

2010-11-18 Thread cestcri
Just to conclude this question... ...I chose to handle this via .htaccess - redirecting a bunch of mobiles to the homapage (meaning that people trying to access a sub page will also get directed to the homepage... not ideal). Best regards, Christian On Nov 15, 11:46 am, cestcri

Re: [symfony-users] Acces denied for user www-data

2010-11-18 Thread Thomas Ohms
Does this only happen with you own module? 2010/11/18 Bor1s galina.sebast...@gmail.com Hello all, i am a beginner on symfony and i try to do the jobeet tutorial. All seem to be good as far as the final part of day 2 when i try to do a new module. When i try to access at my module's url (

[symfony-users] question about filter forms and multiple select widgets

2010-11-18 Thread Stan McFarland
Hi, I've successfully created a filter form for my frontend app, but want to allow the user to select multiple values for a given attribute. After changing the widget to allow multiple values, I can select a single value from the select widget, and the SQL appears to be generated correctly:

[symfony-users] symfony task into cron

2010-11-18 Thread hribo
hello, how do you create cron with existing task that i am usually running from CLI like this: php symfony email_service:sendLoggerEmailReturner -- application=frontend --env=prod when i am on my production server, i run crontab -e command. then i am supposed to put there my cron, which i want

[symfony-users] Re: symfony task into cron

2010-11-18 Thread Stan McFarland
try: cd /path/to/my/app; /usr/bin/php symfony ... /dev/null you redirect to /dev/null - otherwise the output of your command gets sent to you via e-mail. On Nov 18, 10:54 am, hribo hribo...@gmail.com wrote: hello, how do you create cron with existing task that i am usually running from

[symfony-users] Re: symfony task into cron

2010-11-18 Thread Stan McFarland
my bad - that won't work. the cd won't take. try: /usr/bin/php /path/to/may/app/symfony ... /dev/null On Nov 18, 11:00 am, Stan McFarland sfmc...@gmail.com wrote: try: cd /path/to/my/app; /usr/bin/php symfony ... /dev/null you redirect to /dev/null - otherwise the output of your

[symfony-users] Re: symfony task into cron

2010-11-18 Thread Damon Jones
If you need to run from within your project directory, you can do the following: 0 1 * * * cd /path/to/project/folder ./symfony email_service:sendLoggerEmailReturner --application=frontend -- env=prod /dev/null 21 On Nov 18, 11:03 am, Stan McFarland sfmc...@gmail.com wrote: my bad  - that

Re: [symfony-users] Re: symfony task into cron

2010-11-18 Thread Alex Pilon
Come on man, help yourself a little bit. http://en.wikipedia.org/wiki//dev/null http://en.wikipedia.org/wiki//dev/null is a pipe character. It is essentially forward output to a null stream effectively stifling any output causes by the script. On Thu, Nov 18, 2010 at 11:57, hribo

Re: [symfony-users] Re: symfony task into cron

2010-11-18 Thread Wes John-Alder
That pipes all output away from stdout so that it won't clutter your terminal. On Thu, Nov 18, 2010 at 11:57 AM, hribo hribo...@gmail.com wrote: thanks, it works this way ;) do you also know what means an expression at the end: /dev/null ? -- If you want to report a vulnerability issue

Re: [symfony-users] Acces denied for user www-data

2010-11-18 Thread Alex Pilon
Did you clear the cache? On Thu, Nov 18, 2010 at 08:44, Bor1s galina.sebast...@gmail.com wrote: Hello all, i am a beginner on symfony and i try to do the jobeet tutorial. All seem to be good as far as the final part of day 2 when i try to do a new module. When i try to access at my

[symfony-users] Doctrine + Don't allow duplicate values

2010-11-18 Thread Ardison Nicolas
Hi folks, I have a table table with Doctrine where i have an numeric id as a key and an email, the email must be unique (as the key), i know that i can write the code to do it at the create method when i insert the data in the SQL. But i want to know if doctrine have something to do it editing the

Re: [symfony-users] Doctrine + Don't allow duplicate values

2010-11-18 Thread Alex Pilon
You can set an index on doctrine models and make the index unique.. http://www.doctrine-project.org/documentation/manual/1_0/en/defining-models:indexes:index-options http://www.doctrine-project.org/documentation/manual/1_0/en/defining-models:indexes:index-optionsIf you want to make some sort of

[symfony-users] Symfony Meetup tonight in NYC with Jonathan Wage of Doctrine. Topic is his Mongo (odm) and working with Mongo and Doctrine

2010-11-18 Thread Jesse
Free Pizza and Beer/Soda will be provided. As well as door prizes! Come fill your brain and your stomach! Nov18 Thu 7:00 PM Meetup HQ 632 Broadway FLR DIEZ NY, NY 10012 More info available: http://www.meetup.com/Symfony-NYC/calendar/15221720/ -- If you want to report a vulnerability issue on

[symfony-users] Avoid building whole model again and again

2010-11-18 Thread charanjeet
Hello All We are using MyISAM , hence no relations defined in model. Now we also want to avoid defining relations in schema.yml as it will be rewritten each time we make changes in datebase and run php symfony doctrine:build-schema. Is there a way to generate schema in parts or some other way

Re: [symfony-users] Avoid building whole model again and again

2010-11-18 Thread Gareth McCumskey
You can still define relations in models. Your foreign keys will be managed code-side not server side. It can essentially replicate in code all the benefits of having foreign key relationships, so there is no reason not to define foreign key in your schema even on MyISAM. On Fri, Nov 19, 2010 at