kartik-v / yii2-tree-manager

An advanced tree management module using nested sets for Yii 2.
http://demos.krajee.com/tree-manager
Other
150 stars 107 forks source link

tree manager can't access nodeController with advanced template and pretty url #275

Closed gilangsugihardiansah closed 3 years ago

gilangsugihardiansah commented 3 years ago

hi all, how to run tree manager with advanced template and pretty url, becouse its not working in nodeActions, thx. Screenshot_2020-08-10 Admin-Simponi

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/92283275-tree-manager-with-advanced-template-and-pretty-url?utm_campaign=plugin&utm_content=tracker%2F10339775&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F10339775&utm_medium=issues&utm_source=github).

Untitled

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/92283275-tree-manager-can-t-access-nodecontroller-with-advanced-template-and-pretty-url?utm_campaign=plugin&utm_content=tracker%2F10339775&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F10339775&utm_medium=issues&utm_source=github).
CrownStrong commented 3 years ago

Try adding rules to urlManager. I'm not sure if this is correct

'urlManager' => [
        /* ...Your parameters... */
        'rules' => [
            /* ...Your rules... */
            'treemanager/node/manage' => 'treemanager/node/manage',
            'treemanager/node/save' => 'treemanager/node/save',
            'treemanager/node/remove' => 'treemanager/node/remove',
            'treemanager/node/move' => 'treemanager/node/move',
            'treemanager/node' => 'treemanager/node',
         ],
 ],
stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.