Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-05-2007, 10:58 PM
Junior Member
 
Join Date: Dec 2007
Posts: 1
Default Depth of controller folder

Hello,

I have a question about controller folder depth. Lets say i have module admin and the folder structure would be something like this:
admin
-controllers
--IndexController.php (class Admin_IndexController extends Zend_Controller_Action)
-models
-views

By that structure i would have URL like http://www.exmpl.com/admin/index/index
Admin being module name, index being controller and index (2) being action.

But i wish to keep my files a bit more organized, in more folders, structure like :
admin
-controllers
--news
---IndexController.php (??? class Admin_News_IndexController extends Zend_Controller_Action ???)
-views
-models

So this structure's url would be http://www.exmpl.com/admin/news/index/index
All fine if it would work, but looks like it doesn't allow subfolders of a module. It takes admin as module, news as controller file , and index as action ...
Am I missing something?

Anyone with solution or anyone who can confirm this is not possible, please reply

Ty

Last edited by agatone : 12-05-2007 at 11:25 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 03:51 PM.