[symfony-users] Re: sfGuard at application environment level

2009-10-22 Thread pcummins
Did you follow all of the steps in the install guide? Doctrine version is here: http://www.symfony-project.org/plugins/sfDoctrineGuardPlugin Lots of people miss the part about changing the myUser class, and of course don't forget to 'symfony cc' On Oct 21, 3:02 pm, Martin Settle wrote: > Sorr

[symfony-users] Re: Call For Information Re-organization [opinions needed]

2009-09-25 Thread pcummins
+1 for listing array options for function arguments! On Sep 25, 5:14 am, Romain de Wolff wrote: > Comments is a good idea! > Oh and do you knowhttp://www.gotapi.com? The symfony section allows you to > browse the API quickly. > > On Fri, Sep 25, 2009 at 8:50 AM, Gareth McCumskey wrote: > > > > >

[symfony-users] Framework based PHP vs high level programming languages

2009-09-21 Thread pcummins
With the introduction of PHP frameworks and widespread use of MVC pattern in web development, has anyone ever wondered why we aren't simply writing our web applications in C++, and using 'templates' files for view delivery? It seems like a pretty interesting cycle. Internet begins High level lan

[symfony-users] Re: PHP mail function not working

2009-09-17 Thread pcummins
Deepak, I shared your gripes. Swift mailer does not support TLS yet, which is required for many exchange servers. PHPMailer does On Sep 17, 8:46 am, Eno wrote: > On Thu, 17 Sep 2009, DEEPAK BHATIA wrote: > > How do we set "Fully Qualified Domain Name" the /etc/hosts file. > > Have you tried

[symfony-users] Put message from forward404() into template

2009-09-13 Thread pcummins
How do I get the message from a call to $this->forward404() into a customized error404Success.php template? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to

[symfony-users] Re: sf_guard error: Fatal error: Allowed memory size of 16777216 bytes exhausted

2009-09-12 Thread pcummins
It sounds like you need the date helper in your template. On Sep 12, 3:27 am, Jake Barnes wrote: > The previous error has vancished. Now the view partly renders but dies > with this error: > > Fatal error: Call to undefined function format_date() in /home/ > theesociety/public_html/cache/test

[symfony-users] Re: help with customizing sfguard

2009-09-02 Thread pcummins
You have a typo in your template. $applicatonName is missing an i. On Sep 2, 12:42 am, jarthel wrote: > also, there's a topic about "Customize the sfGuardUser model". It > seems I can make changes to the schema.yml for "user profiles". Does > that mean I need to also make appropriate changes to

[symfony-users] Re: Many to Many relationships, how to delete them?

2009-08-31 Thread pcummins
Thomas, If you have defined the many to many relationship in your schema.yml between the 1:M tables the admin generator will automatically adjust the doSave methods of your Base*Form.class.php files to handle the relations. Heres example of schema and resulting code esulting code. (BTW, this is

[symfony-users] Re: nested forms

2009-07-31 Thread pcummins
Mirfan, It doesn't appear the core symfomy/doctrine team hasn't provided a standardized way (or definitive example) for working 1:m forms in doctrine yet (although all the parts are in place for symfony users to build these types of forms) Unfortunately this means that there are number of method

[symfony-users] Looking for a simple doctrine nested form example symfony 1.2 branch

2009-07-27 Thread pcummins
Can anyone point me to a simple on- to-many Doctrine nested form example? The simplest implementation I've seen that works on 'create' and 'edit' is this one: http://redotheoffice.com/?p=4 and it seems a little dated. I'm suprised to see the need to: a) create a temporary form. couldn't we just

[symfony-users] Re: Deployment Strategies

2009-07-10 Thread pcummins
There hasn't been much talk about the database migrations here. Are most people using the doctrine migrations functionality? I do really like this tool for my small projects, but on larger applications with databases from 10 - 100 GB of data, I'm much happier with the performance of a direct DB

[symfony-users] Re: sfDoctrineApplyPlugin and Swift4.0.3

2009-07-06 Thread pcummins
I tried implementing the new version, and found it was incompatible. I also needed STARTTLS authentication which is not in the swiftlibrary so I had to convert to the PHPMailer library. It was pretty easy. I only needed to: 1. overwrite two sf Apply methods by creating my own modules/sfApply/ a

[symfony-users] Re: hiding a field in admin generator by a credential?

2009-06-01 Thread pcummins
It seems that this functionality is missing in the 1.2 branch, but it can be fixed with a small patch: http://trac.symfony-project.org/ticket/5832 As posted in the ticket, I don't believe the field level credentials are respected in the list views. -pat On Apr 28, 5:07 am, axe wrote: > Hi, >

[symfony-users] Re: Many sites using the same application

2009-05-27 Thread pcummins
As Eran said... The ysfDimensions plugin will do exactly what you need, and it's very easy to use. http://www.symfony-project.org/plugins/ysfDimensionsPlugin On May 27, 12:25 pm, Richtermeister wrote: > Hey AJ, > > I see the sfMultisiteGuardPlugin in the repository, but it seems > empty.. is i

[symfony-users] sfDoctrineGuard with doctrine1.1

2009-05-22 Thread pcummins
Does anyone have sfDoctrineGuard working with doctrine 1.1 (in symfony 1.2)? The many to many relations are not saving anywhere. There is a ticket, relating to the same issue http://trac.symfony-project.org/ticket/5667 with saving many to many relations in Doctrine however the posted fix does n

[symfony-users] Re: symfony + doctrine + MS SQL Server

2009-05-04 Thread pcummins
Todd, Can you post an example of the PDO/dblib DSN you are using in database.yml? Thanks! -pat On Mar 18, 6:17 pm, "Todd Mcneill" wrote: > Actually, I was able to resolve the issue for pdo_dblib, but not for ODBC.   > There are two issues, both with Doctrine, not Symfony.  One is already fixe