Awesome q2a theme

How to create a page in the admin?

0 like 0 dislike
41 views
Just started to deal with PrestaShop. I need to create a page in the admin and display it from database table data.
Not found on the Internet of guide how to create a page in the admin area. Please help
by | 41 views

2 Answers

0 like 0 dislike
For such tasks in PS is "Advanced parameters SQL Manager" (URL: index.php?controller=AdminRequestSql)
by
0 like 0 dislike
https://www.prestashop.com/forums/topic/283321-how...

here is the answer to the question how to create a custom stranee menu in adminkit and add

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

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

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

}
}
Delete: /cache/class_index.php

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

zzz{$test}zzz
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.
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
asked Aug 7, 2019 by andruschenko033
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
110,608 questions
257,187 answers
0 comments
40,796 users