Adding a Plug-in (Multiple Times)

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!
User avatar
Metalics
Advanced
Posts: 103
Joined: 13 Jul 2015, 23:59

Adding a Plug-in (Multiple Times)

Post by Metalics » 06 Sep 2016, 13:03

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?

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

Re: Adding a Plug-in (Multiple Times)

Post by aimeos » 06 Sep 2016, 13:05

We have one similar setup which works fine. Which Aimeos version do you use?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
Metalics
Advanced
Posts: 103
Joined: 13 Jul 2015, 23:59

Re: Adding a Plug-in (Multiple Times)

Post by Metalics » 06 Sep 2016, 14:43

Aimeos: 16.7.1
Typo3: 7.6.10

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

Re: Adding a Plug-in (Multiple Times)

Post by aimeos » 06 Sep 2016, 15:53

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.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply