[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 AllowOverride All Allow from All as in the tutorial. I unpack symfony (tried both version 1.2.8 and 1.2.7

[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

[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 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 very different (and m

[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@googlegroups

[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 Lat

[symfony-users] Re: Charset error in I18N

2009-09-22 Thread Alexandru-Emil Lupu
here i am able to see " Welcome to Argos Automação " alecs On Tue, Sep 22, 2009 at 12:35 PM, Sid Ferreira wrote: > 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, th

[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 wrote: > here i am able to see " > > Welcome to Argos Automação > " > alecs > > > On Tue, Sep 22, 2009 at 12:35 PM, Sid Ferreira wrote: > >> Hi guys!Im h

[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 adva

[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 wrote: > > Hi Rajesh, > > Can I ask you why

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

2009-09-22 Thread theredled
Any Doctrine user, I meant :) Propel integration in the Debug bar does seem good. On 22 sep, 11:15, Fabian Lange wrote: > I don't have it, because I use Propel? > Was this the intent of your repost? > Fabian --~--~-~--~~~---~--~~ You received this message because

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

2009-09-22 Thread Romain de Wolff
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 wrote: > Hello folks, i'm trying to add an autocomplete field in a form, to do > that i've followed the Make your choice! tutoria

[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 recei

[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

[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 wrote: > > Hello all, > > I would like to know if someone has already package a symfony project > for de

[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 wrote: > there is available a symf

[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 the

[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: Symfony project debian package

2009-09-22 Thread Alexandru-Emil Lupu
if there is a project that is continuously under development, then, you might check Capistrano's way . On Tue, Sep 22, 2009 at 6:32 PM, Eno wrote: > > On Tue, 22 Sep 2009, Sylvain Houdusse wrote: > > > I would like to know if someone has already package a symfony project > > for debian. > > The

[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 "thin

[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 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, Alexandru-Emi

[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. Doctrine

[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 rece

[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 > > 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 wrote: > > Hello folks, i'm tr

[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 wrote: > > Received this warning message when in dev

[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 fail

[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($addre

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-22 Thread bghost
As I said at the beginning: Symfony has become too complicated. Also, Symfony folder structure has become too complicated. Definitely, the learning of principles on which Symfony working is painful and unprofitable. If you really want to see, which means fast, easy and effective PHP framework, th

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-22 Thread bghost
As I said at the beginning: Symfony has become too complicated. Also, Symfony folder structure has become too complicated. Definitely, the learning of principles on which Symfony working is painful and unprofitable. If you really want to see, which means fast, easy and effective PHP framework, th

[symfony-users] Is censorship necessary?

2009-09-22 Thread bghost
It seems that I disabled to write on the topic, which I opened. Fabien, why fear? Is censorship necessary? WBR, Ghost3D --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, s

[symfony-users] Getting started w/ templating component

2009-09-22 Thread David Clark
Hi, I was excited to hear about the release of the templating component and I downloaded it yesterday. The thing that I have always valued about Symfony is the way that it gently guides you by building "skelelons" when creating new project, application or whatever. I have read the templatin

[symfony-users] By default prototype.js not included in new template

2009-09-22 Thread ravi ranjan
I have created a new template in user module, when ever i execute this template, by default the prototype.js is not included while prototype.js is included by default in all templates. Please help me out. --~--~-~--~~~---~--~~ You received this message because you

[symfony-users] Re: the jquery date widget is killing a page in IE 7

2009-09-22 Thread zeek
fixed here: http://trac.symfony-project.org/changeset/15842 On Sep 21, 11:48 pm, "Michael J. Stuart" wrote: > I am using sfWidgetFormJQueryDate for a date widget on a form. This > form works well in FireFox, Safari and Google Chrome. However, the > page won't load in IE 7 (have not yet checke

[symfony-users] Re: Is censorship necessary?

2009-09-22 Thread Kieu Anh Tuan
Apprently you are not. Check if your computer is connected to the internet. On Sep 23, 2009 8:37 AM, "bghost" wrote: It seems that I disabled to write on the topic, which I opened. Fabien, why fear? Is censorship necessary? WBR, Ghost3D --~--~-~--~~~---~--~~ Y