How to remove specific panel icons?

How to configure and adapt Aimeos based shops as developer
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!
User avatar
aimeos
Administrator
Posts: 7941
Joined: 01 Jan 1970, 00:00

Re: How to remove specific panel icons?

Post by aimeos » 03 Nov 2020, 08:23

Configuration settings added in Aimeos extensions are merged together so it doesn't change anything if you copy the file and remove some entries. To remove settings, you have to add the new configuration to your ./config/shop.php file. Settings there take precedence over settings from extensions.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
aimeos
Administrator
Posts: 7941
Joined: 01 Jan 1970, 00:00

Re: How to remove specific panel icons?

Post by aimeos » 07 Nov 2020, 08:45

Use this in your Laravel ./config/shop.php file and remove the panels you don't want to show:

Code: Select all

'admin' => [
	'jqadm' => [
		'navbar' => [
	0 => 'dashboard',
	10 => 'order',
	20 => 'customer',
	30 => 'product',
	40 => 'catalog',
	50 => 'attribute',
	60 => 'coupon',
	70 => 'review',
	80 => 'subscription',
	90 => 'supplier',
	100 => 'service',
	110 => 'plugin',
	120 => 'group',
	130 => [
		'' => 'locale',
		10 => 'locale',
		20 => 'locale/site',
		30 => 'locale/language',
		40 => 'locale/currency',
	],
	140 => [
		'' => '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',
	],
	150 => 'log',
		],
	],
],
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply