Different url scheme for Zend Framework

Posted by ChrisRamakers on Stack Overflow See other posts from Stack Overflow or by ChrisRamakers
Published on 2010-03-28T16:22:49Z Indexed on 2010/03/28 16:53 UTC
Read the original article Hit count: 394

Filed under:
|
|
|

For our CMS we have a site manager that defines the site's tree structure (sitemap if you want to call it that).

A possible url is www.example.com/our-team/developers/chris/ which would map in the tree structure to the node chris, child old developers which is in turn a child of out-team.

All this is in place and working the the wonderfully implemented Nested Set behavior in doctrine. The only thing is that i'm struggling to get it working in the front end of our website. By default Zend framework's request object expects controller/action/key/value/key/value/... URI scheme but that isn't quite fitting my needs, i would like to skip the whole controller, action and key part and restrict to values. Something like value1/value2/value3/value4/...

Anyone has an idea how to accomplish this?

© Stack Overflow or respective owner

Related posts about php

Related posts about zend-framework