Jump to content

Link for a admin module controller look like?


Recommended Posts

Admin controller look like

adminfolder/index.php?controller=AdminDemo&token=<a token value>

for this you have to create a controller file under

class AdminDemoController extends AdminController{
 // your functions goes here

Edited by Abdulla CM (see edit history)

Share this post

Link to post
Share on other sites

I wanted to make a admin module controller to have simple code like this 



if (!defined('_PS_VERSION_'))
Class AdminAllProductsController extends ModuleAdminController {
public function init()
$this->display_column_left = false;
    $this->display_column_right = false;
    $this->page_name = 'allproducts'; // page_name and body id
}  }
It shows controller not found

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More