symfony-cmf / simple-cms-bundle

UNMAINTAINED - A more-than-simple cms based on the cmf components
http://cmf.symfony.com/
49 stars 45 forks source link

additional routes mapped on simplecms page #109

Open dbu opened 10 years ago

dbu commented 10 years ago

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.

lsmith77 commented 10 years ago

imho something we can look into for 1.2

dbu commented 10 years ago

sure, not for 1.1 anymore

Richtermeister commented 10 years ago

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.

lsmith77 commented 10 years ago

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

dbu commented 10 years ago

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.