Jump to content

Create a admin controlller in prestashop 1.6


Recommended Posts



create controllers/admin/AdminPageController.php with the follwing content:

class AdminPageController extends AdminController
public function initContent()
$smarty = $this->context->smarty;

$smarty->assign('test', 'test1');


Delete: /cache/class_index.php

Create: admin\themes\default\template\controllers\page\content.tpl


At BackOffice -> Administration -> Menus -> [Add New]:

Name: Page
Class: AdminPage
Parent: Catalog

Click the [save] button and the menu item should appear at the "Catalog" menu.

Edited by JoelWebsites (see edit history)
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...