Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extending IndexController in modules will extend IndexController in default module #2

Open
akDeveloper opened this issue Jul 15, 2012 · 0 comments
Labels

Comments

@akDeveloper
Copy link
Owner

Extending IndexController in modules will extend IndexController from default module and not from the current module.

Example is when PagesController from Admin module will extends IndexController.
Expecting to extend Admin module IndexController but extends IndexController from default module.

Unable to find template .../modules/Admin/views/layouts/frontend.phtml

IndexController from default module has frontend.phtml layout.
IndexController from Admin module has admin.phtml layout.

By trying to load frontend.phtml layout means that extends IndexController from default module and not from Admin module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant