Place in .ext config jqadmin
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Place in .ext config jqadmin
Hi if i add in in the last line (90 => 'Mypanel',) in
vendor\aimeos\ai-admin-jqadm\config\admin\jqadm\navbar.php
All runs ok, but i trying to adding it to my ext and can't.
Must i follow some concrete directory structure for the navbar.php and the resource.php?.
Thanks for the help
vendor\aimeos\ai-admin-jqadm\config\admin\jqadm\navbar.php
Code: Select all
<?php
return [
0 => 'dashboard',
10 => [
'' => 'sales',
10 => 'order',
20 => 'subscription',
],
20 => [
'' => 'goods',
10 => 'product',
20 => 'catalog',
30 => 'attribute',
40 => 'supplier',
],
30 => [
'' => 'users',
10 => 'customer',
20 => 'group',
],
40 => [
'' => 'marketing',
10 => 'coupon',
20 => 'rule',
30 => 'review',
],
50 => [
'' => 'configuration',
10 => 'settings',
20 => 'service',
30 => 'plugin',
],
60 => [
'' => 'locale',
10 => 'locale',
20 => 'locale/site',
30 => 'locale/language',
40 => 'locale/currency',
],
70 => [
'' => 'type',
10 => 'type/attribute',
20 => 'type/attribute/lists',
30 => 'type/attribute/property',
40 => 'type/catalog/lists',
50 => 'type/customer/lists',
60 => 'type/customer/property',
70 => 'type/media',
80 => 'type/media/lists',
90 => 'type/media/property',
100 => 'type/plugin',
110 => 'type/price',
120 => 'type/price/lists',
130 => 'type/price/property',
140 => 'type/product',
150 => 'type/product/lists',
160 => 'type/product/property',
170 => 'type/service',
180 => 'type/service/lists',
190 => 'type/stock',
200 => 'type/tag',
210 => 'type/text',
220 => 'type/text/lists',
],
80 => 'log',
90 => 'Mypanel',
];
Must i follow some concrete directory structure for the navbar.php and the resource.php?.
Thanks for the help
Re: Place in .ext config jqadmin
In your own extension, you must keep care of the directory structure too or you add the directory names to the configuration so it will build the complete configuration key. In your example, the ./config/admin.php file of your extension must look like:
The complete config key is "admin/jqadm/navbar" and the "admin.php" resolves to the first part of the key. In the ai-admin-jqadm, the "admin/jqadm" directores resolve to the first two parts and "navbar.php" to the third one.
Code: Select all
<?php
return [
'jqadm' => [
'navbar' => [
90 => 'mypanel'
]
]
];
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Place in .ext config jqadmin
Ok ill try
Thx for help
Thx for help