Search bar to the top
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!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
- sudinmanandhar
- Posts: 1
- Joined: 22 Nov 2020, 14:00
Search bar to the top
Hi ,
I'm new with Aimeos. I was trying to move the search bar to the top of the menu but could not do it.
I added some text on this file but it does not changes when I refresh the page. Am I editing the correct file ?
project\ext\ai-client-html\client\html\templates\catalog\filter\attribute-body-standard.php
I saw the following code:
What does the this array means ? Please help
I'm new with Aimeos. I was trying to move the search bar to the top of the menu but could not do it.
I added some text on this file but it does not changes when I refresh the page. Am I editing the correct file ?
project\ext\ai-client-html\client\html\templates\catalog\filter\attribute-body-standard.php
I saw the following code:
Code: Select all
@section('aimeos_nav')
<?= $aibody['catalog/filter'] ?>
@stop
Code: Select all
"php": "^7.2",
"aimeos/aimeos-laravel": "~2020.07",
"fideloper/proxy": "^4.0",
"laravel/framework": "^6.0",
Re: Search bar to the top
This file is for the attribute based faceted search filter. For the search bar its:sudinmanandhar wrote: ↑22 Nov 2020, 14:08 I'm new with Aimeos. I was trying to move the search bar to the top of the menu but could not do it.
I added some text on this file but it does not changes when I refresh the page. Am I editing the correct file ?
project\ext\ai-client-html\client\html\templates\catalog\filter\attribute-body-standard.php
ext\ai-client-html\client\html\templates\catalog\filter\search-body-standard.php
Furthermore make sure that you disabled caching during development:
https://github.com/aimeos/aimeos-laravel#hints
This outputs HTML of the complete catalog/filter component. If you only want to use the search bar, you can add "<?= $aibody['catalog/search'] ?>" instead if you configure "catalog/search" instead or additionally to "catalog/filter":sudinmanandhar wrote: ↑22 Nov 2020, 14:08Code: Select all
@section('aimeos_nav') <?= $aibody['catalog/filter'] ?> @stop
https://github.com/aimeos/aimeos-larave ... hp#L24-L33
Please read this article to understand how you can adapt it to your needs:
https://aimeos.org/docs/latest/laravel/extend/
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