<?php
return array(
    'router' => array(
        'routes' => array(
            'admin' => array(
                'type' => 'literal',
                'options' => array(
                    'route'    => '/admin',
                    'defaults' => array(
                        'controller' => 'SlmCmfAdmin\Controller\AdminController',
                        'action'     => 'index',
                    ),
                ),
                'may_terminate' => true,
                'child_routes' => array(
                    'page-open' => array(
                        'type' => 'SlmCmfAdmin\Router\Http\Segment',
                        'options' => array(
                            'route' => '/page/open/:id[/:params]',
                            'defaults' => array(
                                'controller' => 'SlmCmfAdmin\Controller\PageController',
                                'action' => 'open'
                            ),
                        ),
                    ),
                ),
            ),
        ),
    ),
    
    'view_manager' => array(
        'template_map' => array(
            'layout/admin' => __DIR__ . '/../view/layout/admin.phtml',
        ),
        'template_path_stack' => array(
            __DIR__ . '/../view'
        ),
        'helper_map' => array(
            'slug' => 'SlmCmfUtils\View\Helper\Slug',
            'url'  => 'SlmCmfUtils\View\Helper\Url',
        ),
    ),
);

<?php
return array(
    'router' => array(
        'routes' => array(
            'admin' => array(
                'type' => 'literal',
                'options' => array(
                    'route'    => '/admin',
                    'defaults' => array(
                        'controller' => 'SlmCmfAdmin\Controller\AdminController',
                        'action'     => 'index',
                    ),
                ),
                'may_terminate' => true,
                'child_routes' => array(
                    'page-open' => array(
                        'type' => 'SlmCmfAdmin\Router\Http\Segment',
                        'options' => array(
                            'route' => '/page/open/:id[/:params]',
                            'defaults' => array(
                                'controller' => 'SlmCmfAdmin\Controller\PageController',
                                'action' => 'open'
                            ),
                        ),
                    ),
                ),
            ),
        ),
    ),
    
    'view_manager' => array(
        'template_map' => array(
            'layout/admin' => __DIR__ . '/../view/layout/admin.phtml',
        ),
        'template_path_stack' => array(
            __DIR__ . '/../view'
        ),
        'helper_map' => array(
            'adminPageTree' => 'SlmCmfAdmin\View\Helper\PageTree',
        ),
    ),
);

Add admin page tree view helper to helper map
Add admin page tree view helper to helper map
