How can I change target?
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!
- parmonov98
- Posts: 33
- Joined: 24 Sep 2020, 12:12
How can I change target?
I use HomeController. /home route path and index method with name 'homepage'.
https://i.imgur.com/klZneUO.png
https://i.imgur.com/mfZmGnC.png
where is 'shop' coming from?
What is the 'client/html/catalog/tree/url/target'?
I wanna get target of homepage(home) for the l_type on page homepage.
how can I do?
https://i.imgur.com/klZneUO.png
https://i.imgur.com/mfZmGnC.png
where is 'shop' coming from?
What is the 'client/html/catalog/tree/url/target'?
I wanna get target of homepage(home) for the l_type on page homepage.
how can I do?
Re: How can I change target?
First of all, please read the article how to extend Laravel to create new pages:
https://aimeos.org/docs/latest/laravel/extend/
https://github.com/aimeos/aimeos-larave ... #L116-L275
BTW: In the new 2020.10 release there's already a "catalog-home" component which may fit your needs or you can adapt it to your requirements.
https://aimeos.org/docs/latest/laravel/extend/
The target is the Laravel route name configured here:parmonov98 wrote: ↑10 Oct 2020, 12:38 https://i.imgur.com/mfZmGnC.png
where is 'shop' coming from?
What is the 'client/html/catalog/tree/url/target'?
https://github.com/aimeos/aimeos-larave ... #L116-L275
The simplest way is to use the Laravel "route()" function to create a URL. If you want a more configurable solution that is compliant to the other Aimeos components, you can e.g. use "$this->link('client/html/homepage/url')" and configure "client/html/homepage/url/target" to the route name you have to add to your ./routes/web.php file.parmonov98 wrote: ↑10 Oct 2020, 12:38 I wanna get target of homepage(home) for the l_type on page homepage.
how can I do?
BTW: In the new 2020.10 release there's already a "catalog-home" component which may fit your needs or you can adapt it to your requirements.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,
