PHPackages                             twohill/silverstripe-nestedcontrollers - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Admin Panels](/categories/admin)
4. /
5. twohill/silverstripe-nestedcontrollers

ActiveSilverstripe-vendormodule[Admin Panels](/categories/admin)

twohill/silverstripe-nestedcontrollers
======================================

Base for easily setting up CRUD pages in the front end using nested controllers

v2.0.0(7y ago)14671BSD-3-ClausePHP

Since Mar 8Pushed 7y ago1 watchersCompare

[ Source](https://github.com/twohill/silverstripe-nestedcontrollers)[ Packagist](https://packagist.org/packages/twohill/silverstripe-nestedcontrollers)[ Docs](https://github.com/twohill/silverstripe-nestedcontrollers)[ RSS](/packages/twohill-silverstripe-nestedcontrollers/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (1)

NESTED CONTROLLERS SNIPPET FOR SILVERSTRIPE

About
=====

[](#about)

This isn't really a module, but I've re-used it with many projects now so I figured it deserved to be shared. It enables you to create a logical url structure for actions on records (DataObjects).

For example, it can be used for CRUD (Create Read Update Delete), or to step through required processes of creating an object in a logical way

eg: `/mypage/people/12/edit /mypage/people/12/favourite-people`

It allows deep traversal through related objects:

eg: `/mypage/people/12/mother/uncles/43/edit`

And it allows for easy theme overrides. \[Record\]\_\[function\].ss templates are chosen ahead of \[Record\].ss templates. And there are fallback templates to kick you off.

How to use
==========

[](#how-to-use)

As a starting point, you need a page that can call the nested functions. eg

```
