[symfony-users] Re: About bug for the sfPropelActAsCommentableBehaviorPlugin 1.2.0

2009-07-18 Thread happy oliver
Hi, Xavier Lacot Thanks for your wonderful job. I hope you can add the AJAX feature as optional at the plugin at branch of 1.2.0 Thanks again. Oliver On Jul 18, 11:01 pm, happy oliver wrote: > Hi, Everyone, > > I spent some time to find this plugin namespace is not work properly. > > nee

[symfony-users] About bug for the sfPropelActAsCommentableBehaviorPlugin 1.2.0

2009-07-18 Thread happy oliver
Hi, Everyone, I spent some time to find this plugin namespace is not work properly. need to fix two part. 1. change the name for field _commentForm.php to 2. add the following code at sfcommentingForm.class.php $this->validatorSchema->setO

[symfony-users] Re: Unknown method Error for all module (modified)

2009-07-18 Thread seifolah Ghaderi
It works !! I start another project and no problem accrued. I think there were some problem in my schema.yml. On Sat, Jul 18, 2009 at 3:10 PM, seifolah Ghaderi wrote: > In my previous symfony project It already worked correctly. > ٌI think i forgot to set some configuration to disable propel. > B

[symfony-users] 1 Account with Multiple Logins?

2009-07-18 Thread mindpike
I'm curious if symfony's auth can do this out of the box. Basically I'm looking to have Users who have registered and created an account to be able in their own dashboard add other logins that shared with their account so they have the same dashboard maybe different privileges. These secondary us

[symfony-users] Re: sfGuard group membership

2009-07-18 Thread Gábor Fási
sfGuardSecurityUser has a method called hasGroup(), see http://trac.symfony-project.org/browser/plugins/sfGuardPlugin/branches/1.2/lib/user/sfGuardSecurityUser.class.php#L189 2009/7/18 Hofferek Attila : > > Hi all, > > is it possible to decide programmatically, if the actual user is member > of a

[symfony-users] Paranoid Behavior doesn't work

2009-07-18 Thread HAUSa
Hi all, I installed the Paranoid Behavior plugin by use of the SVN repository. Now, when I delete an object I can indeed see the deleted_at column being updated in the database. But the record is still being shown in my index action, and the show action is also still available! When I take a loo

[symfony-users] sfGuard group membership

2009-07-18 Thread Hofferek Attila
Hi all, is it possible to decide programmatically, if the actual user is member of a group or not? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony

[symfony-users] sfUser Attributes & Cache

2009-07-18 Thread st74
Hi guys, I have a strange issue regarding sfUser attributes and when caching is enabled. I set an attribute in an action It appears correctly in the template all times It appears correctly in the layout if it hasn't been set previously to the same value. It doesn't appear correctly in the layout

[symfony-users] Re: Hidden fields not going through after submit

2009-07-18 Thread Mo Mughrabi
Am not 100% sure of your need here, but as far as what i understood. You could use that inside your ArticleForm class. class ArticleForm extends className { // at the end add this, if($this->isNew()) { $this->form->setWidget('status',new sfWidgetFormInputHidden(array(),array('value'=>'pend

[symfony-users] Hidden fields not going through after submit

2009-07-18 Thread pingala
Hi All, Have got a little problem with hidden fields. I've created a couple of hidden fields in one of my creation form, I want those hidden fields only when I'm creating a new object not when editing (in that case the fields are unset), so I've added this code in the method executeNew of my act

[symfony-users] Re: Doctrine onDelete: SET NULL not working

2009-07-18 Thread Bernhard Schussek
Hi Tom, This bug has already been fixed in Doctrine, but is not available in version 1.0.10 yet. I added the patch as attachment. Bernhard -- Software Architect & Engineer Tel: +43 676 6036053 E-Mail: bernh...@schussek.at Blog: http://webmozarts.com --~--~-~--~~~---

[symfony-users] Re: Doctrine onDelete: SET NULL not working

2009-07-18 Thread Tom Haskins-Vaughan
I tried that. Didn't work either. I'll post the error I got on Monday. Рустам wrote: > try > > > onDelete: 'SET NULL' > > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group.

[symfony-users] loading choices from the database using sfWidgetFormSelectDoubleList

2009-07-18 Thread pingala
Hi All, I was about to use the above widget to have in my editing form a double select in order to facilitate the users in editing a single article. I've an article (like wiki) which can be linked to other articles in the db, I've three of this relationships. So in my data model I've three table

[symfony-users] Embed the sfGuardUser Profile in a frontend registration form

2009-07-18 Thread Tommaso D'Argenio
Hi, I'm adding a registration form to my frontend application and I finding difficult to understand how to integrate the sfGuardUser Profile in it. I've read a guide on how to do this with sfDoctrineGuardPlugin but the propel version is bit different so it won't work and I don't know how to do it

[symfony-users] Re: sfBrowser and confirm()

2009-07-18 Thread Sherif
Tom, Great post btw, thanks for sharing that's actually really helpful to know! Sherif On Jul 18, 6:42 am, Tom Haskins-Vaughan wrote: > Sorry guys, premature use of the mailing list. Should have RTFM! > > Anyway, this is what I did: > > $browser = $browser-> > > ... > >    call('/competitor/'.$

[symfony-users] Re: Unknown method Error for all module (modified)

2009-07-18 Thread seifolah Ghaderi
In my previous symfony project It already worked correctly. ٌI think i forgot to set some configuration to disable propel. But i disable propel. It's my ProjectConfiguration.class.php: public function setup() { // for compatibility / remove and enable only the plugins you want // $this->en

[symfony-users] Re: Unknown method Error for all module (modified)

2009-07-18 Thread Gábor Fási
That's ok but getDsc() and the others are propel accessors. In doctrine, you can access that fileld like $game_news->Dsc or $game_news["Dsc"], try one of these instead. On Sat, Jul 18, 2009 at 13:07, seifolah Ghaderi wrote: > I used Doctrine:build-all to genereate module and forms. > > On Sat, Ju

[symfony-users] Re: Unknown method Error for all module (modified)

2009-07-18 Thread seifolah Ghaderi
I used Doctrine:build-all to genereate module and forms. On Sat, Jul 18, 2009 at 1:58 PM, Gábor Fási wrote: > > You used Doctrine, but you wrote your templates Propel-style. Instead > of $game_news->getDsc() and the others use $game_news->Dsc > > On Sat, Jul 18, 2009 at 09:08, seifolah Ghaderi w

[symfony-users] Re: Unknown method Error for all module (modified)

2009-07-18 Thread Gábor Fási
You used Doctrine, but you wrote your templates Propel-style. Instead of $game_news->getDsc() and the others use $game_news->Dsc On Sat, Jul 18, 2009 at 09:08, seifolah Ghaderi wrote: > > Hi any body. > I start new project in symfony.But i receive an error for all my module when > i want to see l

[symfony-users] Re: File field looses content if other fields of form contain error

2009-07-18 Thread Sid Bachtiar
Check out this plugin http://www.symfony-project.org/plugins/pkPersistentFileUploadPlugin On Sat, Jul 18, 2009 at 9:18 PM, Garakkio wrote: > > IIRC, it's the default behaviour of forms. > It's not a symfony issue. > > On Jul 17, 6:19 pm, dagger wrote: >> please help me out here to find what m i

[symfony-users] Re: File field looses content if other fields of form contain error

2009-07-18 Thread Garakkio
IIRC, it's the default behaviour of forms. It's not a symfony issue. On Jul 17, 6:19 pm, dagger wrote: > please help me out here to find what m i doing wrong > > On Jul 17, 2:58 pm, dagger wrote: > > > I have a form user and i have embedded another form for images upload > > in it. > > > Now wh

[symfony-users] Unknown method Error for all module (modified)

2009-07-18 Thread seifolah Ghaderi
Hi any body. I start new project in symfony.But i receive an error for all my module when i want to see list of them(executeIndex template). For example it is my Error and My configure scema and .. *Error: Unknown method GameNews::getDsc at () in SF_ROOT_DIR\lib\vendor\symfony\lib\plugins\sfDoctr