Re: Re : [symfony-users] Re: Problem with create Admin generator Symfony 1.2

2008-12-02 Thread DigitalBase
Yes ofcourse On Dec 1, 1:48 pm, Teddy Maitre <[EMAIL PROTECTED]> wrote: > Thanks ! It does work now! I must write all the new code before the default > rules no? > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "

[symfony-users] Re: Doctrine: delete a record

2008-12-02 Thread Tipoun
How can I catch errors in admin generator ? Thanks for you help ! On Dec 2, 11:32 pm, "Jonathan Wage" <[EMAIL PROTECTED]> wrote: > Sure, catch the error and display it in the template. > > - Jon > > > > On Tue, Dec 2, 2008 at 3:59 PM, Tipoun <[EMAIL PROTECTED]> wrote: > > > > You need to add onD

[symfony-users] Re: action which returns an image doesn't work anymore im Symfony 1.2

2008-12-02 Thread Samir van de Sand
I tried the code you posted, but unfortunately it's still not working. Does anybody has other suggestions? It is sad, that I can't switch to SF 1.2 just because this single action isn't working. Oddly if I execute the action the browser reports that it's getting an image, but if I try to open it,

[symfony-users] Re: tutorial for Symfony 1.1.x

2008-12-02 Thread Lee Bolding
I used the Symfonians trunk as my 1.1 tutorial ;) I'd hold off using 1.2 for a real-world project until the documentation is in a better state. There's far too much undocumented at the moment. On 2 Dec 2008, at 23:06, Fabian Lange wrote: > Hi, > Even when I would recommend to start with 1.2

[symfony-users] Re: tutorial for Symfony 1.1.x

2008-12-02 Thread Fabian Lange
Hi, Even when I would recommend to start with 1.2, I can understand that you might want to go with the older (=more stable) version. If you go with 1.1 you will have no dedicated tutorial, but a lot of documentation. There is however some stuff from 1.2 that fits better to 1.1 than 1.0 stuff from a

[symfony-users] Re: tutorial for Symfony 1.1.x

2008-12-02 Thread James Wigdahl
On Tue, Dec 2, 2008 at 1:41 PM, Dean Farrell <[EMAIL PROTECTED]>wrote: > > > I see there's a Symfony 1.0.x tutorial, Askeet, and there's a tutorial for > Symfony 1.2.x, Jobeet. I was wondering if there is a tutorial for the > Symfony 1.1.x family, or should I choose one or the other of the availa

[symfony-users] Re: Doctrine: delete a record

2008-12-02 Thread Jonathan Wage
Sure, catch the error and display it in the template. - Jon On Tue, Dec 2, 2008 at 3:59 PM, Tipoun <[EMAIL PROTECTED]> wrote: > > > You need to add onDelete: CASCADE to the relationship definition so that > the > > delete operations are cascaded at the dbms level. > > But, if I don't want to de

Re : [symfony-users] upgrading from old sandbox versions to pear version of Symfony

2008-12-02 Thread Loïc Vernet
For the 1.0.10 one, it's quiet simple.. You juste have to setup your symfony dir as external in the lib/vendor directory (to the last 1.0.x version). Then modify your paths in the config/config.php file. (+ replace/symlink/snv the /sf dir in the /web folder) For the 0.9.0-DEV i'am not sure ther

[symfony-users] Re: Unable to install plugins

2008-12-02 Thread Fabien Potencier
It is due to a bug in PEAR. We are working on it. Fabien -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.com | aide-de-camp.org Tél: +33 1 40 99 80 80 Sid Bachtiar wrote: >> It's been stated many times that the latest symfony requires more recent >> ver

[symfony-users] Re: sfMediaLibrary outside tinyMCE

2008-12-02 Thread Richtermeister
I believe the sfAssetsLibraryPlugin is just what you need. Hope it helps, Daniel On Dec 2, 2:07 am, tef_be <[EMAIL PROTECTED]> wrote: > Hi all, > I use sfMediaLibrary in tinyMCE and I found it great ! > but I want to use it outside. > I want the admin of the app able to upload pictures associ

[symfony-users] Re: Doctrine: delete a record

2008-12-02 Thread Tipoun
> You need to add onDelete: CASCADE to the relationship definition so that the > delete operations are cascaded at the dbms level. But, if I don't want to delete the foreign key ? Can I just display an error ? On Dec 2, 10:48 pm, "Jonathan Wage" <[EMAIL PROTECTED]> wrote: > You need to add onDel

[symfony-users] upgrading from old sandbox versions to pear version of Symfony

2008-12-02 Thread Dean Farrell
Sorry to ask questions in such quick succession, but I was wondering if anyone was aware of a fairly painless way to upgrade from sandbox versions of Symfony to standard production versions. We have two live applications written in older versions of the sandbox: One, in Symfony version 0.9.0-DEV,

[symfony-users] Re: Unable to install plugins

2008-12-02 Thread Sid Bachtiar
> It's been stated many times that the latest symfony requires more recent > versions of PHP. Right, but I'm not using the latest Symfony. I'm using version 1.1! On Wed, Dec 3, 2008 at 2:18 AM, Eno <[EMAIL PROTECTED]> wrote: > > On Tue, 2 Dec 2008, Sid Bachtiar wrote: > >> >> sfPearFrontendPlugi

[symfony-users] Re: Doctrine: delete a record

2008-12-02 Thread Jonathan Wage
You need to add onDelete: CASCADE to the relationship definition so that the delete operations are cascaded at the dbms level. - Jon On Tue, Dec 2, 2008 at 3:33 PM, Tipoun <[EMAIL PROTECTED]> wrote: > > Hi, > > I try to follow this tutorial: > > http://www.symfony-project.org/blog/2008/11/07/new

[symfony-users] tutorial for Symfony 1.1.x

2008-12-02 Thread Dean Farrell
I see there's a Symfony 1.0.x tutorial, Askeet, and there's a tutorial for Symfony 1.2.x, Jobeet. I was wondering if there is a tutorial for the Symfony 1.1.x family, or should I choose one or the other of the available tutorials? As my firm is likely to use the 1.1.x branch of Symfony for the

[symfony-users] Doctrine: delete a record

2008-12-02 Thread Tipoun
Hi, I try to follow this tutorial: http://www.symfony-project.org/blog/2008/11/07/new-in-symfony-1-2-doctrine-goodies, but I have a big problem: When I want to delete a row in admin (an article for example), I can't and the most important: I have no errors... It happens when the record has a fore

[symfony-users] Re: What about the Symfony Guide ...

2008-12-02 Thread Eno
On Dec 1, 1:41 pm, "Reynier Perez Mira" <[EMAIL PROTECTED]> wrote: > I agree with you Fabian we can use this book (that remains incomplete yet) > but this is not the only thing that changes in the new Symfony 1.2. There are > a lots of things changed here for example: > > * Routing > * Forms

[symfony-users] Re: Changed images/CSS/JS after a new build...

2008-12-02 Thread Fabrice B
I myself used something very similar to what you see here > http://particletree.com/notebook/automatically-version-your-css-and-j... but overriding javascript_include_tag from the AssetHelper file, inspired by François Baligant (synalabs.com) function javascript_include_tag() { // MODIF FABRI

[symfony-users] Re: Symfony 1.2 sfDoctrineGuardPlugin Validation Error

2008-12-02 Thread Jonathan Wage
I would not do it quite the way you are doing it. Let the form system do the work. class RegisterForm extends sfGuardUserForm { } public function executeSave($request) { $this->forward404Unless($request->isMethod('post')); $user = new sfGuardUser(); $this->form = new RegisterForm($user);

[symfony-users] Re: Tutorial jobeet

2008-12-02 Thread Ant Cunningham
You have to use svnadmin on a local filesystem. So you either need to log in to your development server remotely and run the command or use your local development machine. So for eaxmple on either the command might look like this: svnadmin create C:\repos\jobeet Necho wrote: > Hi ! > > I'm d

[symfony-users] sf 1.2 Doctrine Admin Generator and error on save with PK = language

2008-12-02 Thread Matthias N.
Hi, I'm trying to setup a language admin generator. I added these lines to the LanguageForm so the primary key (which is simply the language code) is displayed: public function configure() { $this->widgetSchema['id'] = new sfWidgetFormI18nSelectLanguage (array('culture' => 'de'));

[symfony-users] Re: sfForms widget and validator

2008-12-02 Thread Kris Wallsmith
No, ->setWidget() does not affect a form's validators. Kris -- Kris Wallsmith | Community Manager [EMAIL PROTECTED] Portland, Oregon USA On Dec 1, 2008, at 9:13 PM, ken wrote: > > Does calling $this->setWidget('control_name', new sfWidgetXXX) also > reset its associated validator given the widg

[symfony-users] Re: symfony 1.2 toolbar timers...

2008-12-02 Thread Eno
On Dec 2, 5:44 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > The percentages shouldn't sum 100??? Yeah, this came up a few months ago on this list: http://groups.google.com/group/symfony-users/browse_thread/thread/79d32a50f64cb544/203ea84ec874b564?lnk=gst&q=debug+bar+time#203ea84ec874b56

[symfony-users] Re: Symfony 1.2 sfDoctrineGuardPlugin Validation Error

2008-12-02 Thread Peter Bowyer
At 17:08 02/12/2008, you wrote: >Can we see all the code? The RegisterForm. Tried with and without the 'id' fields: class RegisterForm extends BaseFormDoctrine { public function setup() { $this->setWidgets(array( # 'id'

[symfony-users] Re: Symfony 1.2 sfDoctrineGuardPlugin Validation Error

2008-12-02 Thread Jonathan Wage
Can we see all the code? The RegisterForm. - Jon On Tue, Dec 2, 2008 at 5:08 AM, Peter Bowyer <[EMAIL PROTECTED]>wrote: > > > > On Nov 14, 4:57 pm, "Jonathan Wage" <[EMAIL PROTECTED]> wrote: > > Can we see the data being posted? > > I'm getting the identical error, the following is the data gett

[symfony-users] sfMediaLibrary outside tinyMCE

2008-12-02 Thread tef_be
Hi all, I use sfMediaLibrary in tinyMCE and I found it great ! but I want to use it outside. I want the admin of the app able to upload pictures associated with product. I want the product page able in a first step to locate file on the server disk, and only store path in product object. But I can

[symfony-users] Re: Tutorial jobeet

2008-12-02 Thread Eno
On Tue, 2 Dec 2008, Necho wrote: > I'm doing the tutorial jobeet with the new version of Symfony but i > have a problem with subversion. When i start the command : svnadmin > create http://example.com i had a error message (but in french > because i'm french) svnadmin http://example.com is a URL

[symfony-users] Re: Unable to install plugins

2008-12-02 Thread Eno
On Tue, 2 Dec 2008, Sid Bachtiar wrote: > >> sfPearFrontendPlugin symfony-plugins/sfMediaLibraryPlugin is not > >> compatible with > >> sfPearFrontendPlugin downloaded package "symfony/symfony" version 1.2.0 > >> sfPearFrontendPlugin symfony/symfony requires PHP (version >= 5.2.4), > >> install

[symfony-users] Re: symfony : admin generator 1.2 : hasFilterForm

2008-12-02 Thread DigitalBase
More info on this topic : http://trac.symfony-project.org/ticket/5137 This is a serious flaw for a "stable" version of symfony. On Dec 2, 1:43 pm, DigitalBase <[EMAIL PROTECTED]> wrote: > After doing a bit more research, i noticed the indexSuccess (in > propelAdmin/templates) does use the $this-

[symfony-users] Re: symfony : admin generator 1.2 : hasFilterForm

2008-12-02 Thread DigitalBase
After doing a bit more research, i noticed the indexSuccess (in propelAdmin/templates) does use the $this->configuration->hasFilterForm (). BUT apparently upon template generation (in cache/* directory) the $this->configuration is an instance of Base%OBJECT %GeneratorConfiguration. Shouldn't the

[symfony-users] Re: Questions related to the new admin generator (sf 1.2.0 + Propel 1.3)

2008-12-02 Thread Rytis Daugirdas
All right. What about my first question? On Tue, Dec 2, 2008 at 2:13 PM, Fabian Lange < [EMAIL PROTECTED]> wrote: > Hi Rytis, > > somehow the sorting broke recently, I am sorry about this. There is already > a ticket and it will be fixed in 1.2.1 > http://trac.symfony-project.org/ticket/5123 > >

[symfony-users] Re: Questions related to the new admin generator (sf 1.2.0 + Propel 1.3)

2008-12-02 Thread Fabian Lange
Hi Rytis, somehow the sorting broke recently, I am sorry about this. There is already a ticket and it will be fixed in 1.2.1 http://trac.symfony-project.org/ticket/5123 Fabian On Tue, Dec 2, 2008 at 12:14 PM, Rytis Daugirdas <[EMAIL PROTECTED]>wrote: > Hello, > > I have the following questions

[symfony-users] Tutorial jobeet

2008-12-02 Thread Necho
Hi ! I'm doing the tutorial jobeet with the new version of Symfony but i have a problem with subversion. When i start the command : svnadmin create http://example.com i had a error message (but in french because i'm french) svnadmin http://example.com is a URL, but a path is required I use Windo

[symfony-users] Questions related to the new admin generator (sf 1.2.0 + Propel 1.3)

2008-12-02 Thread Rytis Daugirdas
Hello, I have the following questions regarding the admin generator: - Is it possible to set different form classes for new and edit views? I can probably override this in the actions themselves, but it would be better to set this in the generator.yml itself. - For some reason since 1

[symfony-users] Re: Symfony 1.2 sfDoctrineGuardPlugin Validation Error

2008-12-02 Thread Peter Bowyer
On Nov 14, 4:57 pm, "Jonathan Wage" <[EMAIL PROTECTED]> wrote: > Can we see the data being posted? I'm getting the identical error, the following is the data getting through (in $data in the code below): Array ( [first_name] => Peter [last_name] => Testing [email] => [EMAIL PROTECTE

[symfony-users] symfony : admin generator 1.2 : hasFilterForm

2008-12-02 Thread DigitalBase
i really like the logic behind the new admin generator. Now i noticed the Base%MODULE%GeneratorConfiguration.class has a method called hasFilterForm public function hasFilterForm() { return true; } I want to disable all the filters for this view so i decided to override this method, re

[symfony-users] symfony 1.2 toolbar timers...

2008-12-02 Thread [EMAIL PROTECTED]
The percentages shouldn't sum 100??? Total: # Time 1260 ms Timers typecalls time (ms) time (%) Configuration 9 24.92 1 Action "default/index" 1 12.14 0 View "Success" for "default/index" 1 98.17 7 --~--~-~--~~~---~--~

[symfony-users] Re: spanish translation for the new jobeet tutorial

2008-12-02 Thread [EMAIL PROTECTED]
Thanks, It's truly amazing the job the symfony team has done and the amount of time Fabien spends. Thanks again. On Dec 2, 3:51 am, Fabien Potencier <[EMAIL PROTECTED] project.com> wrote: > Subscribe to the documentation mailing-list > (http://groups.google.com/group/symfony-docs), as all transl

[symfony-users] Re: spanish translation for the new jobeet tutorial

2008-12-02 Thread Fabien Potencier
Subscribe to the documentation mailing-list (http://groups.google.com/group/symfony-docs), as all translations are coordinated there and some people have already expressed interest in such translations. Fabien -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-pr

[symfony-users] spanish translation for the new jobeet tutorial

2008-12-02 Thread [EMAIL PROTECTED]
Hello, I wan't to cooperate with the spanish translation of the jobett tutorial. How and who? Thanks! Pablo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email

[symfony-users] Unable to install plugins

2008-12-02 Thread Sid Bachtiar
>> sfPearFrontendPlugin symfony-plugins/sfMediaLibraryPlugin is not compatible >> with >> sfPearFrontendPlugin downloaded package "symfony/symfony" version 1.2.0 >> sfPearFrontendPlugin symfony/symfony requires PHP (version >= 5.2.4), >> installed My Symfony is version 1.1 and I executed pear i