Re: [symfony-users] Re: Any chance of creating a new Google group for Symfony2 only?

2011-06-21 Thread Stéphane Guidoin
I agree with this proposition. I'm new on the mailing list, I use sf1.4 because some specific plugins do not exist on sf2 for now... but my mailbox is completely overwhelmed by emails irrelevant for me. I guess a number of people will continue to use sf1 until sf2 is stable and presents the same

[symfony-users] Symfony 1.4 - Management of a blob (or PostGIS) field with doctrine

2011-06-20 Thread Stéphane Guidoin
Hello there, I'm quite new with symfony and I'm trying to make it work with PostGIS thru doctrine. I installed sfMapFishPlugin but my problem seems to be as basic as managing a blob/bytea field. So by considering only the blob question, here is my problem : - I design a table with a blob

[symfony-users] Symfony 1.4 - Management of a blob or postGis field with doctrine

2011-06-20 Thread Stéphane Guidoin
Hello, I'm quite new with symfony and I'm trying to make it work with PostGIS thru doctrine. I installed sfMapFishPlugin but my problem seems to be as basic as managing a blob/bytea field. So by considering only the blob question, here is my problem : - I design a table with a blob that

Re: [symfony-users] Blog plugin for symfony1.4

2011-06-17 Thread Stéphane
Hello, With Apostrophe there is a blog plugin. www.apostrophe-now.com But you might need to use Apostrophe to use the plugin. Regards, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Sat, Jun 18, 2011 at

Re: [symfony-users] [sf1.4] execute action post plugin action

2011-06-11 Thread Stéphane
Hello, You can overload plugin actions ! http://dasher.wordpress.com/2009/05/15/symfony-overloading-and-overriding-plugins-base-classes/ Regards, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Thu, Jun

[symfony-users] [Symfony 2] Bundles, large models, Front Back splitting

2011-04-27 Thread Stéphane
Hello Community, When considering writting large apps with sf2, with a back and a front, some questions are occuring, about how to structure things. Say we have one large website with a front-end for end-users and a back-end to feed the front-end, control objects, etc. The two apps will use

Re: [symfony-users] MyUser extend sfUser class

2011-03-14 Thread Stéphane
Hello, First, please use the _dev.php controllers to get beautifull exception stack traces ;) Second, clear-cache ? Third, check you have put the MyUser.class.php in the lib/ directory of your project. Fourth, you can rename your userIsAuthentic() to -isAuthentic as you're talking to a $sf_user

Re: [symfony-users] Passing a variable between new and edit actions in Symfony 1.4 + Doctrine

2011-03-13 Thread Stéphane
Hello, Look at the contructor of form, you can pass an $options array. Play with this array to pass along values from $request instead of using sfContext::getInstance()-... Then you'll be able to $this-getOption('id_parent', false) within your -configure() method. You can also play with user

Re: [symfony-users] Passing a variable between new and edit actions in Symfony 1.4 + Doctrine

2011-03-13 Thread Stéphane
$sfRequest = sfContext::getInstance()-getRequest(); if ($productArray = $sfRequest-getParameter('product')) { $idParent = $productArray['id_parent']; } else { $idParent = $sfRequest-getParameter('id_parent'); } Is there a better way to solve this problem? This is bad because your form

Re: [symfony-users] Protect development credentials when deploying application

2011-03-01 Thread Stéphane
There are none bundled with sf1.4. Anyway it's not that hard to code a task to remove every dev: in .yml files and dump content in .yml.dist or .prod. Needs to wrap this into a release process. Regards, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à

Re: [symfony-users] Protect development credentials when deploying application

2011-03-01 Thread Stéphane
, Stéphane stephane.er...@gmail.com wrote: There are none bundled with sf1.4. Anyway it's not that hard to code a task to remove every dev: in .yml files and dump content in .yml.dist or .prod. Needs to wrap this into a release process. Regards, Before Printing, Think about Your

Re: [symfony-users] Form widgets

2011-02-23 Thread Stéphane
sf cc ? Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Thu, Feb 24, 2011 at 1:20 AM, Parijat Kalia kaliapari...@gmail.comwrote: Hi guys, I am following the Symfony form's tutorials and have reached upto

Re: [symfony-users] UniversalClassLoader.php Missing or in the Wrong Place?

2011-02-21 Thread Stéphane
The autoload file in symfony dir is alright on my git repo. -- I know you might try to understand how Sf2 is working, by making everything by hand. Anyway, if you don't know, and willing some help, there is a symfony project bootstrapper up to date here

Re: [symfony-users] Re: query error

2011-02-19 Thread Stéphane
$query-fetchOne() will return only one user. But Damon is right, the beginning of the code looks bad. Regards Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Sat, Feb 19, 2011 at 3:46 PM, Damon Jones

[symfony-users] I18nizing a Relation

2011-02-12 Thread Stéphane
Hello, Using sf1.4 doctrine 1.2. Is it possible to I18nize a relation ? I see bug in doctrine code when I try to do so. I have tried to debug it, but can't remember which class is involved in Doctrine code. I'll retry to debug it to provide more informations, if none see where shi** happens :)

Re: [symfony-users] Re: Is it possible to check the filesize of an image *before* uploading it ?

2011-02-11 Thread Stéphane
Using File API for HTML 5 it's possible. But it needs File API enabled browser (FF 4 for example). Using JS of course. Regards, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Fri, Feb 11, 2011 at 4:07 PM,

Re: [symfony-users] Re: How to let my users edit their password/profile ? [sfDoctrineGuardPlugin]

2011-02-07 Thread Stéphane
This plugin have modules to edit user permissions and groups, no ? Regards, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Mon, Feb 7, 2011 at 11:51 AM, Manu emmanuel.parf...@gmail.com wrote: I checked out

Re: [symfony-users] Any way to rename actions.class.php

2011-02-07 Thread Stéphane
I don't get it. What is the problem ? Do you know you can break your actions methods into individual classes ? Is it this ? Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Mon, Feb 7, 2011 at 5:53 PM, George

Re: [symfony-users] Any way to rename actions.class.php

2011-02-07 Thread Stéphane
that indicates what file they come from would be nice.. im sure there is a way to do it. I'll look when I get home and see if i can find a way to do it. On Mon, Feb 7, 2011 at 16:04, Stéphane stephane.er...@gmail.com wrote: I don't get it. What is the problem ? Do you know you can break

Re: [symfony-users] Re: Localization of flash warning

2011-02-05 Thread Stéphane
Simply overload the template that echoes the flashes, and add a __() around, no ? Regards, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Sat, Feb 5, 2011 at 11:50 AM, Gabriel Petchesi

Re: [symfony-users] detect the right object

2011-01-29 Thread Stéphane
foreach ($hotels as $hotel) { if ($hotel*-getRawValue()* instanceof BookingComHotelsPromoteCountry) Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Sat, Jan 29, 2011 at 5:08 PM, Sela tzi...@gmail.com

Re: [symfony-users] Re: Introducing Vespolina - the new sf2 based e-commerce platform

2011-01-27 Thread Stéphane
Hello, Good to see that ! Have you already thought about how you will modelize the product breakdown ? I have started some times ago a dmCommercePlugin which is far far away from a finished plugin, but it's starting idea, for now is to let accredited users define product types, their

Re: [symfony-users] Re: memcached ubuntu php doubt

2011-01-26 Thread Stéphane
php -i | grep memcache in a terminal Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Wed, Jan 26, 2011 at 9:19 PM, Christian alice...@googlemail.com wrote: the php cli has it own ini file. check memcache is

Re: [symfony-users] Re: Many to many relationship: complete iteration.

2011-01-17 Thread Stéphane
$user-getGroups() or such ? (I don't know propel) Regards, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Mon, Jan 17, 2011 at 11:25 PM, Javier Garcia tirengar...@gmail.comwrote: I used a join and I get

Re: [symfony-users] Content-type negotiation

2011-01-12 Thread Stéphane
In routes.yml, you can define the :sf_format and set its default value I guess. Regards, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Wed, Jan 12, 2011 at 2:41 PM, Renoir Boulanger r...@evocatio.com wrote:

Re: [symfony-users] Re: Content-type negotiation

2011-01-12 Thread Stéphane
header to order that array. Probably the coolest way to do it would be to have the template files have the base type in their extension, and then a mimetype in them. You could hve mulitple xml types then, but with specific versions and micoformats. Just a thought. On Jan 12, 6:28 am, Stéphane

Re: [symfony-users] Re: Content-type negotiation

2011-01-12 Thread Stéphane
I don't know if there is a way to say html first, then xml, then json, kind of 0.8, 0.5, etc. Regards, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Wed, Jan 12, 2011 at 4:54 PM, Stéphane stephane.er

Re: [symfony-users] Symfony2 Sandbox git

2011-01-10 Thread Stéphane
Hi, mkdir myproject cd myproject #create a directory and enter it git init #create a new git repo git submodule add @symfony2git@ lib/vendor/symfony2 #add sf2 as a submodule, put it in lib/vendor/symfony2 git submodule update --init --recursive #initialize the submodules recursively Doesnt it

Re: [symfony-users] - Symfony 1.4.8 - Problems with a redirect() inside of a try...catch construct in action code

2011-01-10 Thread Stéphane
Hi, Yes it is a good idea to create your own exception class ! A little link, worth reading, about exceptions http://ralphschindler.com/2010/09/15/exception-best-practices-in-php-5-3 http://ralphschindler.com/2010/09/15/exception-best-practices-in-php-5-3:) No there's no symfony way about

Re: [symfony-users] - Symfony 1.4.8 - Problems with a redirect() inside of a try...catch construct in action code

2011-01-10 Thread Stéphane
Your code catch the exception because you ask it to do so by coding a catch(Exception - here, Exception is the master class of all Exceptions ! sfStopException inherits from this class, so your catch will catch it as expected :) Now if you create a myException extends sfException, and you catch

Re: [symfony-users] - Symfony 1.4.8 - Problems with a redirect() inside of a try...catch construct in action code

2011-01-10 Thread Stéphane
The framework should send a response with http header Location:. It doesn't ? Regards, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Mon, Jan 10, 2011 at 9:43 PM, Gabriel Comeau

Re: [symfony-users] Re: Debugging symfony application within Eclipse?

2011-01-07 Thread Stéphane
B ebenza...@gmail.com wrote: On Thu, Jan 6, 2011 at 11:27 AM, Stéphane stephane.er...@gmail.comwrote: Hello, I've been made this for one+ year now. On Windows and Ubuntu boxes. (I'm actually on a ubuntu 10.10 box, and installing xdebug is easy as sudo pecl install xdebug

Re: [symfony-users] Re: Debugging symfony application within Eclipse?

2011-01-06 Thread Stéphane
Hello, I've been made this for one+ year now. On Windows and Ubuntu boxes. (I'm actually on a ubuntu 10.10 box, and installing xdebug is easy as sudo pecl install xdebug ... then configuring is as easy as copy/past the following xdebug.ini to my /etc/php5/conf.d/xdebug.ini). Installing Xdebug on

Re: [symfony-users] Re: Debugging symfony application within Eclipse?

2011-01-06 Thread Stéphane
Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Thu, Jan 6, 2011 at 5:27 PM, Stéphane stephane.er...@gmail.com wrote: Hello, I've been made this for one+ year now. On Windows and Ubuntu boxes. (I'm actually on a ubuntu 10.10 box, and installing xdebug is easy

Re: [symfony-users] Help Optimization Loading Symfony

2011-01-02 Thread Stéphane
Hello, About loading performances: for doctrine : http://www.doctrine-project.org/documentation/manual/1_0/en/improving-performance:compile for symfony : http://www.symfony-project.org/book/1_0/18-performance search for Optimizing your code Regards, Before Printing, Think about Your

Re: [symfony-users] Re: Handling dynamic data in the generator.yml

2010-12-28 Thread Stéphane
When using the admin generator, there is a configuration class which have a getFormClass method (or such), just override this method as you which :) Regards, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On

Re: [symfony-users] Best practice to use Eclipse PDT and symfony?

2010-12-14 Thread Stéphane
Hello, In Eclipse, you can add settings in Window-PreferenceValidation, Then select the validation you wish to configure. Here you'll be able to add exclusion filters, adding the workspace directory you want (then select symfony directory). It will not be validated any more, for selected

Re: [symfony-users] Pass variables through actions

2010-11-28 Thread Stéphane
Hey, I didn't test it, but using forward instead of redirect, perhaps you can modify the sfWebRequest object and it will get passed around to the forwarded action, no ? Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée

Re: Yan: [symfony-users] Re: 06-Advanced-Forms Some Questions.

2010-11-23 Thread Stéphane
Of course, instead of using static variables, you can create getters to retrieve values from configurations, so it will be easier to change the number of allowed uploadable photos by simply changing a value in a config/app.yml. Something like public function getMaxUploadablePhotos(){ return

Re: [symfony-users] I18N: Why Underscore?

2010-11-12 Thread Stéphane
echo __('Home') ? Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Fri, Nov 12, 2010 at 2:05 PM, Felix E. Klee felix.k...@inka.de wrote: I am working on an old Symfony 1.1 project [1], and I noticed a

Re: [symfony-users] Question: The best way to embed javascript : in parial or in js files

2010-11-04 Thread Stéphane
. Regards, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Thu, Nov 4, 2010 at 9:47 AM, JoJo jojoyangd...@gmail.com wrote: Hi Alex and Stéphane, Thanks a lot for your suggestion. As Gareth said, my concern is how

Re: [symfony-users] Question: The best way to embed javascript : in parial or in js files

2010-11-04 Thread Stéphane
to execute js. In jQuery it is $(document).ready( ... ). Encapsulating js in file lets browser cache javascript, so the page is loaded faster. Regards, Maciej Aleksandrowicz 2010/11/4 Stéphane stephane.er...@gmail.com: Putting javascript tags in the middle of the body blocks the loading

Re: [symfony-users] Re: Package template/layout as a plugin to re-use across sites?

2010-11-02 Thread Stéphane
The Diem CMF/CMS does the same thing. I believe there is no standard way, but this can be a good one to do so. Regards, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Tue, Nov 2, 2010 at 5:49 PM, rich_81

Re: [symfony-users] Re: per RECORD/Entity permissions?

2010-10-27 Thread Stéphane
, not record methods. That's why you can see object_actions and not object_methods. Regards, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Tue, Oct 26, 2010 at 9:27 PM, Stéphane stephane.er...@gmail.com wrote

Re: [symfony-users] per RECORD/Entity permissions?

2010-10-26 Thread Stéphane
In my mind it was to manage user access to actions, based not only on a per-action basis, but also on a per-record-user-action, - Can user X can execute action Y ? - Take a look at its credentials for X_Y_Z ! Regards, Before Printing, Think about Your Environmental Responsibility! Avant

Re: [symfony-users] Ajax tips in Symfony?

2010-10-26 Thread Stéphane
Saying Symfony, I thought he wanted help on Sf2.0, not 1.4 ;) Perhaps it is still the same thing in regards to javascript side, anyway. Regards, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Tue, Oct 26,

Re: [symfony-users] per RECORD/Entity permissions?

2010-10-26 Thread Stéphane
record and think database records On Tue, Oct 26, 2010 at 9:41 AM, Stéphane stephane.er...@gmail.com wrote: In my mind it was to manage user access to actions, based not only on a per-action basis, but also on a per-record-user-action, - Can user X can execute action Y ? - Take a look

Re: [symfony-users] Re: per RECORD/Entity permissions?

2010-10-26 Thread Stéphane
personal group would represent his own permissions and other groups could be assigned permissions and other members. That way I wouldn't have to assigne 10M rows of permissions per record in the database. On Oct 26, 7:33 am, Stéphane stephane.er...@gmail.com wrote: Ah, so it's my tweaked mind

Re: [symfony-users] per RECORD/Entity permissions?

2010-10-25 Thread Stéphane
Hi, sfGuard allows you to assign permissions to users and/or groups. symfony module/action security.yml let you define which permission is needed to the user to be able to execute the action. Anyway, you can use the sfGuard model to create per-record and per-action permissions, like

Re: [symfony-users] doctrine query and not in (select ...) doesnt work

2010-10-24 Thread Stéphane
Perhaps you should add an alias in the subquery for the table ? Regards, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Sun, Oct 24, 2010 at 4:33 PM, axel at axel.zu...@gmail.com wrote: hello, I need the

Re: [symfony-users] sfDoctrineGuard user profile one-to-one relationships

2010-10-22 Thread Stéphane
Hi, You don't need refClass for 1-to-1 ! Cheers, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Sat, Oct 23, 2010 at 1:31 AM, Jonotron jonot...@gmail.com wrote: I want to create a one-to-one relationship

Re: [symfony-users] Re: How to change a POST value posted from form

2010-10-20 Thread Stéphane
Retrieving the sfContext from within your model is bad coding. How to test your model then (when in CLI there is no sfContext available). You have to separate concerns : the controller is here to prepare data to the model and view. Then you'll be able to test your models separatly, giving them

Re: [symfony-users] distinguishing between task and web request

2010-10-13 Thread Stéphane
You can check for isset($_SERVER['HTTP_HOST']) I guess, Cheers, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Wed, Oct 13, 2010 at 11:08 AM, axel at axel.zu...@gmail.com wrote: hello, I need to

Re: [symfony-users] Nested Form in Doctrine - symfony 1.4

2010-10-06 Thread Stéphane
Maybe this too : http://www.symfony-project.org/plugins/ahDoctrineEasyEmbeddedRelationsPlugin Cheers, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Wed, Oct 6, 2010 at 10:37 PM, Gustavo Adrian

Re: [symfony-users] Re: Doctrine problem with sf 1.3.7/8 - 1.4.7/8

2010-10-01 Thread Stéphane
Bertrand, good website, btw :-) (french reader) Cheers, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Fri, Oct 1, 2010 at 1:28 PM, Bertrand Zuchuat mailingl...@funstaff.chwrote: Hi Loïc, I use this

Re: [symfony-users] Re: Deploy to Same Server?

2010-09-20 Thread Stéphane
You can overload the project:deploy task to feet your needs. Cheers, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Mon, Sep 20, 2010 at 10:32 PM, Felix E. Klee felix.k...@inka.de wrote: On Sep 20, 9:32

Re: [symfony-users] Choosing the best JS toolkit plugin for RIA

2010-09-09 Thread Stéphane
If you want true javascript framework (with OO layer), for desktop-application UI look-alike, look at qooxdoo ! Cheers, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Fri, Sep 10, 2010 at 7:20 AM, Gareth

Re: [symfony-users] IDE

2010-09-03 Thread Stéphane
Free: Netbeans : simple Eclipse : simple and complex VIM : :-) Commercial: phpStorm Zend Studio PHPEdit Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Fri, Sep 3, 2010 at 3:56 PM, Andrei Dziahel

Re: [symfony-users] IE8 and isXmlHttpRequest

2010-08-31 Thread Stéphane
Compare the http request headers of the firefox's xhr over the ie8's one Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Tue, Aug 31, 2010 at 8:20 PM, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com wrote:

Re: [symfony-users] Re: headers already sent

2010-08-30 Thread Stéphane
You mean you are writting HTML within actions ? Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Mon, Aug 30, 2010 at 3:18 PM, bibob olivier.bib...@cnfpt.fr wrote: Hi, If I write return sfView::NONE; at the

Re: [symfony-users] y2K38 bug in PHP - Symfony

2010-08-27 Thread Stéphane
64bit isn't the common answer ? Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Fri, Aug 27, 2010 at 10:57 AM, Mercedes Sualog III mercedes.sua...@gmail.com wrote: I am encountering the Y2K38 bug in

Re: [symfony-users] Re: Symfony 1.4-compatible minifier for Symfony now included in Apostrophe, can be used in any Symfony project

2010-08-27 Thread Stéphane
/jquery.timer-1.2.js /apostrophePlugin/js/a.js How do disable the call to thoses files? Thanks by advance, On 18 août, 16:34, Stéphane stephane.er...@gmail.com wrote: Done :http://trac.apostrophenow.org/ticket/533 http://trac.apostrophenow.org/ticket/533Cheers, Before Printing, Think

Re: [symfony-users] Re: What Symfony CMF should I use? Apostrophe, Sympal, Diem?

2010-08-27 Thread Stéphane
Sympal is just a sample IMO. Apostrophe is edit-in-context, with simple but goot slot-type task scaffolding generator. Diem is edit-in-context-within-a-lightbox, with good backend features (create a page for kinds of records you specify in a module.yml config file; say you want a page generated

Re: [symfony-users] Re: headers already sent

2010-08-25 Thread Stéphane
Yes, it is the HTTP headers, not the HTML HEAD thing. Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Wed, Aug 25, 2010 at 7:11 PM, Florian sideral.undergro...@gmail.comwrote: IMHO, this is not a HTML header

Re: [symfony-users] Loading factories.yml configuration from task

2010-08-24 Thread Stéphane
What this means is that you need to add an (optional) argument (with default value) to your task, named application. Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Tue, Aug 24, 2010 at 6:16 PM, Thomas Rabaix

Re: [symfony-users] schema modified but same old database

2010-08-19 Thread Stéphane
Look at the doctrine:clean-model-files task Cheers, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Thu, Aug 19, 2010 at 11:41 AM, Jérémie jeremie.symf...@gmail.com wrote: There must be your old class in

Re: [symfony-users] Re: Symfony 1.4-compatible minifier for Symfony now included in Apostrophe, can be used in any Symfony project

2010-08-18 Thread Stéphane
wrote: A specific task would be convenient for those who consider 'symfony cc' too heavy, and I could still invoke it automatically from a 'symfony cc' hook. Would you mind opening a ticket on trac.apostrophenow.org to remind me to look at this? On Aug 17, 9:54 am, Stéphane stephane.er

Re: [symfony-users] Re: Symfony 1.4-compatible minifier for Symfony now included in Apostrophe, can be used in any Symfony project

2010-08-17 Thread Stéphane
I didn't took a look at the implementation yet. PHP is caching filesystem infos AFAIK. Can't we use these file informations as part of the key cache to compute md5 ? So their will be no more need to invalidate, it will invalidate by itself, or by calling (for hard-writting apps) clearstatcache()

Re: [symfony-users] Re: Symfony 1.4-compatible minifier for Symfony now included in Apostrophe, can be used in any Symfony project

2010-08-17 Thread Stéphane
+1 for the specific task ! Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Tue, Aug 17, 2010 at 3:52 PM, Daniel Lohse annismcken...@googlemail.comwrote: Mhm, I somehow I knew that this would have been

Re: [symfony-users] Re: Install plugins programmatically?

2010-08-12 Thread Stéphane
There is a class which helps you wrapping methods. Search for sfClassManipulator. Cheers, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Thu, Aug 12, 2010 at 8:07 AM, Damon Jones damonljo...@gmail.com wrote:

Re: [symfony-users] Re: a good IDE for Symfony

2010-08-11 Thread Stéphane
When I code only PHP, i use eclipse. When I have to mix php, js and html, I use netbeans as eclipse is buggy when it is about to mix code languages (even helios) :/ Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée

Re: [symfony-users] Re: a good IDE for Symfony

2010-08-11 Thread Stéphane
ubuntu 9.04 and for now dont have trouble, i think for now netbeans is unestable when the project grows but if you re instasll the problem vanished 2010/8/11 Stéphane stephane.er...@gmail.com When I code only PHP, i use eclipse. When I have to mix php, js and html, I use netbeans as eclipse

Re: [symfony-users] Re: Urls in Javascript

2010-08-10 Thread Stéphane
on my dev environment, I need that url to be: /frontend_dev.php/design/:design_id.json. So is there a way to output that url in the js through php and symfony? Or a way that I can get it through the dom but without already having to put it here by myself beforehand? 2010/8/7 Stéphane

Re: [symfony-users] Re: Urls in Javascript

2010-08-07 Thread Stéphane
It shouldnt break. You should do this: Create a route to reach your module/action (/apps/$app/config/routing.yml, check doc). Then in a template, write something like: script type=text/javascript window.myactionurl = ?php echo url_for('@my_route')?; alert(window.myactionurl);

Re: [symfony-users] Re: Real purpose of admin generator

2010-08-03 Thread Stéphane
That is right, having a declaration style is always good, at any point. Because it makes code reusable, at least. Admin-gen is not made to handle all the needs, even if it can. The idea is really good, the implementation has its own limits. Limits that you can extend by extending the admin-gen

Re: [symfony-users] a good IDE for Symfony

2010-08-03 Thread Stéphane
Download the ScanOnDemand plugin, its a well know problem in NetBeans as it is always scanning files whatever you do. It might not be the solution, but give it a try. Eclipse is a good one too. You can try VIM too (really). Cheers Before Printing, Think about Your Environmental Responsibility!

Re: [symfony-users] Re: How to add new type to schema?

2010-08-02 Thread Stéphane
AFAIK Doctrine manages the Inet type when using pgSql. http://www.symfony-project.org/doctrine/1_2/en/04-Schema-Files Search for INET I don't know if there is any inet type validator on the symfony-doctrine, but that's not that difficult to code as a validator, then modify generator form to add

Re: [symfony-users] Re: symfony and Eclipse: I can not go to the function or class using F3.

2010-07-15 Thread Stéphane
What you can do when using eclipse is doing such: In the declaration of the $this-usuario property, add this comment bloc: /** * * @var sf**Route */ Then Eclipse will know the type of this var. Cheers, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez

Re: [symfony-users] symfony and Eclipse: I can not go to the function or class using F3.

2010-07-12 Thread Stéphane
, Stéphane wrote: Hi, Check that your lib folders are source folders. Thanks, but how can i check that? On 07/11/2010 06:49 PM, Mariano Sola wrote: sorry for the question, but why using eclipse? I tried NB but when i wanted to go the declaration of a method, it shows the list

Re: [symfony-users] symfony and Eclipse: I can not go to the function or class using F3.

2010-07-11 Thread Stéphane
Hi, Check that your lib folders are source folders. Cheers, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Sun, Jul 11, 2010 at 5:56 PM, Javier Garcia tirengar...@gmail.comwrote: Hi, Im using Eclipse

Re: [symfony-users] Re: Create sfGuard user in production environment

2010-07-03 Thread Stéphane
Perhaps you can write php code to execute cli commands, put it on ftp and call it to execute. system('symfony doctrine:build --all --no-confirmation'); system('symfony guard:create-user . Cheers, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à

Re: [symfony-users] ahDoctrineEasyEmbeddedRelationsPlugin csrf

2010-06-15 Thread Stéphane
When you do $this-disableLocalCSRFProtection(); You have to do this too (AFAIK it works for my code) : $this-getValidator('_csrf_token')-setOption('required', false); Cheers, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée

Re: [symfony-users] ahDoctrineEasyEmbeddedRelationsPlugin csrf

2010-06-15 Thread Stéphane
You might need to do it for the embedded forms too. Cheers, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Tue, Jun 15, 2010 at 5:27 PM, Stéphane stephane.er...@gmail.com wrote: When you do

[symfony-users] Plugin post install processing

2010-06-14 Thread Stéphane ERARD
Hi list, I'm creating a plugin. When user installs it, I need my plugin to do some processing. How do I do that ? I've seen the plugin.post_install event, but where do I put the connect ? Thank you ! -- If you want to report a vulnerability issue on symfony, please send it to security at

Re: [symfony-users] Plugin post install processing

2010-06-14 Thread Stéphane
Yes, I think the task is the best way, as the publish-assets is about assets, and what I need is creating configurations files at the project-level. Thank you ! Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On

[symfony-users] Re: ckWebService for sf1.4

2010-06-06 Thread Stéphane ERARD
Up ? On 2 juin, 17:45, Stéphane stephane.er...@gmail.com wrote: Another problem I see is this plugin doesnt take care of plugin modules. Anyone made anything for this to work for plugin modules ? Thank you ! Cheers, Before Printing, Think about Your Environmental Responsibility! Avant

[symfony-users] dsExtDirectPlugin and plugins-modules

2010-06-02 Thread Stéphane ERARD
Hi list, I have generated a plugin with a module and declared, using doc annotations, a extdirect service. It looks like the dsExtDirect task does not take care of the plugin modules, so I guess this has been forgotten. I'm going to change the task so it supports generating API specs for

[symfony-users] Re: dsExtDirectPlugin and plugins-modules

2010-06-02 Thread Stéphane ERARD
Aaah just found the answer; it is managed via the app_ds_ext_direct_plugin_include_plugins :-) Thank you ! On 2 juin, 11:14, Stéphane ERARD stephane.er...@gmail.com wrote: Hi list, I have generated a plugin with a module and declared, using doc annotations, a extdirect service. It looks

[symfony-users] ckWebService for sf1.4

2010-06-02 Thread Stéphane ERARD
Hi list, I'm using ckWebService on symfony 1.4 (using svn co; not cli plugin:install). I have to change a method in the ckWebServiceController.class.php/ ckWebServiceController-getResultAdapter method Here is my own : /** * Gets the result adapter for the current action, if no instance

Re: [symfony-users] ckWebService for sf1.4

2010-06-02 Thread Stéphane
, Jun 2, 2010 at 5:42 PM, Stéphane ERARD stephane.er...@gmail.comwrote: Hi list, I'm using ckWebService on symfony 1.4 (using svn co; not cli plugin:install). I have to change a method in the ckWebServiceController.class.php/ ckWebServiceController-getResultAdapter method Here is my own

Re: [symfony-users] Нужен программис т в Москве на 1 неделю (Symphony PHP Framewo rk)

2010-05-31 Thread Stéphane
Please, english :o) Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! 2010/5/31 Геоком Перово number...@gmail.com Приветствую! Нашей компании нужен программист на неделю (может чуть больше) подменить нашего

Re: [symfony-users] how to change text label attached to new link in embedRelation form

2010-05-27 Thread Stéphane
Hi, $this-getWidget($uglyName)-setLabel('my smart label'); Cheers, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Fri, May 28, 2010 at 12:25 AM, Tofuwarrior p...@clearintent.co.ukwrote: I have

Re: [symfony-users] best practice to save nb_comments

2010-05-25 Thread Stéphane
Hi, No, think about listeners on Doctrine_Record and the postInsert hook. Cheers, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Tue, May 25, 2010 at 2:34 AM, comb sa...@gmx.net wrote: Hi! I have a

Re: [symfony-users] Re: How to retrieve the value of a field in configure() function

2010-05-22 Thread Stéphane
Wouldn't it be good too to validate them as not required then use an sfValidatorCallback using $this(form)-setPostValidator(new sfValidatorCallback()) ? This is used when one field validation depends on some others. Another way is to make the $required of your validators being options, using

Re: [symfony-users] MVC vs module in Symfony

2010-05-18 Thread Stéphane
Hi, From what I understand : Model: Doctrine/Propel View: Partials, templates (sfPHPView engine) Controler: Action, Component Modules are containers for actions, to group them somehow. Cheers, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre

Re: [symfony-users] plz unsubscribe me from this group

2010-05-15 Thread Stéphane
To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Sat, May 15, 2010 at 2:56

Re: [symfony-users] Re: sf/doctrine performance

2010-05-07 Thread Stéphane
And do || processing on multiple servers if possible/needed. Use stdin to retrieve to-compute xml parts for each segment. So you can pipe your commands. Cheers, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!

Re: [symfony-users] How I can share some functionality between models

2010-05-06 Thread Stéphane
Hi, About models, it is a Doctrine concern I believe. Take a look at Doctrine_Template. Cheers, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Thu, May 6, 2010 at 11:41 AM, Alexandru-Emil Lupu

[symfony-users] ckWebServicePlugin

2010-05-03 Thread Stéphane ERARD
Hi list, I'd like to know if this plugin (ckWebServicePlugin) is usable for sf1.4.4 and up ? I'm trying to test it but can't make it working. Perhaps I've done something wrong or doc is out of date according to sf1.3-1.4 changes. Don't know. Thanks ! -- If you want to report a vulnerability

Re: [symfony-users] Overriding Queries - Doctrine

2010-05-02 Thread Stéphane
Hi, Look at DQL pre hooks. Looks like you want to add a preDqlSelect in a listener. Look at the Doctrine documentation about this. Cheers, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Mon, May 3, 2010 at

  1   2   3   >