Edit super admin interface
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!
- ahmed31916
- Advanced
- Posts: 148
- Joined: 14 Apr 2022, 12:15
Edit super admin interface
Hello,
How can we edit the jqadmin template for the super admin, I tried to edit the template files of the jqadmin of the myextension but it doesn't work (illogical). May we need to assign extension theme to the super admin in multi vendor marketplace?
OR maybe the super admin must have a special extension?
How can we edit the jqadmin template for the super admin, I tried to edit the template files of the jqadmin of the myextension but it doesn't work (illogical). May we need to assign extension theme to the super admin in multi vendor marketplace?
OR maybe the super admin must have a special extension?
Re: Edit super admin interface
The templates must be stored in the correct directory which is "<yourext>/templates/admin/jqadm/product/item.php" for example.
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
- ahmed31916
- Advanced
- Posts: 148
- Joined: 14 Apr 2022, 12:15
Re: Edit super admin interface
Yes, the templates stored in "<myext>/templates/admin/jqadm/", and not rely on it.
Re: Edit super admin interface
Did you create a Laravel theme extension or a standard Aimeos extension where you've stored your new template?
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: Edit super admin interface
I also have the same problem. The admin templates are not overwritten.
I created Laravel theme extension, then saved the template.
"packages/<mytheme>/templates/admin/jqadm/page.php"
I commented out the html where the aimeos logo is displayed, however the template does not overwrite.
I also tried with the dashboard template:
"packages/<mytheme>/templates/admin/jqadm/dashboard/item-order-latest.php"
And it doesn't overwrite the templates either.
I cleared the cache of views, routes, config, aimeos.
I also ran.
But there was no change either.
It should be noted that I have not made any changes to manifest.php. I have left it as it is by default.
I created Laravel theme extension, then saved the template.
"packages/<mytheme>/templates/admin/jqadm/page.php"
I commented out the html where the aimeos logo is displayed, however the template does not overwrite.
I also tried with the dashboard template:
"packages/<mytheme>/templates/admin/jqadm/dashboard/item-order-latest.php"
And it doesn't overwrite the templates either.
I cleared the cache of views, routes, config, aimeos.
I also ran
Code: Select all
composer dump-autoload
But there was no change either.
It should be noted that I have not made any changes to manifest.php. I have left it as it is by default.
- ahmed31916
- Advanced
- Posts: 148
- Joined: 14 Apr 2022, 12:15
Re: Edit super admin interface
The extension installed is Laravel theme extension, and it working fine with client html templates, but not working in jqadm templates.Did you create a Laravel theme extension or a standard Aimeos extension where you've stored your new template?
Re: Edit admin interface templates
The templates you store in the generated Laravel theme extensions for Aimeos are all theme specific. That means, they are only used if the theme is selected in the backend but the admin backend doesn't use different themes up to now.
The solution is to create a new Aimeos extension for the admin backend templates which is not theme specific and add the modified backend templates there or to change the manifest file of the existing theme extension and move the admin template configuration outside the theme sub-array, i.e.:
The solution is to create a new Aimeos extension for the admin backend templates which is not theme specific and add the modified backend templates there or to change the manifest file of the existing theme extension and move the admin template configuration outside the theme sub-array, i.e.:
Code: Select all
'template' => [
'admin/jqadm/templates' => [
'templates/admin/jqadm',
],
'admin/jsonadm/templates' => [
'templates/admin/jsonadm',
],
'<your theme>' => [
'client/jsonapi/templates' => [
'templates/client/jsonapi',
],
'client/html/templates' => [
'templates/client/html',
],
'controller/jobs/templates' => [
'templates/controller/jobs',
],
],
],
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
- ahmed31916
- Advanced
- Posts: 148
- Joined: 14 Apr 2022, 12:15
Re: Edit super admin interface
Perfect
Re: Edit super admin interface
It worked by moving the admin template settings out of the themes subfolder sub-array.
Thank you very much!
Thank you very much!