Pass param to Block subpart
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!
- AmzoooJibal
- Posts: 35
- Joined: 12 Mar 2021, 20:09
Pass param to Block subpart
Hello,
there is any way to pass parametre to the block template like this:
<?= $this->block()->get('home/section',['code'=>'value']);
there is any way to pass parametre to the block template like this:
<?= $this->block()->get('home/section',['code'=>'value']);
Re: Pass param to Block subpart
No but that's also not necessary. All variables are available within using
Code: Select all
$this->get( 'variablename' )
// or
$this->variablename
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