Skip to content

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

Description

@akDeveloper

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions