-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
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
hostandlocale requirementonload,persistandmoveevents (like theidPrefixListener). This way only routes having the requiredhostandlocalewill 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 ?)
Metadata
Metadata
Assignees
Labels
No labels