component creation
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!
- mahammadareef
- Posts: 54
- Joined: 14 Oct 2022, 11:54
component creation
is it okay to create new components inside my theme extension folder,
source code inside <mytheme>/src/Client/html/
template file inside <mytheme>/templates/client/html/
it works, i wanted to know is this the exact method or we need to adopt some other method
and I wanted to know the difference between normal extension and theme extension, and which functionalities goes inside these according to aimeos development standards
source code inside <mytheme>/src/Client/html/
template file inside <mytheme>/templates/client/html/
it works, i wanted to know is this the exact method or we need to adopt some other method
and I wanted to know the difference between normal extension and theme extension, and which functionalities goes inside these according to aimeos development standards
Re: component creation
Yes, you can add custom code also to Laravel theme extensions.
The difference is that in the Laravel theme extensions you can also overwrite Blade files which you can't in standard Aimeos extensions.
The difference is that in the Laravel theme extensions you can also overwrite Blade files which you can't in standard Aimeos extensions.
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
- mahammadareef
- Posts: 54
- Joined: 14 Oct 2022, 11:54
Re: component creation
I created the new component additional/product slider for product sliding, now I want to use this component multiple times on the home page with some conditions like category-wise, I want to pass the category info from my blade file (home.blade.php)- how i can achieve this
Re: component creation
Adding the same component multiple times at the same page with different parameters doesn't work because you can configure it only once.
Did you see the cataloglist block of the CMS module? It offers exactly what you want and that can be added multiple times within the same CMS content block with different category configuration.
Did you see the cataloglist block of the CMS module? It offers exactly what you want and that can be added multiple times within the same CMS content block with different category configuration.
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
- mahammadareef
- Posts: 54
- Joined: 14 Oct 2022, 11:54
Re: component creation
yes I implemented this slider component by seeing cataloglist block of the CMS module, in which category is selected when the page is designed but in my case, i want it in my separate pages
Re: component creation
You can also use the cms/page module in all of your own pages so it's easy to get that done.
If you want to create an own component, you have to implement something similar to the cataloglist block in the CMS module.
If you want to create an own component, you have to implement something similar to the cataloglist block in the CMS module.
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