Open pfuju opened 3 years ago
Can you please describe the problem a bit deeper. E.g. you want to set this TypoScript and in template file Y you want to get the values, etc...
For sure! Sorry something went wrong in my initial post. I edited it and added missing informations.
Ok, I played a bit with your solution in getExtensionSettings(), but I failed some times.
Let's say we have this configuration:
plugin {
tx_luxletter_fe {
settings {
# {settings.staticvalue}
staticvalue = Static value from TypoScript
}
variables {
# {dynamicvalue}
dynamicvalue = TEXT
dynamicvalue.value = Dynamic value from TypoScript
}
}
}
variables in
NewsletterContainer.html
and in In this different contexts:
I'm open for every PR that fulfills this request.
Problem: Defining some TS Variables and add these to to plugin.settings:
In Backend Preview as well as in Frontend Preview (calling Newsletter Page with /?type= 1560777975) everything works fine. However if the Newsletter will be send via Scheduler (CLI) the debugging the variable "settings" will be empty. Checked with simple{settings}</f:debugger> in Layout Fluid Template.
Solution 1: Using Simple Viewhelper in Template Layout
Solution 2: Maybe changes in Configuration Utility can help.