catalog-filter-tree

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
trimble
Posts: 0
Joined: 01 Jan 1970, 00:00

catalog-filter-tree

Post by trimble » 14 Sep 2015, 19:10

Hi,

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

Regards
Trimble

trimble
Posts: 0
Joined: 01 Jan 1970, 00:00

Re: catalog-filter-tree

Post by trimble » 15 Sep 2015, 20:25

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 5362 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 5362 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 5362 times
.
With only one catalog filter there are no problems.

Thanks for any help

Trimble

User avatar
aimeos
Administrator
Posts: 7858
Joined: 01 Jan 1970, 00:00

Re: catalog-filter-tree

Post by aimeos » 15 Sep 2015, 23:11

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.

trimble
Posts: 0
Joined: 01 Jan 1970, 00:00

Re: catalog-filter-tree

Post by trimble » 16 Sep 2015, 09:16

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

User avatar
aimeos
Administrator
Posts: 7858
Joined: 01 Jan 1970, 00:00

Re: catalog-filter-tree

Post by aimeos » 16 Sep 2015, 11:03

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.

trimble
Posts: 0
Joined: 01 Jan 1970, 00:00

Re: catalog-filter-tree

Post by trimble » 16 Sep 2015, 11:10

The possibility of splitting the presentation of the categories would be great feature. Thanks for thinking about it.

nos3
Posts: 87
Joined: 01 Sep 2015, 13:26

Re: catalog-filter-tree

Post by nos3 » 16 Sep 2015, 13:19

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

User avatar
aimeos
Administrator
Posts: 7858
Joined: 01 Jan 1970, 00:00

Re: catalog-filter-tree

Post by aimeos » 16 Sep 2015, 14:45

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.

trimble
Posts: 0
Joined: 01 Jan 1970, 00:00

Re: catalog-filter-tree

Post by trimble » 16 Sep 2015, 15:56

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

User avatar
aimeos
Administrator
Posts: 7858
Joined: 01 Jan 1970, 00:00

Re: catalog-filter-tree

Post by aimeos » 16 Sep 2015, 16:10

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.

Post Reply