E-Mail CSS / client/html/common/template/baseurl

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!
iresults
Posts: 18
Joined: 28 Aug 2020, 13:36

E-Mail CSS / client/html/common/template/baseurl

Post by iresults » 17 Sep 2020, 09:24

I have set the client.html.common.template.baseurl to my specific value but that had no effect at all.

I debug: https://github.com/aimeos/ai-client-htm ... d.php#L246

The value for

Code: Select all

$path
is always the default

Code: Select all

/xxx/typo3conf/ext/aimeos/Resources/Public/Themes/elegance
If I change

Code: Select all

$path = $view->config( 'client/html/common/template/baseurl, 'client/html/themes/elegance' )
to

Code: Select all

$path = $view->config( 'client/html/common/template/ownValue', 'client/html/themes/elegance' ) 
and set the TYPOScript value for this configuration

Code: Select all

plugin.tx_aimeos.settings.client.html.common.template.ownValue = /xxx/typo3conf/ext/aimeos_client/Resources/Public/Themes/myOwnTheme
my custom configuration is read.

Therefore the TypoScript Value

Code: Select all

plugin.tx_aimeos.settings.client.html.common.template.baseurl
must be somewhere overwrite with the standard value.

Is this a bug or a configuration error?

boettner
Advanced
Posts: 136
Joined: 09 Feb 2015, 17:49

Re: E-Mail CSS / client/html/common/template/baseurl

Post by boettner » 17 Sep 2020, 09:41

Did you set your TS in the scheduler task?

iresults
Posts: 18
Joined: 28 Aug 2020, 13:36

Re: E-Mail CSS / client/html/common/template/baseurl

Post by iresults » 17 Sep 2020, 11:27

Yes, TS is set in the scheduler task.

boettner
Advanced
Posts: 136
Joined: 09 Feb 2015, 17:49

Re: E-Mail CSS / client/html/common/template/baseurl

Post by boettner » 17 Sep 2020, 11:59

The task configuration also offers a separate field for the baseurl (aimeos_template_baseurl) labelled "Absoluter Pfad oder Pfad relativ vom TYPO3 Basisverzeichnis zu den CSS Dateien des Themes" in german installation. Maybe you have to set it there?

iresults
Posts: 18
Joined: 28 Aug 2020, 13:36

Re: E-Mail CSS / client/html/common/template/baseurl

Post by iresults » 17 Sep 2020, 13:14

Thanks for the answer. That was the solution to the problem!

Post Reply