create the /admin/AdminPageController.php controllers with the following contents:
class AdminPageController extends AdminController { public function initContent() { parent::initContent(); $smarty = $this->context->smarty; $smarty->assign('test', 'test1'); } }
Delete: /cache/class_index.php
Create: admin \ themes \ default \ template \ controllers \ page \ content.tpl
zzz{$test}zzz
In BackOffice → Administration → Menu → [Add New]:
Name: Page Class: AdminPage Parent: Catalog
Click the [Save] button, and the menu item should appear in the "Catalog" menu.
source share