Custom Template
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!
Custom Template
Hi
I wanna customize the frontend of aimeos. I tried the create custom blade template with following tutorial, but it does not work:
https://aimeos.org/docs/latest/laravel/customize/
For example i want to create a custom profile page. Therefor i have to create blade.php file within following directory right?:
The content of the page looks like this:
What am i doing wrong?
I wanna customize the frontend of aimeos. I tried the create custom blade template with following tutorial, but it does not work:
https://aimeos.org/docs/latest/laravel/customize/
For example i want to create a custom profile page. Therefor i have to create blade.php file within following directory right?:
Code: Select all
myproject/resources/views/templates/client/html/account/profile/body.blade.php
Code: Select all
<?php $this->block()->start( 'account/profile/body' ); ?>
<div class="actions">
...
</div>
<?php $this->block()->stop(); ?>
<?php echo $this->block()->get( 'account/profile/body' ); ?>
Re: Custom Template
1.) Create an Aimeos extension for your project first: https://aimeos.org/extensions
2.) Install the extension like described here: https://aimeos.org/docs/latest/developer/extensions/
3.) Copy the existing vendor/aimeos/ai-client-html/templates/client/html/account/profile/body.php to your own extension in ./packages/<yourext>/templates/client/html/account/profile/body.php
If you name the file .blade.php, you only have Blade directives and functions but can't access the Aimeos view helpers using e.g. "$this->link()"
2.) Install the extension like described here: https://aimeos.org/docs/latest/developer/extensions/
3.) Copy the existing vendor/aimeos/ai-client-html/templates/client/html/account/profile/body.php to your own extension in ./packages/<yourext>/templates/client/html/account/profile/body.php
If you name the file .blade.php, you only have Blade directives and functions but can't access the Aimeos view helpers using e.g. "$this->link()"
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,
