Custom Theme

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!
tenkraD
Advanced
Posts: 110
Joined: 25 Jul 2017, 08:38

Custom Theme

Post by tenkraD » 25 Jan 2018, 18:44

Hy everyone,
my custom theme and aimeos theme wasnt included.
Because of the "-" in page.includeCSS.aimeos-common i replaced the "-" with a "_" and it was working.

and aimeos.css was also not totaly included if i used page.includeCSS.aimeos as described in the docs.
After i wrote it like this page.includeCSS.tx_aimeos its was working

Is the example in the docs false? https://aimeos.org/docs/TYPO3/Use_custom_themes


# working Overwrite Theme CSS Files
page.includeCSS.aimeos_common = {$mycustom.tx_aimeos.theme.css.common}
page.includeCSS.tx_aimeos = {$mycustom.tx_aimeos.theme.css.aimeos}

Thanks

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

Re: Custom Theme

Post by aimeos » 26 Jan 2018, 16:43

No this can't be the reason because the other configurations that contains "-" do also work:
https://github.com/aimeos/aimeos-typo3/ ... /setup.txt

Maybe your own config wasn't applied after the Aimeos one so it have overwritten it?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

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

Re: Custom Theme

Post by tenkraD » 30 Jan 2018, 16:54

aimeos wrote:No this can't be the reason because the other configurations that contains "-" do also work:
https://github.com/aimeos/aimeos-typo3/ ... /setup.txt

Maybe your own config wasn't applied after the Aimeos one so it have overwritten it?
I tried this and applied my theme after my config but still with the same result.
Im stuck, is this not a naming problem in typo3 if u use "-" instead of "_"?

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

Re: Custom Theme

Post by aimeos » 30 Jan 2018, 18:12

No, TYPO3 accepts both, "-" and "_" characters in TS strings. Where did you add your setting? in the setup TS of your root page or somewhere else?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

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

Re: Custom Theme

Post by tenkraD » 30 Jan 2018, 19:23

i added it under "template" in the "setup" section of my shop after the aimeos config part

<INCLUDE_TYPOSCRIPT:source="FILE: fileadmin/mh_bs3dist/Aimeos/Typoscript/themesetup.ts">

---------- themesetup.ts file --------
# Theme CSS Files
page.includeCSS.aimeos_common = fileadmin/Aimeos/Themes/shop_theme/common.css
page.includeCSS.tx_aimeos = fileadmin/Aimeos/Themes/shop_theme/aimeos.css
--------------------------------------------

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

Re: Custom Theme

Post by tenkraD » 01 Feb 2018, 18:56

im still having this problem and found no solution.
b.t.w. i just wanna say thanks for the great app and support!

you guys rock :)

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

Re: Custom Theme

Post by aimeos » 02 Feb 2018, 17:43

This should add your files additionally to the Aimeos standard files. Those are added by:

Code: Select all

page.includeCSS.aimeos = {$plugin.tx_aimeos.theme.css.aimeos}
page.includeCSS.aimeos-custom = {$plugin.tx_aimeos.theme.css.custom}
Source: https://github.com/aimeos/aimeos-typo3/ ... tup.txt#L1
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply