[symfony-users] Single Sign On Using Kerberos

2010-07-14 Thread DEEPAK BHATIA
Hi, Anybody implemented Single Sign On using Kerberos in Symfony Project. Thanx in advance. Regards Deepak Bhatia -- 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

[symfony-users] how to get changes in modell class pre update

2010-07-14 Thread axel at
hello, I have a model with an integer attribute - invitationCount, in case of an model update I would need to know the old and new value. public function preUpdate($event) { $oldValue = $this-getInvitationCount(); $newValue = .? } -- If you want to report a vulnerability issue on

Re: [symfony-users] Running tests into another environment

2010-07-14 Thread jean-christophe zulian
Hello list, Although I didn't find out what was the exact cause of my problem, a colleague of mine managed to find a solution (if one day somebody needs it). The solution is to create another environment (in my case called integrationtest) and in config/factories.yml and config/settings.yml

[symfony-users] Method option in sfPropelRoute not accepted

2010-07-14 Thread HAUSa
I got a feeling that my method option is ignored: advertisement_show: url: /:sf_culture/advertisement/show/:id/:slug/* class: sfPropelRoute options: { model: Advertisement, type: object, method: adsasdgas } param: { module: advertisement, action: show } requirements:

Re: [symfony-users] Tutorial - Day 3 - Doctrine_Connection_Sqlite_Exception

2010-07-14 Thread Eno
On Tue, 13 Jul 2010, Eno wrote: Looks self-explanatory: there is jobeet_job table in your database. I meant, there is NO jobeet_job table. -- -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because

Re: [symfony-users] Method option in sfPropelRoute not accepted

2010-07-14 Thread Daniel Lohse
http://www.symfony-project.org/reference/1_4/en/10-Routing#chapter_10_sub_method_for_criteria :) On 14.07.2010, at 13:20, HAUSa wrote: I got a feeling that my method option is ignored: advertisement_show: url: /:sf_culture/advertisement/show/:id/:slug/* class: sfPropelRoute

[symfony-users] genUrl with object

2010-07-14 Thread HAUSa
I can't use genUrl like this: genUrl('advertisement_show', $Advertisement) where $Advertisement is the object for the sfObjectRoute The only way to do so is to call it like this: genUrl('advertisement_show?id=' . $Advertisement-getId() . 'slug=' . $Advertisement-getSlug()) But that, ofcourse,

Re: [symfony-users] genUrl with object

2010-07-14 Thread Gábor Fási
Is your route declared as sfPropelRoute/sfDoctrineRoute? On Wed, Jul 14, 2010 at 15:23, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com wrote: I can't use genUrl like this: genUrl('advertisement_show', $Advertisement) where $Advertisement is the object for the sfObjectRoute The only way to

[symfony-users] Re: Method option in sfPropelRoute not accepted

2010-07-14 Thread HAUSa
Doesn't work either, gets ignored as well On 14 jul, 13:37, Daniel Lohse annismcken...@googlemail.com wrote: http://www.symfony-project.org/reference/1_4/en/10-Routing#chapter_10... :) On 14.07.2010, at 13:20, HAUSa wrote: I got a feeling that my method option is ignored:

[symfony-users] Re: genUrl with object

2010-07-14 Thread HAUSa
Yes: advertisement_show: url: /:sf_culture/advertisement/show/:id/:slug/* class: sfPropelRoute options: { model: Advertisement, type: object } param: { module: advertisement, action: show } requirements: sf_method: [get, post] sf_culture: (?:en|es|de|fr|nl) On 14 jul,

[symfony-users] Re: Method option in sfPropelRoute not accepted

2010-07-14 Thread HAUSa
Ow now it does... hmmm weird. Thanks, it all works fine now! On 14 jul, 15:38, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com wrote: Doesn't work either, gets ignored as well On 14 jul, 13:37, Daniel Lohse annismcken...@googlemail.com wrote:

Re: [symfony-users] Re: Method option in sfPropelRoute not accepted

2010-07-14 Thread Daniel Lohse
Okay, answered too soon. Disregard my answer then. :) Glad it's working for you! Daniel Sent from my iPhone On Jul 14, 2010, at 3:41 PM, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com wrote: Ow now it does... hmmm weird. Thanks, it all works fine now! On 14 jul, 15:38, HAUSa

Re: [symfony-users] Re: Method option in sfPropelRoute not accepted

2010-07-14 Thread Daniel Lohse
Then it has to be some other problem because this is documented functionality and I have used this before. Hmm... Is the route you posted really executed/used when you type in a URL that should invoke it? Check the log for that or post it here. Daniel Sent from my iPhone On Jul 14, 2010,

[symfony-users] The More with symfony book Advanced Forms - Delete image

2010-07-14 Thread joericochuyt
regarding this tutorial: http://www.symfony-project.org/more-with-symfony/1_4/en/06-Advanced-Forms How to delete an uploaded image? -- 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] Custom name for sfWidgetFormDate

2010-07-14 Thread Cyland
Hi, It will be great if someone can show me howto or point me some resource how to do this. having a date field on transaction_detail table: dob on TransactionDetailForm is define as: 'dob' = new sfWidgetFormDate() on template page when i use ?php echo $form['dob']; ? it will generate with name

[symfony-users] trouble in url_for function (symfony 1.4.6)

2010-07-14 Thread maslivets
I've got error when using url_for helper (symfony 1.4.6) it was when i doing Day 14 from Practical symfony So, problem was in lib/helper/UrlHelper.php line 81 $params = array_merge(array('sf_route' = $routeName), is_object($params) ? array('sf_subject' = $params) : $params); for solving a

[symfony-users] Blameable and Symfony 1.4

2010-07-14 Thread Alex Potter
Has anyone successfully used the blameable extension with Symfony 1.4? My expectation was that it would work in the same way as the Timestampable behaviour. Was that an unwarranted assumption? Alex -- If you want to report a vulnerability issue on symfony, please send it to security at

Re: [symfony-users] Custom name for sfWidgetFormDate

2010-07-14 Thread Bernhard Schussek
Hi, Try $this-widgetSchema-setNameFormat('guest[%s]'); in the configure() method of your form.[1] Bernhard [1] http://www.symfony-project.org/forms/1_4/en/01-Form-Creation -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You

Re: [symfony-users] The More with symfony book Advanced Forms - Delete image

2010-07-14 Thread Daniel Lohse
Look at the block of PHP code just before the subheading Form Events. There you'll find that they set the with_delete option to false – set this to true and add the filename_delete validator with an sfValidatorPass class (you can look that up here:

[symfony-users] Re: Custom routing config handler broken ...

2010-07-14 Thread dantleech
managed to get this working in the end, not sure if it was by simply adding a rule for / or if it was fixed by making the compiled config exactly the same as the one generated by sfConfigRoutingHandler (i.e. with serialization). In either case it works now, so I'm happy. On Jul 14, 1:00 am, Dan

[symfony-users] pagination template without repeat - like in Zend framework !!

2010-07-14 Thread alexmm
I need on 10 pages a pagination. If I use method from tutorial: http://www.symfony-project.org/jobeet/1_4/Doctrine/en/07 I have to 10 times write the same code for: first, previous, next and last site with only other links. Is other way ? In Zend framework we can definied template for pagination:

[symfony-users] Doctrine Admin Generator

2010-07-14 Thread galileo
I have question how in admin generator add credentials to forms in edit or new for example i have new: display: Something: [ great ] fields: great: { credentials:[admin_credential]} It dosn't working this field is allways displayed any reason ? Symfony 1.4 with standard

[symfony-users] Re: Doctrine Admin Generator

2010-07-14 Thread pghoratiu
AFAIK you can not specify security settings in generator.yml only in config/security.yml There you have to specify the action name and the credentials required to access the action, see more info here: http://www.symfony-project.org/reference/1_4/en/08-Security gabriel On Jul 14, 11:58 pm,

[symfony-users] sfWebBrowser and sfCurlAdapter redirection support

2010-07-14 Thread julien.levass...@gmail.com
Hi , I use sfWebBrowser like this : $wbrowser = new sfWebBrowser(array(), 'sfCurlAdapter', array( 'followlocation' = false, )); So, as you can see I dont want to follow redirection. In curl adapteur the opt CURLOPT_FOLLOWLOCATION is set to false. The problem is line 219 from

[symfony-users] Re: Doctrine Admin Generator

2010-07-14 Thread galileo
You have misunderstand me :) i need display form fields only for those users that have needed credentials not the whole actions :) for you knowladge it is possible to define the actions credentials in the generator.yml :P it is generator: class: sfDoctrineGenerator param: model_class:

[symfony-users] How to use template.filter_parameters event to change CSRF error message?

2010-07-14 Thread Sid Bachtiar
Hi, I would like to change the CSRF error message and someone (Kris W) pointed out that I should use template.filter_parameters event. Could Kris or someone please give me more clues? Thanks, Sid -- Blue Horn Ltd - System Development http://bluehorn.co.nz -- If you want to report a

[symfony-users] [Symfony 2] Doctrine Commands not loaded

2010-07-14 Thread gordonslondon
I use the latest versions of Symfony 2 (PR3). I have all Doctrine's services loaded in the container but there's no commands in the application console. Any suggestion on how to show them ? many thanks -- If you want to report a vulnerability issue on symfony, please send it to security at

[symfony-users] Re: How to use template.filter_parameters event to change CSRF error message?

2010-07-14 Thread Sid Bachtiar
Never mind, I found the answer in http://www.symfony-project.org/more-with-symfony/1_4/en/14-Playing-with-Symfony-Config-Cache On Thu, Jul 15, 2010 at 10:40 AM, Sid Bachtiar sid.bacht...@gmail.com wrote: Hi, I would like to change the CSRF error message and someone (Kris W) pointed out that I

[symfony-users] Re: How to use template.filter_parameters event to change CSRF error message?

2010-07-14 Thread Sid Bachtiar
http://bluehorn.co.nz/2010/07/15/how-to-change-csrf-attack-message-in-symfony-1-2/ On Thu, Jul 15, 2010 at 11:25 AM, Sid Bachtiar sid.bacht...@gmail.com wrote: Never mind, I found the answer in http://www.symfony-project.org/more-with-symfony/1_4/en/14-Playing-with-Symfony-Config-Cache On

[symfony-users] I am trying to call return $ this- renderComponent ('onlineshop', 'homeShopsService', array ('service' = $ item [0])); from components.class.php

2010-07-14 Thread juanes31516
sorry, there is in English- I am trying to call return $ this- renderComponent ('onlineshop', 'homeShopsService', array ('service' = $ item [0])); from components.class.php getting the following error: OnlineShopComponents Call to undefined method: renderComponent. I can use renderComponent from

[symfony-users] Symfony2 / twig assets

2010-07-14 Thread Richard Bateman
Hi, I'm fairly new at Symfony, and since I'm working on a small project that I can afford to make changes to to keep up with a changing codebase, and I really want to leverage php5.3, I'm starting out with Symfony2. My problem is that I can't get assets to work with my twig templates; I put

Re: [symfony-users] pagination template without repeat - like in Zend framework !!

2010-07-14 Thread Bernhard Schussek
What about creating a _pagination.php partial with the shared code? Bernhard -- 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