Zend framework - using router and rewrite router class

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • ivan.ilijasic@gmail.com

    #1

    Zend framework - using router and rewrite router class

    I'm having some troubles with configuraton of router class. Does
    anyone has functional example of how to use these classes?

    For example,
    when user enters www.example.org/article/45

    index.php should call article controller and calls show action.

    I was playing with addRoute method, but I'm not getting any
    results. .htaccess is well configured, and I'm properly calling
    actions with url format 'www.example.or g/controller/action'.

  • Andrew Taylor

    #2
    Re: Zend framework - using router and rewrite router class

    On 2007-03-01 14:03:56 +0000, ivan.ilijasic@g mail.com said:
    I'm having some troubles with configuraton of router class. Does
    anyone has functional example of how to use these classes?
    >
    For example,
    when user enters www.example.org/article/45
    >
    index.php should call article controller and calls show action.
    >
    I was playing with addRoute method, but I'm not getting any
    results. .htaccess is well configured, and I'm properly calling
    actions with url format 'www.example.or g/controller/action'.
    Have you tried the Akrabat tutorial:



    It's v. good.

    Andrew

    Comment

    • ivan.ilijasic@gmail.com

      #3
      Re: Zend framework - using router and rewrite router class

      Andrew Taylor je napisao/la:
      On 2007-03-01 14:03:56 +0000, ivan.ilijasic@g mail.com said:
      Have you tried the Akrabat tutorial:
      >
      http://akrabat.com/zend-framework-tutorial/
      It's good, but there is nothing about rewrite router class

      Comment

      • ivan.ilijasic@gmail.com

        #4
        Re: Zend framework - using router and rewrite router class

        I found the solution in this document.



        Thank you, Andrew.

        Comment

        Working...