simple-cms-bundle icon indicating copy to clipboard operation
simple-cms-bundle copied to clipboard

additional routes mapped on simplecms page

Open dbu opened this issue 11 years ago • 5 comments

if we would map route referrers on the simple cms page and on getRouteReferrers return them, together with "$this", you could use this bundle to do full translated urls while keeping a single menu tree. it would be the model of having a "main language" with additional translated urls pointing to the content in the main language.

dbu avatar Apr 15 '14 14:04 dbu

imho something we can look into for 1.2

lsmith77 avatar Apr 15 '14 14:04 lsmith77

sure, not for 1.1 anymore

dbu avatar Apr 15 '14 14:04 dbu

This seems to be the right place to ask this question.. It seems using the simplecms is an all or nothing approach that combines routes/content/menus without the ability to define additional routes and menus in addition. Is this correct or am I missing something?

It would seem this way because I had to configure routing and menu bundles to read from the same tree root (where the pages live) to make things.

Thank you for your help.

Richtermeister avatar May 15 '14 22:05 Richtermeister

no .. you can place a normal route within a subtree with simplecms pages .. same for menu

lsmith77 avatar May 16 '14 07:05 lsmith77

if you use sonata admin, you have to change the base path to /cms/simple for the route admin. for menu admin probably as well change the base path in cmf_menu.

dbu avatar May 16 '14 08:05 dbu