The route attribute of the page should be saved as a usable route. For this to work the following needs to happen:
- in the UI
- below the route attribute we need a linked combo selector, $module/$manager/$action with optional params field at end
- the values of the linked selector should be prefilled with:
- module: cms
- manager: contentview
- action: view
- params field: frmContentId/$contentId
- code
- onSave the following logic
- load routes.php in $aRoutes
- build new route structure based on input params
- if array already exists, give error
- otherwise save