[symfony-users] Re: best way to implement ownership?

2010-10-21 Thread webdev_aw_ucsb
I am in the process of using as an example to achieve something similar: http://stackoverflow.com/questions/3801973/php-symfony-provide-credentials-only-to-owner-of-object Some of my modules have urls with 2 id's in the actions (eg, id and schedule_id) because in part I am creating a scheduling

[symfony-users] Re: HTTPS/SSL standard in 1.4

2010-10-15 Thread webdev_aw_ucsb
Well I wouldn't say there's a standard regarding how to do SSL in Symfony -- just as you have choices in ORM usage. In general there are various plugins 1 could use. I am using this plugin in Symfony 1.4 (the author said he'd bundle it as an official plugin -- but I dont think he got around to

[symfony-users] Re: PDO Connection Error

2010-10-08 Thread webdev_aw_ucsb
MAMP is self contained -- nothing you do to OSX will change it's settings. That said -- when you create projects in Symfony the symfony executable in your webapp under /vendor/data/bin/symfony will look for: /usr/bin/env php which is NOT MAMPs copy of PHP found at /Applications/MAMP/bin/php5/

[symfony-users] Re: Date Problem : last day of the month

2010-09-30 Thread webdev_aw_ucsb
Hi -- I may have to do something similar so I googled around abit. I believe sfWidgetFormJQueryDate() is just a jQuery UI DatePIcker instance. What you want to do is try to pass additional configuration values into it to set use the beforeShowDate property. An example of what you want to do is

[symfony-users] Re: Doctrine: Can't figure how to execute this: UPDATE user SET points = LEAST(200,300)

2010-09-30 Thread webdev_aw_ucsb
I'm new to symfony myself ... but I dont think that Doctrine understands the Mysql specific function LEAST() in this case. Eg this listing for SELECT/WHERE clauses doesn't list it: http://www.doctrine-project.org/documentation/manual/2_0/en/dql-doctrine-query-language#dqlfn You can always

[symfony-users] Re: sfDoctrineGuardUser custom LDAP authenication funkyness

2010-05-10 Thread webdev_aw_ucsb
think setting that app.yml fixed it. all:   sf_guard_plugin:     success_signin_url: @homepage # the plugin use the referer as default     success_signout_url: @homepage         # the plugin use the referer as default On 6 May 2010 18:55, webdev_aw_ucsb david.gu...@gmail.com wrote

[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

[symfony-users] Re: sfAdminThemeJrollerPlugin is not ie compatible?

2010-04-27 Thread webdev_aw_ucsb
The symfony integration is compatible with any browser (the PHP). I'm using sfAdminThemeJrollerPlugin and I've noticed with Safari that some of the submit buttons/images are offset improperly as well. The problem(s) you're referring to are CSS related -- so far as I know theme theme(s) available

[symfony-users] Re: sfWidgetFormDoctrineChoice problem

2010-04-27 Thread webdev_aw_ucsb
'profileid' = new sfWidgetFormDoctrineChoice(array('model' = $this-getRelatedModelName('Profile'), 'add_empty' = false)), You can change the above code to include a method to call to display the column you want. For example: ?php, #method: The method to use to display object values

[symfony-users] Re: doctrine schema for admin_check_list ?

2010-04-13 Thread webdev_aw_ucsb
Greeting again -- I was able to get the following schema to work for an M:M relationship between people and days-of-the-week (A person can have many days of the week) ... Can a doctrine_admin_check_list be used in the Edit admin-generator to manage this relationship? # Schema.yml --- Person:

[symfony-users] doctrine schema for admin_check_list ?

2010-04-07 Thread webdev_aw_ucsb
Greetings all -- I'm stumbling a bit here. I want to have checkboxes for the user to mark N days of the week to schedule an event in the AdminGenerator ... I have the following Schedule schema. Currently for a frontend form using sfWidgetFormChoice(Doctrine::getTable('Day')-findAll())