How to make new navigation links in aimeos in 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
How to make new navigation links in aimeos in admin pannel
I want to make new navigation links , views and controller and use it in the aimeos admin pannel
Please give step by step guide so that i can do it easily
Thanks
Please give step by step guide so that i can do it easily
Thanks
Re: How to make new navigation links in aimeos in admin pannel
There's no documentation for this yet but you can use the existing code as reference, e.g. the attribute panel:
- Classes you need (Factory and Standard): https://github.com/aimeos/ai-admin-jqad ... /Attribute
- Subparts (additional directories) are optional
- Templates you need (list-standard and item-standard): https://github.com/aimeos/ai-admin-jqad ... /attribute
- Add to navigation bar: https://github.com/aimeos/ai-admin-jqad ... navbar.php
- Give permissions: https://github.com/aimeos/ai-admin-jqad ... source.php
- Classes you need (Factory and Standard): https://github.com/aimeos/ai-admin-jqad ... /Attribute
- Subparts (additional directories) are optional
- Templates you need (list-standard and item-standard): https://github.com/aimeos/ai-admin-jqad ... /attribute
- Add to navigation bar: https://github.com/aimeos/ai-admin-jqad ... navbar.php
- Give permissions: https://github.com/aimeos/ai-admin-jqad ... source.php
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: How to make new navigation links in aimeos in admin pannel
hi,
Is there an updated documentation for the current new version please? thanks
Also, is there documentation on how to add links to the userside navbar please.
Is there an updated documentation for the current new version please? thanks
Also, is there documentation on how to add links to the userside navbar please.
Re: How to make new navigation links in aimeos in admin pannel
There are no relevant changes in the current version so the documentation still applies.
You can overwrite the common/page-standard.php template and add your links there:
https://github.com/aimeos/ai-admin-jqad ... andard.php
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: How to make new navigation links in aimeos in admin pannel
You can overwrite the common/page-standard.php template and add your links there:
https://github.com/aimeos/ai-admin-jqad ... andard.php
[/quote]
Thanks for the reply but the second part of my question by "user" I meant the shop front, how to add non-product category menu options. to the main navbar , thanks.
Re: How to make new navigation links in aimeos in admin pannel
Copy the vendor/aimeos/aimeos-laravel/src/views/base.blade.php to resources/views/shop/base.blade.php and add the links to the Blade template:
https://github.com/aimeos/aimeos-larave ... .blade.php
https://github.com/aimeos/aimeos-larave ... .blade.php
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: How to make new navigation links in aimeos in admin pannel
I've copied the base.blade.php as advised, but the changes I make to it don't load up, only the content from the original.aimeos wrote: ↑05 Sep 2021, 12:26 Copy the vendor/aimeos/aimeos-laravel/src/views/base.blade.php to resources/views/shop/base.blade.php and add the links to the Blade template:
https://github.com/aimeos/aimeos-larave ... .blade.php
Should I delete the original?
Also where would I add menu links, when the blade file yields 'aimeos_nav' to build the list from the Catalogs.
If I add additional 'ul>li' list for my extra menu links, they don't display properly.
Re: How to make new navigation links in aimeos in admin pannel
Which Aimeos version are you using? It should be 2021.07.x
You can find the documentation for overwriting the Blade templates here:
https://aimeos.org/docs/latest/laravel/ ... -templates
The aimeos_nav section contains the top-level categories and if you want to add a another link there, you have to add another category. The alternative is that you add your own links beside the categories in a new section like:
You can find the documentation for overwriting the Blade templates here:
https://aimeos.org/docs/latest/laravel/ ... -templates
The aimeos_nav section contains the top-level categories and if you want to add a another link there, you have to add another category. The alternative is that you add your own links beside the categories in a new section like:
Code: Select all
<ul><li>new link>/li></ul>
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: How to make new navigation links in aimeos in admin pannel
The problem is adding another category points the url to an expected product category page, I want to display a text and image page in the contents, it will not allow me to route to another URL.aimeos wrote: ↑06 Sep 2021, 06:26 The aimeos_nav section contains the top-level categories and if you want to add a another link there, you have to add another category. The alternative is that you add your own links beside the categories in a new section like:Code: Select all
<ul><li>new link>/li></ul>
Adding another ul section displays after the search, and even if I put it at the front it displays with a large gap between it and the regular navbar.
Re: How to make new navigation links in aimeos in admin pannel
You can fix that with custom CSS rules.
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