[symfony-users] Re: sfForkedDoctrineApplyPlugin, several profiles, inheritance, sluggable behavior

2011-06-22 Thread Grzegorz Śliwiński
So... It seems about right. Is sluggable field in the table in database? On Jun 21, 6:53 pm, lucia aicul...@gmail.com wrote: Hi, thanks for your time, I have this: //Basemyprofile1 $timestampable0 = new Doctrine_Template_Timestampable();         $sluggable0 = new

[symfony-users] Re: sfForkedDoctrineApplyPlugin, several profiles, inheritance, sluggable behavior

2011-06-21 Thread Grzegorz Śliwiński
hmmm... could you check your Basemyprofile1 or Basemyprofile2 classes if they include your behaviours? On Jun 20, 2:13 pm, lucia aicul...@gmail.com wrote: Hi, I followed the readme of the plugin, the problem is that when I rebuild model I lose behaviors, I have this model: myprofile1:  

[symfony-users] Re: Multiple kind of profile with sfGuard

2011-06-02 Thread Grzegorz Śliwiński
use inheritance for the same kind of pb ?? 2011/6/1 Grzegorz Śliwiński fi...@fizyk.net.pl Check out those two links about inheritance in Doctrine: http://www.symfony-project.org/more-with-symfony/1_4/en/09-Doctrine-F... http://www.doctrine-project.org/projects/orm/1.2/docs/manual/inherita

[symfony-users] Re: Multiple kind of profile with sfGuard

2011-06-01 Thread Grzegorz Śliwiński
Check out those two links about inheritance in Doctrine: http://www.symfony-project.org/more-with-symfony/1_4/en/09-Doctrine-Form-Inheritance http://www.doctrine-project.org/projects/orm/1.2/docs/manual/inheritance/en#inheritance On Jun 1, 9:46 am, Olivier Revollat revol...@gmail.com wrote:

[symfony-users] Re: The form and filter that belong to a plugin-model are created in project /lib by build

2011-03-15 Thread Grzegorz Śliwiński
What plugin? What are the exact paths to those forms and filters? are they like that: lib/form/doctrine/plugin/ ? On Mar 15, 9:51 am, Ariaan Bruinsma ariaanbruin...@gmail.com wrote: As the title suggests: The filter and the form which belong to a model are created on build. Normally this

[symfony-users] Re: How to set up a situation where a comments table is used for multiple entities

2011-02-26 Thread Grzegorz Śliwiński
Michal's idea is one way, although personally wouldn't add that many fk's into Comment model. Each new model that will get commented, will result in modifying Comment table. If it'll grow up, ALTER TABLE might take long time. Second idea is to create association tables for each commented model

[symfony-users] Re: Overriding the Stylesheet of a Plugin's Forms?

2011-02-20 Thread Grzegorz Śliwiński
Hi Matt, you'll have to either override the getStylesheet method, or look at the line here: https://github.com/fizyk/sfForkedDoctrineApplyPlugin/blob/master/modules/sfApply/templates/applySuccess.php#L2 Just override that template in your app's sfApply/templates deleting that line On 19 Lut,

[symfony-users] Re: How to let my users edit their password/profile ? [sfDoctrineGuardPlugin]

2011-02-07 Thread Grzegorz Śliwiński
Yes, original does require Zend mail, but that's why I created fork, which uses Swift mailer, which is included in symfony On Feb 7, 11:51 am, Manu emmanuel.parf...@gmail.com wrote: I checked out the plugin, it seems a little complicated; the edit user page sends an email using Zend mail...

[symfony-users] Re: How to let my users edit their password/profile ? [sfDoctrineGuardPlugin]

2011-02-01 Thread Grzegorz Śliwiński
There are actually two plugins that implements this as well as registration: http://www.symfony-project.org/plugins/sfDoctrineApplyPlugin (original) http://www.symfony-project.org/plugins/sfForkedDoctrineApplyPlugin (fork of the above) And if you don't want to use them, you can always take a

[symfony-users] Re: [symfony2] InvalidArgumentException: [ERROR 1871] after creating project through symfony-bootstrap

2011-01-16 Thread Grzegorz Śliwiński
Thanks a lot, It worked. On 15 Sty, 20:02, Christophe COEVOET s...@notk.org wrote: Le 15/01/2011 19:54, Grzegorz Śliwiński a écrit : I've recently started to look into symfony2, and decided after checking sandbox version, that if anything helps me to learn symfony2, it would be clean

[symfony-users] [symfony2] InvalidArgumentException: [ERROR 1871] after creating project through symfony-bootstrap

2011-01-15 Thread Grzegorz Śliwiński
I've recently started to look into symfony2, and decided after checking sandbox version, that if anything helps me to learn symfony2, it would be clean project. Finally found information about symfony bootstrap, that generates clean project skeleton, in similar way as it worked in symfony1.4. But

[symfony-users] Re: Issue with sfForkedDoctrineApplyPlugin

2011-01-15 Thread Grzegorz Śliwiński
Finally checked that and I haven't had the problem with sending emails as you described On 12 Sty, 13:51, Grzegorz Śliwiński fi...@fizyk.net.pl wrote: I'll check it out in the evening, but if it is the problem, I suppose it'll be either with swift mailer, or with gmail/yahoo On Jan 12, 7

[symfony-users] Re: Issue with sfForkedDoctrineApplyPlugin

2011-01-12 Thread Grzegorz Śliwiński
. But it goes with other ids. 2011/1/11 Grzegorz Śliwiński fi...@fizyk.net.pl You mean same from email, like the gmail id? On Jan 11, 1:19 pm, sinu govind sinugov...@gmail.com wrote: Hi all, Finally I got the sfforkeddoctrineapplyplugin working fine and I have got the email. But still I am

[symfony-users] Re: Issue with sfForkedDoctrineApplyPlugin

2011-01-11 Thread Grzegorz Śliwiński
You mean same from email, like the gmail id? On Jan 11, 1:19 pm, sinu govind sinugov...@gmail.com wrote: Hi all, Finally I got the sfforkeddoctrineapplyplugin working fine and I have got the email. But still I am facing few issues. If in my app.xaml file, I give sfForkedApplyPlugin:        

[symfony-users] Re: Issue with sfForkedDoctrineApplyPlugin

2011-01-10 Thread Grzegorz Śliwiński
Could you check indentation in your app.yml? Also, what does the developer console says about defined user settings? I think it should be defined there. On Jan 10, 1:29 pm, sinu govind sinugov...@gmail.com wrote: Hi, I have the following defined in my app.yaml sfApplyPlugin:   from:    

[symfony-users] Re: Removing myself from plugin contributors ?

2011-01-05 Thread Grzegorz Śliwiński
Isn't that set in plugin.xml file? On Jan 4, 2:55 pm, Loïc Vernet vernet.l...@gmail.com wrote: Hi, How to remove myself from the list of the contributors of a plugin ? We should have a cross to do this in the admin tab. (Like when you are lead of the plugin) ++ COil -- If you want to

[symfony-users] Re: sfDoctrineGuard user profile one-to-one relationships

2010-10-23 Thread Grzegorz Śliwiński
You can extend user model with your own attributes to this model in your own schema.yml file. You can even overwrite user's native fields definition in that matter. It's completely valid. And refClass will always produce Collection as it' the many-to-many relation definition. If it's not

[symfony-users] Re: column_aggregation.. change type programatically?

2010-09-29 Thread Grzegorz Śliwiński
Try running an update query against that row. It should be possible to change type that way. On 28 Wrz, 17:31, Gustavo Adrian comfortablynum...@gmail.com wrote: Hi there, Is there a way to change an object's type programatically? I mean, I have the type field on my form so I can change the

[symfony-users] Re: enter comments on a blog in the same page

2010-09-29 Thread Grzegorz Śliwiński
have you tried to use plugins for that? If you'll create form object in an article action, and you'll try to display that form in article's template, it should be possible to include form. On 28 Wrz, 20:30, eduard eduard.sa...@gmail.com wrote: Hy,      I'm trying to do this: I have a article,

[symfony-users] Re: Working with Symfony and Git (collaboration)

2010-09-13 Thread Grzegorz Śliwiński
It's not matter of git, but rather the matter of your development strategy. If your apps are supposed to work within one project, then one repo is what you need, if these apps are in fact three different projects, then second idea is right. You can always have different branches for each

[symfony-users] Re: Trying to set sfGuardUser objects after applying

2010-08-29 Thread Grzegorz Śliwiński
two objects are created, because you're trying to do this before you save Profile. You should either do that after $form-save(), or overwrite sfApply form with your own, where you'll pass the email to user object along with username and password. To speak by example:

[symfony-users] Re: How to validate values from $GLOBALS[HTTP_RAW_POST_DATA]

2010-08-04 Thread Grzegorz Śliwiński
that can also transmit files just as if someone had uploaded a file through a form. 2010/8/3 Grzegorz Śliwiński fi...@fizyk.net.pl -- Gareth McCumskeyhttp://garethmccumskey.blogspot.com twitter: @garethmcc -- If you want to report a vulnerability issue on symfony, please send

[symfony-users] How to validate values from $GLOBALS[HTTP_RAW_POST_DATA]

2010-08-03 Thread Grzegorz Śliwiński
Hello, I have to accept image sent through flash/flex app by post. Since flash/flex can't send different data types through post request, flash/ flex developer ask if I can accept image through $GLOBALS[HTTP_RAW_POST_DATA]. So, my question is if I can retrieve from $GLOBALS[HTTP_RAW_POST_DATA]

[symfony-users] Re: latest verion of sfForkedDoctrineApplyPlugin is broken

2010-07-30 Thread Grzegorz Śliwiński
Tristan, You don't have the relation already defined, do you? But you're probably using sfDoctrineGuard 5.0.0, right? redeclare id field in your schema.yml, or use for_sfDoctrineGuard5 branch from repo. On 29 Lip, 22:04, Tristan tristan.bessou...@gmail.com wrote: Ok, it seems that i have two

[symfony-users] Re: latest verion of sfForkedDoctrineApplyPlugin is broken

2010-07-28 Thread Grzegorz Śliwiński
Well... I did, twice, once developing it on my dev project, and second time upgrading my live project :) Do you have sfGuardUserProfile declaration in your project's schema.yml? Do you extend the default declaration in any way? Like additional columns, relations? Also, you might get problems with

[symfony-users] Re: latest verion of sfForkedDoctrineApplyPlugin is broken

2010-07-27 Thread Grzegorz Śliwiński
How about forms and filters? are these still there? Have you removed or cut sfGuardUserProfile declaration from schema.yml? On 27 Lip, 19:22, Tristan tristan.bessou...@gmail.com wrote: Sorry, i forgot to tell that i removed manually all the /lib/model/ doctrine/sfForkedDoctrineApplyPlugin/