Page 1 of 1

Basic TypoScript Configuration

Posted: 27 Jan 2016, 15:37
by abv
I use the current aimeos shop extension in current TYPO3 6.2.

How is it possible to outsource the email templates with typoscript setting?

This documentation doesnt help
https://aimeos.org/docs/TYPO3/Change_configuration

I tried in scheduler, plugin....
client.html.email.payment.html.summary.default.template-body = fileadmin/mytemplate.html

With or without plugin prefix doesnt work.
plugin.tx_aimeos.settings.

All what i want is a basic example, i can modify for my usage. But i canĀ“t find one.
Got some one?

Re: Basic TypoScript Configuration

Posted: 27 Jan 2016, 17:19
by aimeos
abv wrote:How is it possible to outsource the email templates with typoscript setting?
You should create a custom extension for your project: https://aimeos.org/developer/extensions/

This allows you to overwrite single templates by copying them to the same location/directory in the extension. With TypoScript alone there's only the possibility to change the template path completely which means you would need to duplicate all templates. But that is not recommended as you would prevent getting updates for the templates you haven't touched.

Re: Basic TypoScript Configuration

Posted: 29 Jan 2016, 10:07
by abv
So i tried to create a Extension.

I tested following with the template
typo3conf\ext\aimeos\Resources\Libraries\aimeos\aimeos-core\client\html\layouts\common\summary\detail-body-default.html

typo3conf\ext\myext\Resources\Private\Extensions\myext\client\html\layouts\common\summary\detail-body-default.html
AND
typo3conf\ext\myext\Resources\Libraries\aimeos\aimeos-core\client\html\layouts\common\summary\detail-body-default.html

Both doesnt work. And i get as output the default template. I only want some simple changes in this template.
So what should I do exactly for this scenario?

Re: Basic TypoScript Configuration

Posted: 29 Jan 2016, 12:41
by aimeos
abv wrote: typo3conf\ext\aimeos\Resources\Libraries\aimeos\aimeos-core\client\html\layouts\common\summary\detail-body-default.html

typo3conf\ext\myext\Resources\Private\Extensions\myext\client\html\layouts\common\summary\detail-body-default.html
This one is correct. Did you've cleared the frontend cache or disabled caching for development in the extension configuration accessible via the extension manager?

Re: Basic TypoScript Configuration

Posted: 29 Jan 2016, 13:10
by abv
It works now. My fault was the wrong version!
I tried "TYPO3 2016.x extension" but with current typo3 ter amios version the "TYPO3 2.x extension" is the right thing.

thx for help