help with overwriting components

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
User avatar
parmonov98
Posts: 33
Joined: 24 Sep 2020, 12:12

help with overwriting components

Post by parmonov98 » 09 Oct 2020, 04:08

How to create a decorator and where to place it and how to configure in config/shop.php

please, with detailed instruction. I read in aimeos docs, but I got confused where to put and to configure.

User avatar
aimeos
Administrator
Posts: 7889
Joined: 01 Jan 1970, 00:00

Re: help with overwriting components

Post by aimeos » 09 Oct 2020, 09:09

What kind of decorator? For an HTML client or something else?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
parmonov98
Posts: 33
Joined: 24 Sep 2020, 12:12

Re: help with overwriting components

Post by parmonov98 » 12 Oct 2020, 12:58

aimeos wrote: 09 Oct 2020, 09:09 What kind of decorator? For an HTML client or something else?
Yes, I for an HTML client.
I want to learn how to create and use custom components.
I have been trying for 2-3 days. I didn't get a clear understanding of how to do that.

maybe you guys can write a post about how to create custom component with templates and use it ?

please, at least, list me steps:
1. create a file in /ext/yourext/somewhere/ folder and copy content of /ext/yourext/ai-client-html or somewhere else/
2. leave links to guides of how to work with that classes or file.
3. and so on.

User avatar
aimeos
Administrator
Posts: 7889
Joined: 01 Jan 1970, 00:00

Re: help with overwriting components

Post by aimeos » 13 Oct 2020, 09:46

There are already articles describing components, subparts and decorators:
- Components: https://aimeos.org/docs/latest/frontend ... omponents/
- Decorators: https://aimeos.org/docs/latest/frontend ... omponents/
- Subparts: https://aimeos.org/docs/latest/frontend ... -subparts/

What's missing or what haven't you found in the docs?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply