[symfony-users] Re: sfForm - add more option

2008-12-15 Thread Bernhard Schussek
Hi Raphael, I will try to post a snippet on symfony-project.org. Bernhard --~--~-~--~~~---~--~~ 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@googlegroups.com

[symfony-users] facebook plugin

2008-12-15 Thread kevinkevin
HI I am testing the facebook plugin: http://www.symfony-project.org/plugins/sfFacebookPlatformPlugin I have put the route in and the keys, etc. {{{ all: enabled_modules:[default, ..., sfFacebook] }}} Define this route: {{{

[symfony-users] Re: Jobeet tutorial for Doctrine

2008-12-15 Thread Brandon Olivares
John, Great, thanks! I was just making sure it'd be continued. I'm glad it will be. Thanks, Brandon From: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] On Behalf Of Jonathan Wage Sent: Monday, December 15, 2008 6:45 PM To: symfony-users@googlegroups.com Subject

[symfony-users] Re: Jobeet tutorial for Doctrine

2008-12-15 Thread Jonathan Wage
I am working to keep it up to date with Propel. I just was out of town for a symfony training last week and I was gone over the weekend. I have committed up to day 12 and will commit the remaining days tomorrow. It will be slightly delayed behind Propel but I'll try my best to commit the Doctrine s

[symfony-users] Jobeet tutorial for Doctrine

2008-12-15 Thread Brandon Olivares
Hi, I've been following the Doctrine version of the Jobeet tutorial, but noticed that it just stopped after day 9. I see the Propel version for the last several days, but not the Doctrine version. I just wanted to ask if this version will still be posted, or if they're only doing the Propel

[symfony-users] Re: sfForm - add more option

2008-12-15 Thread Raphael Schumacher
Bernhard Your approach sounds very compelling. Especially as it allows saving the entire set of (new or existing) objects once and not before the user decides to save the entire session (or cancel, alternatively). But unfortunately I am not (yet) an advanced user of the form system in such a way

[symfony-users] symfony 1.2 - propel:generate-admin does not work

2008-12-15 Thread EddieG
Hi everybody, I'm just about to switch to 1.2, but I can't get my old admin modules to work. I always end up with: Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 24576 bytes) in ...\lib\model\media\om\xyzPeer.php on line 688 So I created a brand new admin module

[symfony-users] Re: sfForm - add more option

2008-12-15 Thread Bernhard Schussek
Hi, I recently developed such a functionality for a form in symfony 1.1 and unfortunately it was not easy at all. My use case was a form for accommodations with an embedded form for a special offer. With a button "Add more" the user can pop up more special offer forms to create more special offer

[symfony-users] Re: Doctrine admin-generator customization

2008-12-15 Thread Bernhard Schussek
Hi, Have you tried adding the method ->__toString() to your Category class that returns its name? That should do the job for you. (It could be that you need to replace "category_id" by "Category" in the YAML file as well, but I'm not sure on that). Bernhard On Mon, Dec 15, 2008 at 4:52 PM, roo

[symfony-users] Re: Doctrine schema help - can't define relations correctly (SQL ERRORS)

2008-12-15 Thread Bernhard Schussek
Hi, This error appears when the type a foreign key (in your case solveet_action.investigation_id) is not _completely equivalent_ to the type of the column it is pointing to (in your case solveet_investigation.id). As far as I know, the ID columns created by Doctrine are integer(11) fields by def

[symfony-users] Re: Symfony on shared hosting: a security reminder

2008-12-15 Thread Kiril Angov
Two hands, slicehost! On Mon, Dec 15, 2008 at 10:24 PM, Eno wrote: > > On Dec 15, 11:53 am, "Brandon Olivares" wrote: > >> That's quite interesting. Are you recommending a VPS solution if one can't >> afford a dedicated server? Are there any VPS hosts you recommend? > > Im using Linode (linode.

[symfony-users] Re: Symfony on shared hosting: a security reminder

2008-12-15 Thread Eno
On Dec 15, 11:53 am, "Brandon Olivares" wrote: > That's quite interesting. Are you recommending a VPS solution if one can't > afford a dedicated server? Are there any VPS hosts you recommend? Im using Linode (linode.com) for a Xen-based server. Another option is Slicehost (slicehost.com). Last

[symfony-users] Doctrine schema help - can't define relations correctly (SQL ERRORS)

2008-12-15 Thread fredlab
Hey, I am developing a small application to test 1.2. My schema is: Profile: columns: first_name: string(25) middle_name: string(25) last_name: string(25) email_address: string(255) title: string(25) Site: actAs: Timestampable: ~ columns: title: type: stri

[symfony-users] sfForm - add more option

2008-12-15 Thread Cinxgler Mariaca Minda
Hi, I'm wondering what's s the best way of implementing an 'add more' option. I mean, I've got a form where I need to add more than one email address per user, so the form displays an email address field and an 'add more' button which adds more fields. What's your advice for implementing this kin

[symfony-users] Re: Symfony on shared hosting: a security reminder

2008-12-15 Thread Pablo Godel
Hi Brandon, please take a look at our offering: http://www.servergrove.com/vps Pablo On Mon, Dec 15, 2008 at 11:53 AM, Brandon Olivares wrote: > > Tom, > > That's quite interesting. Are you recommending a VPS solution if one can't > afford a dedicated server? Are there any VPS hosts you recom

[symfony-users] Re: Symfony on shared hosting: a security reminder

2008-12-15 Thread Pablo Godel
This is really a good point. We usually encourage power users (symfony users would fall in this category) to go the VPS (or virtual hosting as you call it ) route. Pablo On Mon, Dec 15, 2008 at 11:38 AM, Tom Boutell wrote: > > I see the topic of Symfony in shared hosting has come up again. > >

[symfony-users] Re: Symfony on shared hosting: a security reminder

2008-12-15 Thread Brandon Olivares
Tom, That's quite interesting. Are you recommending a VPS solution if one can't afford a dedicated server? Are there any VPS hosts you recommend? Thanks, Brandon -Original Message- From: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] On Behalf Of Tom Boutell Sent

[symfony-users] Re: Symfony on shared hosting: a security reminder

2008-12-15 Thread Lee Bolding
Thanks for that Tom, I hadn't even considered that before now! On 15 Dec 2008, at 16:38, Tom Boutell wrote: > > I see the topic of Symfony in shared hosting has come up again. > > If the "shared hosting" service you are using allows you to see the > files of other customers when permissions are

[symfony-users] Re: Symfony on shared hosting: a security reminder

2008-12-15 Thread Tom Boutell
I see the topic of Symfony in shared hosting has come up again. If the "shared hosting" service you are using allows you to see the files of other customers when permissions are not carefully set, you MUST NOT run the stock, out-of-the-box Symfony distribution in that environment. This is because

[symfony-users] Doctrine admin-generator customization

2008-12-15 Thread root
Hi, all! I have flowing schema.yml: Category: tableName: categories columns: id: type: integer(4) notnull: 'true' primary: 'true' autoincrement: 'true' name: string - Articles: tableName: articles actAs: Timestampable: created: name: c

[symfony-users] Re: sfDoctrinePlugin and sfDoctrineGuardPlugin error

2008-12-15 Thread Lee Bolding
meh, I meant to type "...was previously included with an *include*" damn, these Monday fingers of mine. On 15 Dec 2008, at 14:02, Lee Bolding wrote: > I've just checked another project of mine that's using both these > plugins, without any problem - I see that previously, the > sfDoctrineBaseTa

[symfony-users] Re: sfDoctrinePlugin and sfDoctrineGuardPlugin error

2008-12-15 Thread Lee Bolding
Heh, that seems to be what it was... I renamed sfDoctrineGuardPlugin to sfXDoctrineGuardPlugin and it worked... sfDoctrineGuardPlugin is lexically lower than sfDoctrinePlugin (wasn't the plugin previously named sfGuardDoctrinePlugin?) I've just checked another project of mine that's using bo

[symfony-users] Re: sfDoctrinePlugin and sfDoctrineGuardPlugin error

2008-12-15 Thread Lee Bolding
Thanks, but that didn't help :-/ I still get the same error : PHP Fatal error: Class 'sfDoctrineBaseTask' not found in /Users/sites/ register/plugins/sfDoctrineGuardPlugin/lib/task/ sfGuardCreateAdminTask.class.php on line 19 This isn't due to something crazy like the autoloading order is it

[symfony-users] Re: New Forms: Dynamic Default Value

2008-12-15 Thread Brandon Olivares
Hi, Check the setDefault method of the form. You can set it from within an action. Brandon -Original Message- From: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] On Behalf Of juro Sent: Monday, December 15, 2008 12:56 AM To: symfony users Subject: [symfony-users

[symfony-users] Symfony and Extjs

2008-12-15 Thread Dev_web
Hi ! I want to use Symfony with extjs without plugin. I have developped a simple example and i would like to integrate this in my Symfony project. I have 3 files : example.css example.js example.html ... I use Symfony 1.2 and i would like to apply Extjs with my CRUD module. But i don't know to in

[symfony-users] Re: Using Propel on shared hosting

2008-12-15 Thread Ward Loockx
Lee Bolding schreef: > Why are you building your models on your server? > > Build them locally, then upload the completed project via scp, svn > checkout, rsync or if you absolutely must, ftp. > > On 14 Dec 2008, at 18:24, Ward Loockx wrote: > > >> Hello, >> >> Is there a way to build my prop

[symfony-users] Re: New Routing: sf_format

2008-12-15 Thread Romain
I think that if you specify the format in the routing parameter : csv_export: url: /toto.csv param: { module: foo, action: bar, sf_format: csv } Symfony will automatically remove the layout and the web debug. On Dec 15, 7:33 am, juro wrote: > Thank you to the both of you - works fine. >