The Admin Sidebar can be organized from the Generator page
or directly edited from a simple JSON file..
You can easily organize your tables into multiple categories, drag & drop the categories & tables, and choose any icon for each table.
Just watch the video tutorial to see how it looks.
The navbar categories & tables are stored in a simple JSON file in php-crud-generator/admin/crud-data/nav-data.json
Here's an example of JSON content:
{
"navcat-0":{
"name":"Customer Data",
"tables":[
"customer",
"address",
"city",
"country"
],
"is_disabled":[
"false",
"false",
"false",
"false"
]
},
"navcat-1":{
"name":"Inventory",
"tables":[
"category",
"film",
"language",
"actor"
],
"is_disabled":[
"false",
"false",
"false",
"false"
]
}
}
You can edit this file with your favourite code editor to:
To build & customize your admin panel navbar with PHPCG you must beforehand:
The Bootstrap Admin Panel
Files & logic
Navbar
Content
Debug