[symfony-users] Re: config cross app

2007-06-23 Thread Adriaan van N.
You may create a link between the files: $ cd symfony_base/apps/new_app $ ln ../../original_app/config_file.yml config_file.yml On Jun 23, 7:00 pm, Nicolas CHARLOT <[EMAIL PROTECTED]> wrote: > Hi, > For an I18n project, I would define a param "languages_available". This param > impact on Front a

[symfony-users] Re: empty request parameters

2007-06-23 Thread Adriaan van N.
You can set a default parameter in routing.yml. Maybe thats the solution? On Jun 20, 1:45 pm, Matthias Nothhaft <[EMAIL PROTECTED]> wrote: > Stefan Koopmanschap wrote: > > Guys, > > > How do you handle empty request parameters? I have a problem where a > > URL may or may not contain values for ce

[symfony-users] Problem with Muti-Upload Validation

2007-06-23 Thread grayblur
hi, everyone! I need to upload several files . I get the array of the uploaded files with: $files = $sf_request->getFileName('works'); then I loop the array and save the uploaded files. everything is ok,but I have trouble with validation. I wrote the Validation File like : http://trac.symfony

[symfony-users] config cross app

2007-06-23 Thread Nicolas CHARLOT
Hi, For an I18n project, I would define a param "languages_available". This param impact on Front and Back app and I wouldn't have to write 2 identical config file. Is there a way to do that easily or do U advise to use a table for this purpose ? Thanks -- Nicolas --~--~-~--~~

[symfony-users] getNbResults() error

2007-06-23 Thread Marco
Hi, i've noticed that when i try to filter data using a join, the pager function getNbResults() returns an incorrect number of results. For example in a set of 45171 if i try to filter records using a join i get 119501 as total records that it's impossible (using the same query in mysql i get 21,4

[symfony-users] Re: getting id of last INSERT

2007-06-23 Thread Martin Kreidenweis
Hi. > I want to get the ID (auto increment) of my last INSERT using > something similar to > the php function mysql_insert_id() > > $lastInsertedID = mysql_insert_id(); > > Can this be done using the standard Symfony data abstraction classes > Propel & Criteria? If so how do you do it? Sure: $

[symfony-users] Re: windows project creation issues

2007-06-23 Thread Kostas Papadimitriou
Kostas Papadimitriou wrote: > Hi, > after working some time with symfony via propel i decided yesterday to > checkout the svn 1.0 branch. > > so after 'svn co' went just fine on c:\workspace\symfony, i then created > a new dir c:\workspace\symfotest, from within that dir i executed > > C:\worksp

[symfony-users] windows project creation issues

2007-06-23 Thread Kostas Papadimitriou
Hi, after working some time with symfony via propel i decided yesterday to checkout the svn 1.0 branch. so after 'svn co' went just fine on c:\workspace\symfony, i then created a new dir c:\workspace\symfotest, from within that dir i executed C:\workspace\symfotest>c:\workspace\symfony\data\bi