Jump to content

Zend Framework Routing: HTML Extension


GregL83

Recommended Posts

So i don't know about anyone else, but I think the Zend Framework docs are extremely difficult for new users.  I have done a lot of searching on google for what seems to be a trivial issue.  I would like to add the .html extension onto the routing.  I have one forum that mentions two sites for custom zend routing, but I have tried many methods without any results.

 

I dont' want to create an ini file.  I would like to use Zend_Controller_Router_Route or Regex version with the front controller.  Everytime i have tried a method to add my route, every page seems to take me directly to controller index action index.  I have deleted the custom routing and tried with the same results.  I also am trying to keep the rest of the routing as it is normally.  Simply, I want to add the extension without changing anything else.

 

Anyone have this example???

 

Thanks in advanced/

Link to comment
Share on other sites

Yeah, i have to agree the Zend framework isnt exactly well documented, their "quickstart" tutorial is more a demo of MVC rather than telling you how to use the framework.

 

Ive just completed my first site using the Zend Framework and ive gotta say I actually quite like it now. Whats the code you are trying at the moment to get your Zend_Controller_Router_Route to work?

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.