Re: [symfony-users] Auto-filling caches

2011-02-10 Thread Benoit Montuelle
, it seems you can do it more naturally when a new post is created, with setPageCache goog_277624711 http://trac.symfony-project.org/browser/branches/1.4/lib/view/sfViewCacheManager.class.php#937 method. Regards Benoit 2011/2/10 Robert Gründler r.gruend...@gmail.com Hi, Imagine a blog where each

[symfony-users] No executed php code in component

2010-09-12 Thread Benoit Pr
of written above is working. I am under Symfony 1.4 Benoit -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email

RE: [symfony-users] Re: IE8 and isXmlHttpRequest

2010-09-01 Thread Benoit Montuelle
I think most javascript frameworks add this header to the request automatically, I don't know if its done using plain javascript. I once had this issue using mootools but it was a bug in our JS code overwriting all http header instead of adding the needed one, and not a symfony bug. Regards

RE: [symfony-users] mobile site strategy

2010-09-01 Thread Benoit Montuelle
I've done it by adding specific layout, templates and stylesheet to the existing app. You can trigger events in your project configuration upon user agent to change templates and specific configuration. The strategy to use another app depends wether your mobile app should have the same

[symfony-users] htaccess 2 applications in /web: strange problem

2010-08-26 Thread Benoit Pr
Hi, I have 2 applications: app1 app2, which directory web files are both in /web. Here's my problem:while rewrite works perfectly for app1, rewrite works partially for app2: css, img js are not loaded. When we both exchange app* places in .htaccess, app2 works perfectly, then app1 works

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

2010-08-26 Thread Benoit Pr
Hi, I just implemented this plugin, which seems very interesting (1.4 compatible also). However, when i use a_include*, I am collecting js and css which are not in my project, like these one for example: /apostrophePlugin/css/a-reset.css /apostrophePlugin/css/a-utility.css

RE: [symfony-users] Application Desktop

2010-08-20 Thread Benoit Montuelle
You could achieve this with various commercial solutions, like those quoted by Jochem. Others exists but as far as I know none for free or opensource. Another option is to go with a redistribuale VM (appliance) or create a custom ubuntu bootable cd that start servers and browser... Good luck

RE: [symfony-users] APPs vs Modules/Actions: Pro's and Con's????

2010-08-18 Thread Benoit Montuelle
from other ones as possible, it eases refactoring a lot. Regards Benoit -Original Message- From: Kei Takahashi bzit...@gmail.com Sent: mercredi 18 août 2010 06:39 To: symfony users symfony-users@googlegroups.com Subject: [symfony-users] APPs vs Modules/Actions: Pro's and Con's Hi, I

RE: [symfony-users] L18N helper not extracting strings in forms !

2010-08-09 Thread Benoit Montuelle
Hi, It seems to search to __ calls only in template/partials. You can add them manually in xliff file, as long as you keep IDs incremented. Regards, Benoit -Original Message- From: Tristan tristan.bessou...@gmail.com Sent: lundi 9 août 2010 19:49 To: symfony users symfony-users

Re: [symfony-users] not escaping some html code in a template

2010-05-26 Thread Benoit Montuelle
example $message is Doctrine_Record instance) object methods functional, but it worked. If needed source of version used is here http://trac.symfony-project.org/browser/branches/1.4/lib/escaper/sfOutputEscaper.class.php Regards, Benoit 2010/5/26 l3ia-etu emmanuel.tul...@gmail.com Hello everyone

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

2010-05-18 Thread Benoit Montuelle
Hi, Sorry I've never seen such a diagram. There is an UML picture of symfony imternals. A module covers view and controller tiers in mvc, and yes you can define filters and forms on each module, or overload the generated ones, just pût them in module/lib folders. To disable filters in an

Re: [symfony-users] about webservices

2010-04-07 Thread Benoit Montuelle
In your case it's a good to use web services to abstract database model B as you know it'll be modified soon. Where I disagree is putting all on the same SF project, you should separate your app in 2 parts : - The main project, embedding A database models and acting as web service consumer

[symfony-users] Cross app / system wide i18n files

2010-03-30 Thread Benoit
translations in a plugin. Regards, Benoit -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com 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: [symfony-users] Why i can not retrieve a constant from app.yml ?

2010-03-30 Thread Benoit Montuelle
is replacing subsequent levels with underscores in the key name of config value In your case, it returns 'sfGuardFormSignin' because you passed it to sfConfig::get as default value (second parameter), and your config is not existing Benoit 2010/3/30 Javier Garcia tirengar...@gmail.com Hi, this is my

Re: [symfony-users] What is the difference of Module and ModuleTable?

2010-03-24 Thread Benoit Montuelle
, searching for records are in this class. Regards, Benoit Le 24 mars 2010 à 07:49, 張偉 w.zh...@panitec.com a écrit : Hello guys! I'm a begainner of symfony and doctrine technology. Yestoday, I set up symfony1.4+netbeans6.8+php+doctrine+mysql+apache+windows and displayed the http://localhost

Re: [symfony-users] Re: Saving some data during insert, update, and deleting object?

2010-03-22 Thread Benoit Montuelle
Look at doctrine event system. It implement pseudo event methods (pre/postSave, preDelete, postHydrate ,etc) in Doctrine_Record class, you can easily override them, they are call at right time to modify values on object Regards, Benoit Le 22 mars 2010 à 12:56, verox pawel.rz...@gmail.com

Re: [symfony-users] UML diagram of Symfony

2010-02-12 Thread Benoit Montuelle
Hi, I found this http://trac.symfony-project.org/attachment/wiki/WikiStart/symfony_uml.zip . It has 1 year old, so I think it is 1.0 or 1.2 framework. 2010/2/12 Maxim Tsepkov azrael@gmail.com Does anyone have any sort of UML diagram of Symfony internals, interfaces, etc. It would be

Re: [symfony-users] actAs Timestampable requiring created_at in update

2010-01-20 Thread Benoit Montuelle
It's perfectly normal. These 2 field added by actAsTimestampable Behavior are not to be editable by users. You should remove them in your form class configure() method : unset($this['created_at']); unset($this['updated_at']); Hope this helps Regards, Benoit Le 20 janv. 2010 à 06:09

Re: [symfony-users] Open an Excel file

2010-01-15 Thread Benoit Montuelle
Hi, I think there may be at least 2 solutions : 1st) - Make for form so user can upload one or more file - Modify that file in php, this point may be though, as php excel writers have generally limited support. You can try something like this http://pear.php.net/package/Spreadsheet_Excel_Writer

[symfony-users] SfForm embed different forms with the same model behind

2010-01-08 Thread Benoit Montuelle
? Best regards, Benoit -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For mo

[symfony-users] Re: SfForm embed different forms with the same model behind

2010-01-08 Thread Benoit Montuelle
2010/1/8 Benoit Montuelle benoit.montue...@gmail.com Hi list, I am working with symfony 1.4 to build a simple registration form, I got 2 models for this part : Registration and Person, which works with standalone generated modules. The registration model has 2 one to one relations

Re: [symfony-users] OT: Create PHPCod comments automatically

2009-12-17 Thread Benoit Montuelle
of it Cheers, Benoit 2009/12/17 Georg Gell geor...@have2.com Hello list, just a quick OT post: I am looking for a way to auto add auto prefilled PHPDoc comments on my PHP files. For example if I have a method like this: public function doSomething($var){ then it should add above (if no PHPDoc

[symfony-users] Re: Doctrine custom theme

2009-12-16 Thread Benoit
Alternatively, you can put it in a plugin, we use something like this plugins/sfAdminThemePlugin/data/generator/sfDoctrineModule/ THEME_NAME This way you can reuse the theme in any new project you got. Regards, Benoit On Dec 16, 10:02 am, Daniel Londero daniel.lond...@gmail.com wrote: On 16

[symfony-users] Re: symfony - WINDOWS path

2009-12-16 Thread Benoit
That's because you're using windows. You can convert backslashes to slash without trouble, windows handle both for a while now. But, this will not work yet because you're using file system path instead of URI for image src. At the end you should have image written like this img

Re: [symfony-users] Symfony developer per hour salary

2009-12-14 Thread Benoit Montuelle
This is true, but depends on context and client. For instance here in France, for a contract employee it may be around 20€ per hour, once charges and taxes deducted. A freelancer should charge at least twice to cover taxes, so almost 50USD. Le 14 déc. 2009 à 15:21, Eno symb...@gmail.com a

[symfony-users] Re: How can I custom the default css path

2009-08-25 Thread Benoit
and use   that instead of the AssetHelper class ..oO  David Wang  Oo.. ..oO  blog  -http://www.udfi.biz ..oO  JennieBot -www.jenniebot.com- helping you be a better you! On Aug 24, 2009, at 11:06 AM, Benoit wrote: Hi, I want to change the default path to css directory

[symfony-users] How can I custom the default css path

2009-08-24 Thread Benoit
Hi, I want to change the default path to css directory, but in the function stylesheet_path (AssetHelper.php) the directory name css is hard coded. (I'm working with Symfony 1.2.5) I don't want to have to specify another directory in each use of addStylesheet() Any idea to perform this ?

[symfony-users] Re: sfSimpleBlog, sfConfigCache

2007-04-17 Thread Benoit Masson
Hello, Does it work witht he lastest 1.0.2 ? or is it still with the trunk ? Thanks Benoit Le 9 avr. 07 à 20:50, Francois Zaninotto a écrit : Hi, Perhaps you missed this line in the wiki page: The symfony version must be at least r3703 (trunk version for now). You are not using