[symfony-users] Re: local layout inside main layout

2009-06-17 Thread passkey
Hi, as far as I know, it's not possible to have a layout in module level, I bypass this by using slot, for example in layout.php, I define a slot: Default header and then fill the slot with your contextual content in templates: Forum header On Jun 17, 9:46 am, dziobacz wrote: > I have

[symfony-users] Re: Problems with i18n

2009-06-16 Thread passkey
Hi, try renaming your files to: * Deutsch: messages.de.xml * Spanish: messages.es.xml * French: messages.fr.xml And make sure the symfony cookie is clear everytime you switch the language. On Jun 16, 7:01 pm, Reynier Pérez Mira wrote: > Hi every: > I'm developing a web application and I need to

[symfony-users] Re: Caching per-user pages and security

2009-06-16 Thread passkey
Ah I understand, i had the same issue before and my solution was what you're thinking to do, move the code to be cached in a component, then in the action make a include_component() with respective parameter, e.x: include_component('myModule/myComponent',array('params' => $params, 'user_id' => $sf

[symfony-users] Re: Caching per-user pages and security

2009-06-15 Thread passkey
Hi, is your request for order-history done via a SOAP call? If it's so I don't thing the cache is generated properly for each user since the user_id passed in the url is not taken into account. In that case, you've better implement a proxy that itself calls the api and caches the response regardin