You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here is a description of the current implementation of this bundle.
For now, only PHPCR is supported
It only handle localized domains (each domain is mapped to a locale)
A locale listener sets the current request locale in function of the current domain
A listener sets each route host and locale requirement on load, persist and move events (like the idPrefixListener). This way only routes having the required host and locale will match.
Symfony 2.4 is finally not required. I wasn't able to return the current domain base bath only (so the current request isn't necessary anymore). I have to return all domains base paths, else generating url for other locales isn't possible.The only issue I have about generating url for other locales would be solved with this PR : Force absolute url generation depending on route host symfony-cmf/Routing#112. In this case, the router must generate an absolute url (with the good domain !)
Currently the routes base paths are, for example, /cms/routes/www.example.org. You have to manually create the routes document named with the domains, so you can link them to a content, etc. It could also be possible to use the locale instead, like /cms/routes/en (maybe via a configuration option ?)
Here is a description of the current implementation of this bundle.
hostandlocale requirementonload,persistandmoveevents (like theidPrefixListener). This way only routes having the requiredhostandlocalewill match./cms/routes/www.example.org. You have to manually create the routes document named with the domains, so you can link them to a content, etc. It could also be possible to use the locale instead, like/cms/routes/en(maybe via a configuration option ?)@lsmith77 @dbu @ElectricMaxxx