How to prevent loading of aimeos.css

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!
cnoelker
Advanced
Posts: 140
Joined: 20 Feb 2016, 18:21

How to prevent loading of aimeos.css

Post by cnoelker » 08 Jun 2020, 08:30

Hello,
I have one site in TYPO3 which is based on aimeos-dist. This works fine. It uses my CSS and I can completely control the included CSS files.

Then, I created a second site which is (regarding the configuration) basically a copy of the other site. The same constants and setup, the same templates included.
However, when looking at the generated HTML source code, the second site always includes aimeos/Resources/PublicThemes/elegance/aimeos.css which I do not need because I have another theme.
How can I get rid of this? I tried this
plugin.tx_aimeos.theme.css.aimeos >
and also
plugin.tx_aimeos.theme.css.aimeos = EXT:[my-extension]/[path-to-my-css]
plugin.tx_aimeos.theme.baseurl = EXT:[my-extension]/Resources/Public/Themes/[my-theme-directory]

When I search in the TYPO3 object browser for 'elegance', then it's not found. In my extension, nothing with this path is included, either.

Where is this set?

Claudia

tenkraD
Advanced
Posts: 110
Joined: 25 Jul 2017, 08:38

Re: How to prevent loading of aimeos.css

Post by tenkraD » 09 Jun 2020, 09:56

https://aimeos.org/docs/TYPO3/Use_custom_themes

page.includeCSS.aimeos >
page.includeCSS.aimeos-common >
page.includeCSS.aimeos-custom >


page.includeCSS.tx_aimeos >

cnoelker
Advanced
Posts: 140
Joined: 20 Feb 2016, 18:21

Re: How to prevent loading of aimeos.css

Post by cnoelker » 09 Jun 2020, 10:04

No, this does not work out. It has an effect only on the order of the included Css files, i.e., now the aimeos.css is included at the last position and completely overrides my theme.

tenkraD
Advanced
Posts: 110
Joined: 25 Jul 2017, 08:38

Re: How to prevent loading of aimeos.css

Post by tenkraD » 09 Jun 2020, 10:22

Typo3 Site cache deleted?

Because it works for me

cnoelker
Advanced
Posts: 140
Joined: 20 Feb 2016, 18:21

Re: How to prevent loading of aimeos.css

Post by cnoelker » 09 Jun 2020, 10:33

Yes, everything deleted.

tenkraD
Advanced
Posts: 110
Joined: 25 Jul 2017, 08:38

Re: How to prevent loading of aimeos.css

Post by tenkraD » 09 Jun 2020, 11:25

Can you check your Page object in TS Browser?
Maybe you have it under page.XX.includeCSS.aimeos

page.10.includeCSS.aimeos >

Its working for me, maybe the admin knows your solution.

Post Reply