[symfony-users] Re: Component- Templating

2009-09-22 Thread Simone Fumagalli
The templating component will be used in Symfony 2 for the view. It's not used by symfony 1. Too bad :( It's not possible to plug it somehow in 1.3 so that I can easily port my templates to 2.0 in the future ? -- Simone --~--~-~--~~~---~--~~ You received this

[symfony-users] Re: newbie question - routing and actions

2009-09-22 Thread erikms
Thank you for your quick replies, Eno. Unfortunately, I must have missed a turn somewhere. my setup is this (project s called try :): apache: Alias /try /home/sfprojects/try/web Directory /home/sfprojects/try AllowOverride All Allow from All /Directory as in the tutorial. I unpack

[symfony-users] Re: Component- Templating

2009-09-22 Thread Fabien Potencier
That's doable for sure. -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.org | fabien.potencier.org Tél: +33 1 40 99 80 80 Simone Fumagalli wrote: The templating component will be used in Symfony 2 for the view. It's not used by symfony 1. Too bad

[symfony-users] Re: Is Doctrine (database) Timer OK ?

2009-09-22 Thread theredled
Does anybody *NOT* have this problem, then ? :D On Sep 21, 6:36 pm, theredled dev2.bubbleb...@gmail.com wrote: Hi all, I have a page with 6 queries. Doctrine (database) Timer in the Debug Toolbar tells me those queries take 0.06 ms. Strangely fast... So I measured them myself and found

[symfony-users] Re: Is Doctrine (database) Timer OK ?

2009-09-22 Thread Fabian Lange
I don't have it, because I use Propel? Was this the intent of your repost? Fabian --~--~-~--~~~---~--~~ 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: Application or module

2009-09-22 Thread Magnus B
So I went with the module scenario, using only one application. The first module will be Billing. First model in there is Customer. Second model is Invoice. How do I create a Billing module with Customer and Invoice CRUDs? Seems to me that I would have to create a Customer module and an Invoice

[symfony-users] Charset error in I18N

2009-09-22 Thread Sid Ferreira
Hi guys!Im having a problem here and don't know what's wrong cause it's a new one :p http://argosauto.emaking.reikan.com.br/admin/backend_dev.php Im using sfAdminDash, that uses I18N. As you might see, there are some '?' characters (Usu?rio). Usually it happens when a UTF8 data is rendered as

[symfony-users] Re: Charset error in I18N

2009-09-22 Thread Sid Ferreira
Yes, this doesn't come from the database, but the Usuário that appears Usu?rio comes... On Tue, Sep 22, 2009 at 08:59, Alexandru-Emil Lupu gang.al...@gmail.comwrote: here i am able to see Welcome to Argos Automação alecs On Tue, Sep 22, 2009 at 12:35 PM, Sid Ferreira sid@gmail.com

[symfony-users] Symfony project debian package

2009-09-22 Thread Sylvain Houdusse
Hello all, I would like to know if someone has already package a symfony project for debian. The goal is to easily deploy my web application with a simple apt-get install If someone did it, what was your package method? Did you re-create your symfony project in your rules file ... Thanks in

[symfony-users] Re: Calendar plugin

2009-09-22 Thread Rajesh Kodali
No.. we are creating a social networking portal which has calendar as the major component. Where all the activities should get updated to individuals calendars and the calendars are to be shared to public. On Thu, Sep 17, 2009 at 10:13 PM, DEEPAK BHATIA toreachdee...@gmail.comwrote: Hi Rajesh,

[symfony-users] Propel query

2009-09-22 Thread korfos
Hello all, I want to create the following query using propel: SELECT acticles.title, count(comments.id) FROM articles LEFT JOIN comments ON comments.article_id = articles.id group by articles.title Is this posible? Regards, Radu. --~--~-~--~~~---~--~~ You

[symfony-users] Re: Propel query

2009-09-22 Thread Alexandru-Emil Lupu
Yes... i have no time to give you the code . But mainly yes... $c = new Criteria(); $c-addJoin(ArticlesPeer::ID,CommentsPeer::ARTICLE_ID,Criteria::LEFT_JOIN); $c-addSelectColumn(ArticlesPeer::TITLE); $c-addAsColumn(COUNT(.CommentsPeer::ID.)); $c-addGroupBy(ArticlesPeer::TITLE); you'll have to

[symfony-users] Re: Symfony project debian package

2009-09-22 Thread Alexandru-Emil Lupu
there is available a symfony 1.0 framework package in Ubuntu directory ... to create applications is better to symfony init:project Alecs On Tue, Sep 22, 2009 at 3:54 PM, Sylvain Houdusse shoudu...@gmail.comwrote: Hello all, I would like to know if someone has already package a symfony

[symfony-users] Re: Symfony project debian package

2009-09-22 Thread Sylvain Houdusse
Thanks Alecs but I didn't express myself well I'dont want to package the framework, I only want to package my project (my code)... And I wonder if the better practice is to copy all the code, symfony code generated include. On 22 sep, 17:01, Alexandru-Emil Lupu gang.al...@gmail.com wrote: there

[symfony-users] Backend Ajax interface to insert related database entries

2009-09-22 Thread Mihai Rusoaie
Hello! I am using 3 tables/models: company, contact_persons, company_contact_persons. - company contains companies - contact_persons contains people and their contact details (phone, email, etc) - company_contact_persons relates a company to one or several contact persons Is it possible, in

[symfony-users] Re: Symfony project debian package

2009-09-22 Thread Eno
On Tue, 22 Sep 2009, Sylvain Houdusse wrote: I would like to know if someone has already package a symfony project for debian. The goal is to easily deploy my web application with a simple apt-get install If someone did it, what was your package method? Did you re-create your symfony

[symfony-users] What is the right way to load fixtures in a functional test?

2009-09-22 Thread Tom Boutell
I'm using functional tests in my Doctrine-based project. One of the first steps is generally to load the fixtures data. We've been using a loadData method like this in our functional test class: public function loadData() { Doctrine::loadData(sfConfig::get('sf_data_dir').'/fixtures');

[symfony-users] Re: What is the right way to load fixtures in a functional test?

2009-09-22 Thread Thomas Rabaix
Hello, We had the same problem and we end up by calling ./symfony doctrine:data-load --dir=test/fixtures frontend The annoying thing is that the symfony::data-load task called the Doctrine::loadData method... so you might expect the same result when calling it from your own task. Now, I think

[symfony-users] Re: Charset error in I18N

2009-09-22 Thread Sid Ferreira
Just noticed that it was disabled...Check now again: http://argosauto.emaking.reikan.com.br/admin/ On Tue, Sep 22, 2009 at 09:09, Sid Ferreira sid@gmail.com wrote: Yes, this doesn't come from the database, but the Usuário that appears Usu?rio comes... On Tue, Sep 22, 2009 at 08:59,

[symfony-users] Re: Multiple objects' forms on one page

2009-09-22 Thread Dennis
No 'bytes' huh? I bought a lot of books on symfony/doctrine, guess I'll look at those. PS, DON'T use 'char(acter)' fields in a Doctrine/Postgresql combination. The fields stay zero padded and when a field gets edited, it ends up too long, even if the original version, unedited, is saved.

[symfony-users] symfony 1.3-DEV Warning: preg_match()??

2009-09-22 Thread layanto
Received this warning message when in dev environment. Any ideas?? Warning: preg_match() [function.preg-match]: Compilation failed: unmatched parentheses at offset 21 in \Symfony1.3\lib\debug \sfWebDebugPanelView.class.php on line 288 --~--~-~--~~~---~--~~ You

[symfony-users] symfony 1.3-DEV generating sf_guard_user_profileForm.class.php

2009-09-22 Thread layanto
Using latest checkout of 1.3-DEV On generating doctrine classes, two classes were generated for Guard User Profile sf_guard_user_profileForm.class.php sfGuardUserProfileForm.class.php I believe sf_guard_user_profileForm.class.php is incorrectly generated, but not sure where the error originates.

[symfony-users] Re: autocomplete in symfony and doctrine

2009-09-22 Thread Abraham Montilla
i still have the same problem Romain, i desisted. 2009/9/22 Romain de Wolff rdewo...@gmail.com Hello, I'm currently facing the same problem. Does anyone have a solution, an idea or even better, a solution to propose? Thanks, Romain On 11 sep, 00:38, Abraham amontil...@gmail.com

[symfony-users] Re: symfony 1.3-DEV Warning: preg_match()??

2009-09-22 Thread Fabian Lange
Might be a typo in a recent commit. Do not forget: There is no guarantee that the version will work while it is under development. If you cannot deal with such things you should use symfony 1.2 Fabian On Wed, Sep 23, 2009 at 2:54 AM, layanto laya...@yahoo.com wrote: Received this warning

[symfony-users] Re: symfony 1.3-DEV Warning: preg_match()??

2009-09-22 Thread Fabien Potencier
fixed -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.org | fabien.potencier.org Tél: +33 1 40 99 80 80 layanto wrote: Received this warning message when in dev environment. Any ideas?? Warning: preg_match() [function.preg-match]: Compilation

[symfony-users] Re: Multiple objects' forms on one page

2009-09-22 Thread Richtermeister
Hey Dennis, you should be able to embed related forms in each other. Sounds like the userform should be your starting point, and in the configure function do something like: foreach($this - object - getAddresses() as $key = $address) { $this - embedForm(form_.$key, new AddressForm($address);