Re: [symfony-users] Re: caching problem in firefox

2010-07-26 Thread Lea Hänsenberger
Hi Georg, Ok, I tried with disabling all the firefox addons, clearing the cache and sending the cache headers in both the homepage action and the login action. I encountered the same behaviour. If I check the http response on the login page I see the headers I sent. On the homepage they seem

Re: [symfony-users] Re: caching problem in firefox

2010-07-26 Thread Lea Hänsenberger
'])); } } } // Execute next filter $filterChain-execute(); } } On Jul 26, 2010, at 11:58 , Georg wrote: Do you have with_layout: true in your cache.yml? Am 26.07.2010 11:17, schrieb Lea Hänsenberger: Hi Georg, Ok, I tried with disabling all the firefox addons, clearing the cache

Re: [symfony-users] Re: caching problem in firefox

2010-07-26 Thread Lea Hänsenberger
as the user is not logged in (which I guess whas the intended behaviour by you) HTH Georg Am 26.07.2010 12:04, schrieb Lea Hänsenberger: No, we use a filter class. The filter.yml entry is the following: conditionalCache: # all pages added to this are cached only for anonymous users

Re: [symfony-users] Re: caching problem in firefox

2010-07-26 Thread Lea Hänsenberger
, Paul -- Open Systems (Pty) Ltd. P.O. Box 45533 Gaborone Botswana Tel: +267 3901006 Fax: +267 3188219 Cell: 71301347 On Monday 26 Jul 2010 at 11:17, Lea Hänsenberger wrote: Hi Georg, Ok, I tried with disabling all the firefox addons, clearing the cache and sending the cache

[symfony-users] Re: css/js/images on different server

2010-06-11 Thread Lea Hänsenberger
does nobody have experience with such a server setup? I'd really be glad for some help, even if it's just telling me that my idea is not as bad as I think ;-). cheers, lea On Jun 10, 2010, at 14:30 , Lea Haensenberger wrote: Hi all, on our live server we'd like to have all the css, js and

Re: [symfony-users] Strange Routing Behaviour

2010-04-14 Thread Lea Hänsenberger
I'm not that good with rewrite rules, but the only ones we have for our project is the standard symfony .htaccess file: # we check if the .html version is here (caching) RewriteRule ^$ index.html [QSA] RewriteRule ^([^.]+)$ $1.html [QSA] RewriteCond %{REQUEST_FILENAME} !-f # no, so we

Re: [symfony-users] Adding action, object_actions - action does not exist ?

2010-03-29 Thread Lea Hänsenberger
Hi, did you also create the route for that action in the routing.yml? Cheers, Lea On Mar 26, 2010, at 10:04 , Rs232 wrote: hello, here I use the admin generator, I would like to add an action showInfos on my items so I change my generator.yml Code: object_actions: _edit:

Re: [symfony-users] Re: Adding action, object_actions - action does not exist ?

2010-03-29 Thread Lea Hänsenberger
, no I did not edit the file routing.yml, how should we set this one? thank you for your help On Mar 29, 7:39 am, Lea Hänsenberger baerne...@gmail.com wrote: Hi, did you also create the route for that action in the routing.yml? Cheers, Lea On Mar 26, 2010, at 10:04 , Rs232 wrote

Re: [symfony-users] best practice i18n date

2010-03-23 Thread Lea Hänsenberger
thanks On Mar 23, 2010, at 14:13 , Thomas Rabaix wrote: format_date() is the way to go in template On Tue, Mar 23, 2010 at 10:14 AM, Lea Haensenberger baerne...@gmail.com wrote: Hi all, what's best practice to display culture dependent date formats? Do I have to call format_date()

Re: [symfony-users] prefill login form

2010-03-23 Thread Lea Hänsenberger
anyone? On Mar 22, 2010, at 16:47 , Lea Haensenberger wrote: Hi all, I'd like to pre-fill the username of the sfDoctrineGuardPlugin login form, after the user registered and confirmed his email. Is there an easy way to pre-fill values in the login form or do I have to override the

Re: [symfony-users] Re: prefill login form

2010-03-23 Thread Lea Hänsenberger
Thanks for your answers. I saved the email to the user session and set it as default in the form. That works perfectly. On Mar 23, 2010, at 16:02 , Manel wrote: Maybe you can pass the username as a parameter and retrieve from the request. On 22 mar, 16:47, Lea Haensenberger

Re: [symfony-users] How to access user details with sfGuard

2010-03-21 Thread Lea Hänsenberger
Hi Fabrizio, in action classes you can access the user with $this-getUser()-getGuardUser() and the profile with $this-getUser()-getProfile(). In a template you can access them with $sf_user-getGuardUser() ...-getProfile(). Cheers, Lea On Mar 21, 2010, at 17:06 , Fabrizio Scimia wrote: Hello,

Re: [symfony-users] Re: relation between tables without onDelete

2010-03-19 Thread Lea Hänsenberger
before the line where you delete the user. Probably you have to save the partner after unlinking and before deleting the user. On Mar 19, 2010, at 10:12 , saki wrote: thank you! where can I put the unlink row? On Mar 18, 7:35 pm, Lea Hänsenberger baerne...@gmail.com wrote: hi, there's

Re: [symfony-users] relation between tables without onDelete

2010-03-18 Thread Lea Hänsenberger
hi, there's still a partner with a foreign key pointing to the user you want to delete. you should first unlink the user from the partner: $partner-unlink('rmUser',$user_id); Then you should be able to delete the user object. cheers, Lea On Mar 18, 2010, at 13:19 , saki wrote: hi guys!

Re: [symfony-users] Accessing relations after form-save()

2010-03-17 Thread Lea Hänsenberger
Hi, did you try to $obj-refresh() and/or $obj-refreshRelated() before accessing any relations? Don't know, if it helps, but it's possible :-). Cheers, Lea On Mar 17, 2010, at 15:51 , Andreas Stephan wrote: Hi, I am saving a form with embeddedForms (m:n) and Doctrine. After calling $obj =

Re: [symfony-users] setPostValidator and mergePostValidator - conflitcs

2010-03-16 Thread Lea Hänsenberger
Hi, use an sfValidatorAnd to combine the two post validators: $this-mergePostValidator(new sfValidatorAnd(array( new sfValidatorCallback(array('callback' = array($this, 'checkSOCIALSECURITY'))), new sfValidatorSchemaCompare('senha', sfValidatorSchemaCompare::EQUAL,

Re: [symfony-users] Re: Embedded forms

2010-03-14 Thread Lea Hänsenberger
Hi, since we have multiple forms with embedded forms I hoped there's some general solution. But custom templating for every form seems to be the easiest way to have the forms as we want them. Thanks. Cheers, Lea On Mar 14, 2010, at 12:52 , Thibault Jouannic wrote: Hi, Don't use merged

Re: [symfony-users] swift mailer - delivery_strategy: none

2010-03-12 Thread Lea Hänsenberger
Additionally set transport class to Swift_NullTransport to avoid this: dev: mailer: param: delivery_strategy: none transport: class: Swift_NullTransport Cheers, Lea On Mar 12, 2010, at 3:22 , Kevin wrote: When the delivery strategy is set to none should swift mailer