Where to change logic of component?
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!
Where to change logic of component?
I try to modify home page that contains from components:
Where to see how `cms/page` does works for home page? Where is logic of this component placed?
What if I need to change logic of for home component? For exmaple change which blocks to show from cms/page
Code: Select all
'catalog-home' => ['locale/select','basket/mini','catalog/tree','catalog/search', 'cms/page', 'catalog/filter' ]
Where to see how `cms/page` does works for home page? Where is logic of this component placed?
What if I need to change logic of
Code: Select all
cms/page
Re: Where to change logic of component?
You can find the logic of the cms/page component here in these classes:
https://github.com/aimeos/ai-cms-grapes ... l/Cms/Page
If you want to overwrite the logic, extend from the class in your own extension and configure the new name of your class:
https://aimeos.org/docs/latest/frontend ... omponents/
or create a decorator if possible:
https://aimeos.org/docs/latest/frontend ... omponents/
https://github.com/aimeos/ai-cms-grapes ... l/Cms/Page
If you want to overwrite the logic, extend from the class in your own extension and configure the new name of your class:
https://aimeos.org/docs/latest/frontend ... omponents/
or create a decorator if possible:
https://aimeos.org/docs/latest/frontend ... omponents/
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,
