-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add TSFE while processing variables #45
Comments
As mail will be sent by scheduler (BE context), we do not have a TSFE. If working with TS Variables these require a working TSFE. Adding a temporary TSFE like in f:cObject VH solves that problem. Resolves: in2code-de#45
The simple simulation is not enough, if there are more complex TS. This works great...
This will break with Exceptions, because the TSFE has no valid sys_page object for the enableFields DB selection.
I saw no other option to build up the complete TSFE?! |
Hey guys, I try many different things. Also building up the TSFE by hand in a custom cObject ViewHelper
364 is my footer page. The preview & final mail content could select information via CONTENT cObject (no fatal error anymore) but there are several problems. Currently all links in content elements are removed (incl. the content of the link) - only in the final e-Mail. Preview works well. :-/ I also try this, but it works only in the preview and not in the final content.
It is very hard to render a content element from a central page in each footer. Any hints related to that? Creating a new colPos in the newsletter and load the content via "Shortcut" elements is a no-go for the customer. I am grateful for every tip... or are there missing components in the TSFE, that result in the error? Other idea: Override the fetch mechanism and add the complete Fluid Template of the footer page into the original E-Mail template. But this will costs hours to integrate and I don't know if this is broken too :-/ Regards, |
So, what you write Tim is, that the solution of @froemken does not help here? Am I right? |
Hey @einpraegsam , I have to create the full TSFE (because the cObject CONTENT need information based on the TSFE) but the RTE rendering (in the content Elements via <f:format.html>) have still problems in the linkbuilding (links are gone). Regards, |
This is a pitty. I hoped that the solution of @froemken would help and we can merge it. So now I tend to not merge it. |
@einpraegsam @lochmueller Sorry, the priorities have changed. Again. I have created a little hooking-extension for luxletter: https://github.com/jweiland-net/luxletter_extended It used various hooks/SignalSlots of Luxletter to add this missing features:
Either you can wait until I have time again to build various patches, or you're using luxletter_extended or you adapt one or more changes of luxletter_extended into luxletter yourself. Sorry...next project is waiting. Stefan |
No need to hurry from my side - thx for your time |
As mail will be sent by scheduler (BE context), we
do not have a TSFE. If working with TS Variables these
require a working TSFE. Adding a temporary TSFE
like in f:cObject VH solves that problem.
The text was updated successfully, but these errors were encountered: