Page 1 of 1

Adding a Plug-in (Multiple Times)

Posted: 06 Sep 2016, 13:03
by Metalics
Hello to all,

In catalog list page; If you add a plug-in 2 times, the TypoScript Configuration of the second one doesn't work.
For example i want to separate some parts of the Catalog Lists plug-in by using "subpart", and adding this plug-in 2 times in my catalog list page.

The TypoScript Configuration of the first added plug-in is:
plugin.tx_aimeos.settings.client.html.catalog.lists.standard.subparts {
0 = head
1 = quote
2 = promo
}
The TypoScript Configuration of the second added plug-in is:
plugin.tx_aimeos.settings.client.html.catalog.lists.standard.subparts {
0 = pagination
1 = items
}

In this case, Aimeos doesn't respect the TypoScript Configuration of the second one. Am i missing something?

Re: Adding a Plug-in (Multiple Times)

Posted: 06 Sep 2016, 13:05
by aimeos
We have one similar setup which works fine. Which Aimeos version do you use?

Re: Adding a Plug-in (Multiple Times)

Posted: 06 Sep 2016, 14:43
by Metalics
Aimeos: 16.7.1
Typo3: 7.6.10

Re: Adding a Plug-in (Multiple Times)

Posted: 06 Sep 2016, 15:53
by aimeos
Tried that with both, 16.7.1 and the latest code and it works as expected if I enter the first configuration into the TSConfig field of the first plugin and do the same for the second one.

Most likely, your second TypoScript contains a character which the TS-Parser doesn't like. In this case, the configuration is ignored.