Basic TypoScript Configuration

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!
abv
Posts: 6
Joined: 20 Nov 2015, 08:21

Basic TypoScript Configuration

Post by abv » 27 Jan 2016, 15:37

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?

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

Re: Basic TypoScript Configuration

Post by aimeos » 27 Jan 2016, 17:19

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

abv
Posts: 6
Joined: 20 Nov 2015, 08:21

Re: Basic TypoScript Configuration

Post by abv » 29 Jan 2016, 10:07

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?

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

Re: Basic TypoScript Configuration

Post by aimeos » 29 Jan 2016, 12:41

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

abv
Posts: 6
Joined: 20 Nov 2015, 08:21

Re: Basic TypoScript Configuration

Post by abv » 29 Jan 2016, 13:10

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

Post Reply