Can I use my custom controller and routes in aimeos admin pannel
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!
-
- Posts: 86
- Joined: 12 Jan 2019, 15:17
Can I use my custom controller and routes in aimeos admin pannel
I want to use my custom laravel controllers and routes in aimeos admin panel
please guide me about this how i can do that.
Thanks
please guide me about this how i can do that.
Thanks
Re: Can I use my custom controller and routes in aimeos admin pannel
You only have to add links to your controllers in the navbar:
https://github.com/aimeos/ai-admin-jqad ... andard.php
Keep in mind that you need the page-standard template code also for your controller templates
https://github.com/aimeos/ai-admin-jqad ... andard.php
Keep in mind that you need the page-standard template code also for your controller templates
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
-
- Posts: 86
- Joined: 12 Jan 2019, 15:17
Re: Can I use my custom controller and routes in aimeos admin pannel
aimeos wrote: ↑31 Jul 2019, 08:23 You only have to add links to your controllers in the navbar:
https://github.com/aimeos/ai-admin-jqad ... andard.php
Keep in mind that you need the page-standard template code also for your controller templates
Can u please give me some proper example that will be a great favour .
Basicaly i have to use my own controller and tables data with Models in aimeos admin pannel so kindly give me some proper example so that i can implement those
thanks.
Re: Can I use my custom controller and routes in aimeos admin pannel
You can copy the page-standard.php file to your own Aimeos extension and add an icon and link to your Laravel controller action. Then, you need to recreate the HTML for the page-standard.php template somehow in your own template so it looks the same for the user.
An alternative with less work would be to add the link to your Laravel controller action to the base template next to the "Logout" link. Therefore, you only have to copy the https://github.com/aimeos/aimeos-larave ... .blade.php file to your ./resources/views/vendor/shop/admin/ directory and adapt it to your needs.
An alternative with less work would be to add the link to your Laravel controller action to the base template next to the "Logout" link. Therefore, you only have to copy the https://github.com/aimeos/aimeos-larave ... .blade.php file to your ./resources/views/vendor/shop/admin/ directory and adapt it to your needs.
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