aimeos / aimeos-typo3

TYPO3 e-commerce extension for ultra fast online shops, scalable marketplaces, complex B2B applications and #gigacommerce

Home Page:https://aimeos.org/TYPO3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature Request] Allow @'import notation in the scheduler Tasks

guelzow opened this issue · comments

Hi everyone.

"As an integrator, I want to use the @'import notation in the scheduler TypoScript tasks."
This means, that we can set up a global TypoScript file, that then can get used by the scheduler.

Proposed solution:
The TypoScriptParser class provides the static method 'checkIncludeLines', that can be used to pre-parse the scheduler typoscript.

Replacing this line
https://github.com/aimeos/aimeos-typo3/blob/20.10.5/Classes/Base.php#L239
with

$parser->parse( TypoScriptParser::checkIncludeLines( $tsString ) );

should do the trick.

Tobi

Cool, can you create a PR for that?