On Thu, Jul 18, 2013 at 3:21 PM, Tomasz Kuter <[email protected]> wrote:
> Hi all,
>
> I am working on own CMS system in Zend Framework 2.
> It means I will have frontend and backend site.
>
> I would like to have backend at following url:
> /admin
>
> In administration panel there will be a few sections at the beginning e.g.
> webpages, news, media.
> These sections will be available as follow:
> /admin/webpages
> /admin/news
> /admin/media
>
> Each section has many actions e.g. add, edit, delete.
>
> I would like to have following modules:
> 1. admin (general functionality)
>
> 2. website (webpages management)
> a) index controller (frontend)
> b) admin controller (backend)
>
> 3. news (news management)
> a) index controller (frontend)
> b) admin controller (backend)
>
> 4. etc
>
> Currently I have all admin routes in file
> /module/Admin/config/module.config.php
>
> Is there a possibility to keep main /admin route in mentioned file,
> and sections route (e.g. /admin/webpages) in separate modules?


There's a module for that: https://github.com/ZF-Commons/ZfcAdmin

Essentially, it allows you to define your admin controllers and views
in the modules in which the functionality is defined, but then tie
into a centralized "admin interface" via routing.



--
Matthew Weier O'Phinney
Project Lead            | [email protected]
Zend Framework          | http://framework.zend.com/
PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc

-- 
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to