Chill_user Posted May 19, 2020 Share Posted May 19, 2020 (edited) Hello to all, I am developping module for my needs and I tried to create custom controller in /mymodule/controllers/admin/AdminSample.php My code in AdminSample.php <?php class AdminSampleController extends ModuleAdminController { public function initContent() { //parent::initContent(); dump("testingworking"); } } I am taking the controller path with next code: $link = new Link(); dump($link->getAdminLink('AdminSample')); and result of this code (link): https://mydomain.com/aminpath/index.php?controller=AdminSample&token=xxxxxxxxxxxxxxxxxxxx I have strange error: Controller not found or Access denied What should I do? Edited May 20, 2020 by Amantha Bill (see edit history) Link to comment Share on other sites More sharing options...
Chill_user Posted May 20, 2020 Author Share Posted May 20, 2020 Anyone? Link to comment Share on other sites More sharing options...
Chill_user Posted May 20, 2020 Author Share Posted May 20, 2020 Solved Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now