Page 1 of 2

catalog-filter-tree

Posted: 14 Sep 2015, 19:10
by trimble
Hi,

how can i remove javascript from catalog-filter-tree? I want to style the tree without any animation.

Regards
Trimble

Re: catalog-filter-tree

Posted: 15 Sep 2015, 20:25
by trimble
Hi,
sorry for my last post. I haven't worked with aimeos for the last months and forgot, that I asked the question in may and got a great answer:
help-f15/open-list-of-categories-t422.html

But now I run into a new problem.
I defined several categories (pix_1)
pix_1.png
pix_1.png (7.65 KiB) Viewed 5360 times
and added two catalog filters in list view. One filter starts with 'Holz' the other with 'Wolle' (pix_2)
pix_2.png
pix_2.png (2.7 KiB) Viewed 5360 times
. When I try to open for example 'Schurwolle' I get an error message (pix_3)
pix_3.png
pix_3.png (3.63 KiB) Viewed 5360 times
.
With only one catalog filter there are no problems.

Thanks for any help

Trimble

Re: catalog-filter-tree

Posted: 15 Sep 2015, 23:11
by aimeos
trimble wrote: I defined several categories and added two catalog filters in list view. With only one catalog filter there are no problems.
Interesting combination. I think nobody tried adding the categories filter twice yet.
What you do want to achieve? Maybe there's a simpler solution.

Re: catalog-filter-tree

Posted: 16 Sep 2015, 09:16
by trimble
Interesting combination. I think nobody tried adding the categories filter twice yet.
What you do want to achieve? Maybe there's a simpler solution.
I want to place different parts of the categories at different places on the same website.

Regards
Trimble

Re: catalog-filter-tree

Posted: 16 Sep 2015, 11:03
by aimeos
trimble wrote: I want to place different parts of the categories at different places on the same website.
Hm, that doesn't work at the moment because there's the exception thrown you've mentioned.
We will see how we can change that.

Re: catalog-filter-tree

Posted: 16 Sep 2015, 11:10
by trimble
The possibility of splitting the presentation of the categories would be great feature. Thanks for thinking about it.

Re: catalog-filter-tree

Posted: 16 Sep 2015, 13:19
by nos3
Hi Trimble
trimble wrote:The possibility of splitting the presentation of the categories would be great feature. Thanks for thinking about it.
I've saw your request and dared to make a small patch that should fix your problem :-)
https://github.com/aimeos/aimeos-core/pull/38

Norbert

Re: catalog-filter-tree

Posted: 16 Sep 2015, 14:45
by aimeos
nos3 wrote: I've saw your request and dared to make a small patch that should fix your problem :-)
https://github.com/aimeos/aimeos-core/pull/38
Cool! We've already merged your PR and it will be part of the release next month.

Re: catalog-filter-tree

Posted: 16 Sep 2015, 15:56
by trimble
That sounds great. Thanks a lot!

I tried to integrate the patch into my TYPO3-Installation with aimeos 2.3.1. But I couldn't. The file
\typo3conf\ext\aimeos\Resources\Libraries\aimeos\aimeos-core\client\html\src\Client\Html\Catalog\Filter\Tree\default.php seeems to be different. Do I miss something?

Trimble

Re: catalog-filter-tree

Posted: 16 Sep 2015, 16:10
by aimeos
trimble wrote:The file
\typo3conf\ext\aimeos\Resources\Libraries\aimeos\aimeos-core\client\html\src\Client\Html\Catalog\Filter\Tree\default.php seeems to be different. Do I miss something?
Yes, the 2015.07 and master branch are different in that code block. But I think you can replace the if/elseif/else block completely with the if/if code block from the master branch.