Jump to content

Link for a admin module controller look like?


JoelWebsites

Recommended Posts

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

 

 

<?php
 
if (!defined('_PS_VERSION_'))
exit;
 
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
    parent::init();
$this->setTemplate('allproducts.tpl');
}  }
 
 
It shows controller not found
Link to comment
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...