Admin Dashboard - Add a custom tab in locale menu
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Admin Dashboard - Add a custom tab in locale menu
Laravel: 5.6
Aimeos: 2018.04
PHP: 7.x
Hello everyone,
Can anyone guide me how to add new page under Locale Settings? See attached screen-shot:
Thanks!
Aimeos: 2018.04
PHP: 7.x
Hello everyone,
Can anyone guide me how to add new page under Locale Settings? See attached screen-shot:
Thanks!
Re: Admin Dashboard - Add a custom tab in Locale menu
Create a Factory and a Standard implementation for the new panel like these ones:
https://github.com/aimeos/ai-admin-jqad ... e/Currency
Place them in your own extension in ./admin/jqadm/src/Admin/JQAdm/Locale/<name>/
Add a template for list and detail view like these:
https://github.com/aimeos/ai-admin-jqad ... e/currency
Place them in your own extension in ./admin/jqadm/templates/locale/<name>/
Overwrite the configuration for locale in the configuration file of your extension and add the name of your new panel as "locale/<name>":
https://github.com/aimeos/ai-admin-jqad ... in.php#L17
Add permissions for groups in the configuration file of your extension for your new panel like here:
https://github.com/aimeos/ai-admin-jqad ... n.php#L244
https://github.com/aimeos/ai-admin-jqad ... e/Currency
Place them in your own extension in ./admin/jqadm/src/Admin/JQAdm/Locale/<name>/
Add a template for list and detail view like these:
https://github.com/aimeos/ai-admin-jqad ... e/currency
Place them in your own extension in ./admin/jqadm/templates/locale/<name>/
Overwrite the configuration for locale in the configuration file of your extension and add the name of your new panel as "locale/<name>":
https://github.com/aimeos/ai-admin-jqad ... in.php#L17
Add permissions for groups in the configuration file of your extension for your new panel like here:
https://github.com/aimeos/ai-admin-jqad ... n.php#L244
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: Admin Dashboard - Add a custom tab in locale menu
Good afternoon, the last 2 links are not working.
Re: Admin Dashboard - Add a custom tab in locale menu
The configuration files have been moved. Now its:
- https://github.com/aimeos/ai-admin-jqad ... ar.php#L16
- https://github.com/aimeos/ai-admin-jqad ... e.php#L217
- https://github.com/aimeos/ai-admin-jqad ... ar.php#L16
- https://github.com/aimeos/ai-admin-jqad ... e.php#L217
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: Admin Dashboard - Add a custom tab in locale menu
Tell me, how to specify the read new navbar and resource? I added new files but the information is displayed on the old.
Re: Admin Dashboard - Add a custom tab in locale menu
You have to use in your ./config/shop.php file:
Code: Select all
'admin' => [
'jqadm' => [
'navbar' => [
'locale' => [
'locale',
'locale/site',
'locale/language',
'locale/currency',
// ...
],
],
],
]
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: Admin Dashboard - Add a custom tab in locale menu
I added a new file to the shop and added a locale to it, oh, nothing changed anyway, I also tried to add a file to the file msjop but with no result. Navbar files and resource I have / my extension / config / oifv /. Can I add them to the wrong directory ?
Re: Admin Dashboard - Add a custom tab in locale menu
I found them to be placed in / my extension / config / admin / jqadm /. Thank)