[symfony-users] Re: var_dump Doctrine_Record

2009-12-10 Thread Salim
Here is an sample of the schema : Place: actAs: I18n: fields: - name - number - address - postal_box - cedex - city - zip_code - country - tel - fax - email - website - presentation

[symfony-users] Re: How to use Filter Forms without Admin Generator?

2009-12-10 Thread ken
You can reuse them out of admin generator. If you want to investigate what is the usage then check the generated cache. On Dec 10, 3:48 pm, Christopher Schnell ty...@mda.ch wrote: Yeah, I thought so. But I can use the fieldset of the filter form anyway. I was mainly curious because the form

[symfony-users] Validator Equivalent to sfForm::useFields

2009-12-10 Thread Christopher Schnell
Hi all, me again. The useFields method is great. However, I was tempted to forget about unsetting validators when using the method. is there any equivalent planned like sfForm::useValidators(...)? That would be really useful, would it not? Regards, Christopher. -- You received this message

[symfony-users] Re: Validator Equivalent to sfForm::useFields

2009-12-10 Thread Raphael Schumacher
I thought the useFields() method would appropriately care for the validators as well, so no further method needed for this? Cheers, RAPHAEL -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to

Re: [symfony-users] Re: Validator Equivalent to sfForm::useFields

2009-12-10 Thread Daniel Lohse
Yes, that is correct. It's the same as using unset(), this unsets a whole lot of things behind the scenes but what matters most, useFields () unsets both widgets and their corresponding validators for all fields not listed in the argument array. Daniel Sent from my iPhone On Dec 10, 2009,

[symfony-users] Sending mail on Exceptions with sf1.3

2009-12-10 Thread Nei Rauni Santos
I have a class to send mails each exception.. I sent mails with sf 1.2 using my classes downloaded on lib/vendor/swift, now I need to rewrite this lib to send mails using sf 1.3.. Anybody has any example of sending mails like this way??? -- Nei Rauni Santos nra...@gmail.com +55 41 85020985 --

[symfony-users] Re: Recommended CMS for an older Propel-based Symfony 1.0 app?

2009-12-10 Thread Tom Boutell
I would recommend sfSimpleCMSPlugin. We used sfSimpleCMSPlugin on our Symfony 1.0 projects, and while we tended to customize it heavily, we liked it enough to follow a similar general approach in Apostrophe. I think it would meet your immediate needs well and also make it easier to move to Symfony

[symfony-users] Extending a plugin schema (propel)

2009-12-10 Thread Bert-Jan
Hi Folks, I'm trying to extend the schema of my plugin as described in http://www.symfony-project.org/book/1_2/17-Extending-Symfony#Customizing a Plug-In for an Application. Running symfony 1.2.11-DEV from the 1.2 svn branch. My plugin is named dcModelPlugin which contains the entire model

Re: [symfony-users] Sending mail on Exceptions with sf1.3

2009-12-10 Thread Alexandru-Emil Lupu
Check. The jobeet. I will come later with specs On Dec 10, 2009 2:37 PM, Nei Rauni Santos nra...@gmail.com wrote: I have a class to send mails each exception.. I sent mails with sf 1.2 using my classes downloaded on lib/vendor/swift, now I need to rewrite this lib to send mails using sf 1.3..

[symfony-users] Integration with fast key-value database Redis

2009-12-10 Thread Shumkov
Hello guys, I'm developing Rediska (http://rediska.geometria-lab.net/) - PHP client for key-value database Redis and I want to integerate it with Symfony (cache, session, etc). Redis (http://code.google.com/p/redis) is an advanced fast key-value database written in C. It can be used like

[symfony-users] Re: propel build-schema // Fatal error: Cannot instantiate interface Platform

2009-12-10 Thread lolipop
Hi, i dont't know if i have understood you, but i think, the problem is in wrong project initialization. Look at this line from documentation: $ php lib/vendor/symfony/data/bin/symfony generate:project jobeet -- orm=Propel Did you build your project in this way? (--orm=Propel)!!! pozdrowienia

[symfony-users] Need to hire a Symfony Developer to work on projects

2009-12-10 Thread IH
I need a developer that can work in Symfony. The project will be broken down into small task that will be paid at completion of each. Things to be done will be to create a landing page, create a form page to capture user information, create a page that shows a list (table) of items available (5

[symfony-users] Re: Error using sfFacebookConnectPlugin and sfGuardPlugin

2009-12-10 Thread Hardeep Khehra
Not sure what I'm doing wrong, but for starters i'm beginning a fresh project using symfony 1.4, but I can't get this plugin to work for the life of me. I've followed all the instructions and cannot get this plugin to work using sfDoctrineGuardPlugin. The facebook dialog appears and i can log

[symfony-users] Doctrine, Admin Generator Timestampable behavior

2009-12-10 Thread Darmen Amanbayev
Hi guys, I have a little problem in Doctrine's Timestampable behavior. In admin generator I've set this behaviour to my model and it has been generated properly in base-class. But when user saves a record in backend there is a validation error saying that created_at and updated_at fields are

[symfony-users] Re: How to combine Sympal with a regular Symfony app?

2009-12-10 Thread titang
I am glad to see another user of sympal. :) Frontend is a new and empty app right ? If yes, i suggest you to delete it and to create it with the task: symfony sympal:create-site frontend it will do the same as symfony generate:app frontend plus add some record in the db. For your second question

[symfony-users] Re: Routing different in prod and dev

2009-12-10 Thread Pancho
any solution ? On 29 nov, 23:08, ashton ahonn...@gmail.com wrote: I'm struggling with aroutingissue.  New project, and I have an index module, and a 'list' action and 'index' action. These urls work: /frontend_dev.php/index/index (in dev) /index/index /frontend_dev.php/index/list this

[symfony-users] Action sf_guard_user/index does not exist (sfDoctrineGuardPlugin)

2009-12-10 Thread Thomas l'ours dev brun
Hi! I had several troubles with my user config thereby, I decided to uninstall and reinstall the sfDoctrineGuardPugin. Now, (after rebuiling the model, and enable the plugin) I can't access to the following page /backend_dev.php/sf_guard_user the exact error is Action sf_guard_user/index does

[symfony-users] Re: pkToolkitPlugin gems: pkToolkit:deploy

2009-12-10 Thread Alex Gilbert
Just used this myself. Very awesome. Is there anything that can be done about maintaining the color coding in the tasks that are executed. Thanks, Tom! On Dec 8, 10:43 pm, Pablo Godel pablo.go...@gmail.com wrote: Great Tom, this will be very helpful. We see all the time that deployment is one

[symfony-users] custom postValidator on embedded forms

2009-12-10 Thread cosmy
hi all.. I have to write a post validator because i want to check that values of different embedded forms shouldn't be the same. I don't know the best practice to do this, so I've tried doing this way: In my configure() function of my main form class: // add a post validator

[symfony-users] problem connecting to my plugin svn repository

2009-12-10 Thread mattsister
Just yesterday, I've created my first plugin I've got a problem committing my source to the svn repository... the url is: http://svn.symfony-project.com/plugins/sfPropelTaggableWidgetPlugin/ I use my symfony website credentials to commit to it, but I always get: svn: MKACTIVITY di

[symfony-users] widgets's javascripts and stylesheets aren't included on layout using sf1.3

2009-12-10 Thread Nei Rauni Santos
Guys, I've upgraded my symfony from 1.2 to 1.3 and some javscripts added by widgets are not included... */ class mpWidgetFormInputAutoSuggest extends sfWidgetForm { .. // javascripts sfContext::getInstance()-getResponse()-addJavascript(prototype/js/prototype);

[symfony-users] Re: widgets's javascripts and stylesheets aren't included on layout using sf1.3

2009-12-10 Thread Nei Rauni Santos
I notice that this way was wrong, and on my widget I put thow 2 methods:; /** * Gets the stylesheet paths associated with the widget. * * @return array An array of stylesheet paths */ public function getStylesheets() { return

[symfony-users] Re: widgets's javascripts and stylesheets aren't included on layout using sf1.3

2009-12-10 Thread Nei Rauni Santos
If I add this line on layout.php ?php var_dump( sfContext::getInstance()-getResponse()-getStylesheets() ); ? I get the dump: *array* 'frontend/frontend' = *array* *empty* 'frontend/frontend-print' = *array* 'media' = string 'print' *(length=5)*

[symfony-users] Re: widgets's javascripts and stylesheets aren't included on layout using sf1.3

2009-12-10 Thread Nei Rauni Santos
I tried to put this code on my partial too: ?php use_helper('Asset'); foreach ($form-getJavascripts() as $js ){ use_javascript($js); } foreach ($form-getStylesheets() as $css ){ use_stylesheet($css); } ? didn't work. On Thu, Dec 10, 2009 at 6:17 PM, Nei Rauni Santos nra...@gmail.com

[symfony-users] sfWidgetFormInputFileEditable admin required file

2009-12-10 Thread g0d br
Hi, I have an schema like this: banner: id: ~ ordem: { type: integer, required: true } imagem: { type: varchar(255), required: true } link: { type: varchar(255), required: false } When i edit an record in admin module i get an error Required for imagem field. Thats the code in

[symfony-users] Extend forms (Doctrine) with Plugins

2009-12-10 Thread Adrien Mogenet
Hi all, In my `main` application, let say I have a UserForm.class.php to manage my Users. This `main` application has a `foobar` module which displays a UserForm instance. Well, I want to offers to the developers a way to extend this UserForm class by developing some plugins. Is there a clever

Re: [symfony-users] Extend forms (Doctrine) with Plugins

2009-12-10 Thread Daniel Lohse
What you can do is this: - you have a BaseUserForm which extends BaseForm, don't you? (or sfForm[Propel, Doctrine] when you're using symfony 1.2, doesn't matter) - UserForm extends BaseUserForm - add another form called ExtendUserForm which extends BaseUserForm - change UserForm to extend

[symfony-users] couldn't submit form, it generater Error

2009-12-10 Thread Noor Mustafa
Hi and Hello to all, When i submit the form following error generate, how can i fix it, any solution? 500 | Internal Server Error | PropelException 'duration_time_id' could not be found in the field names of type 'fieldName'. These are: Array ( [id] = 0 [duration_desc] = 1 )

Re: [symfony-users] couldn't submit form, it generater Error

2009-12-10 Thread patrick
Hi there, unfortunately this email address no longer accepts mail. For web enquiries please contact DDNS on 03 9815 6868 or i...@ddns.com.au For support related issues please email supp...@ddns.com.au Kind Regards, Domain Admin -- You received this message because you are subscribed to

Re: Re: [symfony-users] couldn't submit form, it generater Error

2009-12-10 Thread patrick
Hi there, unfortunately this email address no longer accepts mail. For web enquiries please contact DDNS on 03 9815 6868 or i...@ddns.com.au For support related issues please email supp...@ddns.com.au Kind Regards, Domain Admin -- You received this message because you are subscribed to

Re: Re: Re: Re: [symfony-users] couldn't submit form, it generater Error

2009-12-10 Thread patrick
Hi there, unfortunately this email address no longer accepts mail. For web enquiries please contact DDNS on 03 9815 6868 or i...@ddns.com.au For support related issues please email supp...@ddns.com.au Kind Regards, Domain Admin -- You received this message because you are subscribed to

Re: Re: Re: Re: Re: [symfony-users] couldn't submit form, it generater Error

2009-12-10 Thread patrick
Hi there, unfortunately this email address no longer accepts mail. For web enquiries please contact DDNS on 03 9815 6868 or i...@ddns.com.au For support related issues please email supp...@ddns.com.au Kind Regards, Domain Admin -- You received this message because you are subscribed to

Re: Re: Re: Re: Re: Re: [symfony-users] couldn't submit form, it generater Error

2009-12-10 Thread patrick
Hi there, unfortunately this email address no longer accepts mail. For web enquiries please contact DDNS on 03 9815 6868 or i...@ddns.com.au For support related issues please email supp...@ddns.com.au Kind Regards, Domain Admin -- You received this message because you are subscribed to

Re: Re: Re: Re: Re: Re: Re: [symfony-users] couldn't submit form, it generater Error

2009-12-10 Thread patrick
Hi there, unfortunately this email address no longer accepts mail. For web enquiries please contact DDNS on 03 9815 6868 or i...@ddns.com.au For support related issues please email supp...@ddns.com.au Kind Regards, Domain Admin -- You received this message because you are subscribed to

Re: Re: Re: Re: Re: Re: Re: Re: [symfony-users] couldn't submit form, it generater Error

2009-12-10 Thread patrick
Hi there, unfortunately this email address no longer accepts mail. For web enquiries please contact DDNS on 03 9815 6868 or i...@ddns.com.au For support related issues please email supp...@ddns.com.au Kind Regards, Domain Admin -- You received this message because you are subscribed to

Re: Re: Re: Re: Re: Re: Re: Re: Re: [symfony-users] couldn't submit form, it generater Error

2009-12-10 Thread patrick
Hi there, unfortunately this email address no longer accepts mail. For web enquiries please contact DDNS on 03 9815 6868 or i...@ddns.com.au For support related issues please email supp...@ddns.com.au Kind Regards, Domain Admin -- You received this message because you are subscribed to

Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: [symfony-users] couldn't submit form, it generater Error

2009-12-10 Thread patrick
Hi there, unfortunately this email address no longer accepts mail. For web enquiries please contact DDNS on 03 9815 6868 or i...@ddns.com.au For support related issues please email supp...@ddns.com.au Kind Regards, Domain Admin -- You received this message because you are subscribed to

[symfony-users] CSRF Attacks

2009-12-10 Thread DEEPAK BHATIA
Hi, We have a plugin to solve the problem of CSRF in Symfony. http://www.symfony-project.org/plugins/sfCSRFPlugin How can I check whether this is implemented correctly ? Regards Deepak Bhatia -- You received this message because you are subscribed to the Google Groups symfony users group.

Re: [symfony-users] CSRF Attacks

2009-12-10 Thread Alexandru-Emil Lupu
By implementing functional tests? Maybe?! Sent via HTC magic On Dec 11, 2009 8:51 AM, DEEPAK BHATIA toreachdee...@gmail.com wrote: Hi, We have a plugin to solve the problem of CSRF in Symfony. http://www.symfony-project.org/plugins/sfCSRFPlugin How can I check whether this is implemented

Re: [symfony-users] sfWidgetFormInputFileEditable admin required file

2009-12-10 Thread Alexandru-Emil Lupu
When you get that required error? Better what are you trying to achieve? sent via htc magic On Dec 11, 2009 1:11 AM, g0d br g0d...@gmail.com wrote: Hi, I have an schema like this: banner: id: ~ ordem: { type: integer, required: true } imagem: { type: varchar(255), required: true }

[symfony-users] file_link_format for PDT/eclipse

2009-12-10 Thread klemens_u
Hi everybody, I just read about the file_link_format option of symfony / xdebug in the advent calendar: http://www.symfony-project.org/advent_calendar/4/en Does anyone know how to setup this for PDT/Eclipse? Thanks, Klemens :-) -- You received this message because you are subscribed to the

Re: [symfony-users] CSRF Attacks

2009-12-10 Thread DEEPAK BHATIA
Hi, In the symfony guide, it is given that all: .settings: # Form security secret (CSRF protection) csrf_secret: false # Unique secret to enable CSRF protection or false to disable # Output escaping settings escaping_strategy: true# Determines how

[symfony-users] Making Symfony Web Site Secure

2009-12-10 Thread DEEPAK BHATIA
Hi, In the symfony guide, two kinds of attack CSRF and XSS are discussed. Do we have some other kind of attacks which can make site vulnerable ? Regards Deepak Bhatia -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group,

Re: [symfony-users] CSRF Attacks

2009-12-10 Thread Alexandru-Emil Lupu
if you are using sf 1.2 then you just need to set that csrf_secret ... On Fri, Dec 11, 2009 at 9:38 AM, DEEPAK BHATIA toreachdee...@gmail.com wrote: Hi, In the symfony guide, it is given that all:   .settings:     # Form security secret (CSRF protection)     csrf_secret:   false

Re: [symfony-users] CSRF Attacks

2009-12-10 Thread Dennis Benkert
This also works with symfony 1.2 :) Am 11.12.2009 um 08:41 schrieb Alexandru-Emil Lupu gang.al...@gmail.com: if you are using sf 1.2 then you just need to set that csrf_secret ... On Fri, Dec 11, 2009 at 9:38 AM, DEEPAK BHATIA toreachdee...@gmail.com wrote: Hi, In the symfony

Re: [symfony-users] CSRF Attacks

2009-12-10 Thread Alexandru-Emil Lupu
sorry i meant = On Fri, Dec 11, 2009 at 9:45 AM, Dennis Benkert spinecras...@googlemail.com wrote: This also works with symfony 1.2 :) Am 11.12.2009 um 08:41 schrieb Alexandru-Emil Lupu gang.al...@gmail.com: if you are using sf 1.2 then you just need to set that csrf_secret ... On Fri,

Re: [symfony-users] CSRF Attacks

2009-12-10 Thread DEEPAK BHATIA
Thanks I am using Symfony 1.1. I have checked XSS attack by enabling the flag in the settings.yml. But for CSRF I have to use the plugin and use filters.yml for the same. Regards Deepak Bhatia On Fri, Dec 11, 2009 at 1:16 PM, Alexandru-Emil Lupu gang.al...@gmail.comwrote: sorry i meant =