Hi,
I would like to expose actions of a Customer Page to the Navigations as Sub menus.
E.g.
EventPage
-- AddEvent (Action of EventPage_Controller)
-- AddSeries (Action of EventPage_Controller)
-- ShowSeries (Action of EventPage_Controller)
I tried to build a submenu with VitualPages/Redirects but the URL_Segment is not allowed to be the Action of the Controller as this is check in Sitetree/Validate Function:
if(self::config()->nested_urls && $parent = $this->Parent()) {
if($controller = ModelAsController::controller_for($parent)) {
if($controller instanceof Controller && $controller->hasAction($this->URLSegment)) return false;
}
}
Is there away to disable that for a certain controller or hook in the Navigation and add the Links via Controller instead of CMS?
Thx in advance!