*Sorry didn't do reply all *

By default the router uses /:controller/:action/* or if you have modules
then /:module/:controller/:action/* the /* indicates that anything can be
there instead so i think you should use just that.

On Wed, Mar 4, 2009 at 9:28 AM, Matthias W. <[email protected]
> wrote:

>
> Hi,
>
> I'm going to create a CMS in PHP with the Zend Framework.
>
> I thought to make URLs like this:
>
> http://www.xyz.com/[cms_path]/[language]/[module]/[page]/[subpage]/[subsubpage]/.<http://www.xyz.com/%5Bcms_path%5D/%5Blanguage%5D/%5Bmodule%5D/%5Bpage%5D/%5Bsubpage%5D/%5Bsubsubpage%5D/.>
> ..
>
> This is because I dont want to use the page Ids in the URLs.
>
> Now the question is how to route this, because I don't want to limit the
> subpage level.
>
> So I can't use
>
> Zend_Controller_Router_Router(':language/:module/:page/:subpage/:subsubpage/...')
> because this requires to limit the subpage level.
> Do I have to Route the URL manually?
>
> Has anyone a better way to route for a cms?
>
> Do I have to include the controller and the action in the URL, too?
>
>
>
> Thanks!
> Matthias
> --
> View this message in context:
> http://www.nabble.com/Router-for-CMS-tp22324969p22324969.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
>


-- 
Vincent Gabriel.
Lead Developer, Senior Support.
Zend Certified Engineer.

Reply via email to