You would typically use routes to do something like that.
Take a look here to get started:
http://framework.zend.com/manual/en/zend.controller.router.html
For your specific case, I would look at Zend_Controller_Router_Route,
which is shown in chapter 7.5.6.1. of the manual page linked above.
On Sat, 31 May 2008 17:08:11 +0300, yps <[EMAIL PROTECTED]> wrote:
Hi,
I'm trying to get my URIs as simple as posible.
Right now a product detail page looks like this:
http://mydomain.com/index/show/id/23 etc..
but I want to get something like that:
http://mydomain.com/show/23
so I'd have have a controller called showController.php and and an action
called '23'
since I have thousands of products that's not an option at all.
how to tell controller to use some default action and treat that '23' as
a
parameter??
is that doable at all on ZF ??
Please help. thanks.