Thanks very much
On May 3, 8:23 am, Саша Стаменковић umpir...@gmail.com wrote:
{{ path('myroute', {'_locale': app.request.attributes.get('_locale')}) }}
---
Regards,
Saša Stamenković
On Sun, May 1, 2011 at 10:35 AM, robjensen82 robjense...@gmail.com wrote:
Hi there,
I'm
Hi there,
I'm in the process of making a new site and I've decided to include
the locale in the url of every page. Currently what I'm having to do
is pass into every controller a $_locale parameter and then pass that
same variable into every template so that I can render my menu that
depends on
)
cheers,david
Am 29.04.2011 13:25, schrieb robjensen82:
Thanks for the reply David. I would have thought config_prod.yml would
have been useful for exactly the situation you're describing. O well
I've managed to chop it out.
Rob
On Apr 29, 11:20 am, David Buchmann
Hi Chris,
I'm dealing with the same issue at the moment, regarding your routing
issue. This is worth a look:
https://github.com/BeSimple/I18nRoutingBundle
Not going to stop you having to put $_locale in all your controllers,
but seems pretty nice for having a single route for multiple
languages.
What's the point in the parameters.ini? why not just stick to
config.yml?
--
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
29.04.2011 12:09, schrieb robjensen82:
What's the point in the parameters.ini? why not just stick to
config.yml?
the idea is that config.yml is under version control, while
parameters.ini contains confidential data like database password and
such. as well as setup specific stuff (database
Thanks very much for that Jordi, will have another go today.
Rob
On Apr 16, 8:48 pm, Jordi Boggiano j.boggi...@seld.be wrote:
On 15.04.2011 13:45, robjensen82 wrote:
Hi there,
I'm new to both Symfony2 and git, enjoying having a go with both at
the moment. I've downloaded and extracted
Hi there,
I'm new to both Symfony2 and git, enjoying having a go with both at
the moment. I've downloaded and extracted Symfony2 Standard Edtion
PR11.
1. I'd like to keep my 'vendor bundles' up to date, so when PR12 or
what ever comes out I'd like to be able to keep this up to date in the
same