typo3-headless / headless_powermail Goto Github PK
View Code? Open in Web Editor NEWConnects together EXT:headless and EXT:powermail
License: GNU General Public License v2.0
Connects together EXT:headless and EXT:powermail
License: GNU General Public License v2.0
Hello,
If i add a link to my e.g. checkbox, the link will be also a typolink in frontend.
I add following code into my checkbox-option:
Ich habe die < a href="t3://page?uid=46">Datenschutzerklärung< /a> gelesen.|ja
How can i cast this to a propper link?
Hello friends!
We have a form which does send it's data back to the CMS. I checked this in the "Network" Tab of the Browser-Inspector.
The response of the CMS however is odd. It sends back the form with all data EXCEPT the required ones.
I haven't developed the site myself, I'm just supporting but I can't see any changes in the extensions "powermail" "headless" nor "headless_powermail"...
We're using:
powermail - 7.0
headless - 2.3.0
headless_powermail - dev.master b7186ca
Do you maybe have an idea where the data goes missing?
If you'd need more info please just let me know.
ZH
Package seems to be not available. Any suggestion?
[InvalidArgumentException]
Could not find a matching version of package friendsoftypo3/headless_powermail. Check the package spelling, your version constraint and that the package is available in a stability which matches your minimum-stability (stable).
Hi,
is there a plan to make headless_powermail 11 compatible?
Regards,
Andi
@lukaszuznanski, I stumbled upon this issue again and tried to make sense of what's the real problem here.
Maybe you can help me understand this excerpt from the check/radio/select/country field partials:
<headlesspowermail:form.registerField property="{field.marker}."
value="{setting.value}"
checked="{vh:misc.prefillMultiField(field:field, mail:mail, cycle:index.cycle)}"/>
It's used to create the trustedProperties, right? E.g.
{
"name": "tx_powermail_pi1[__trustedProperties]",
"value": "{\"field\":{\"anrede\":1,\"vorname\":1,\"nachname\":1,\"strasse\":1,\"hausnummer\":1,\"plz\":1,\"ort\":1,\"land\":1,\"country\":1,\"email\":1,\"newsletter\":[1]}}34a29410e84c1f4afb07b7d002fda0503bde9b3f"
},
Why does headlesspowermail:form.registerField
have to have the parameters value
and checked
though? In my opinion that's not necessary at all.
And checked
is using the prefillMultiField viewhelper with a wrong cycle
parameter, what's the intention behind that?
Originally posted by @kitzberger in #29 (comment)
PHP Warning: Undefined array key -1 in EXT:powermail/Classes/ViewHelpers/Misc/PrefillMultiFieldViewHelper.php line 209
When having a server side validation error and rendering the form for the 2nd time with prefilled values for radio, checkbox and select fields, that warning occurs. It's probably due to the fact, that index.cycle
isn't existing at all and thus cycle
is 0 within that viewhelper which reduces that value by 1 which makes it that weird -1
!
<headlesspowermail:form.registerField property="{field.marker}"
value="{setting.value}"
checked="{vh:misc.prefillMultiField(field:field, mail:mail, cycle:index.cycle)}"/>
This is an excerpt from the partials Radio.html, Check.html and Select.html
The confirmation link for powermail's DOI feature (see https://github.com/einpraegsam/powermail/blob/develop/Resources/Private/Templates/Mail/OptinMail.html) is using the wrong base.
As a workaround in my recent project I'm replacing the link that's been generated in fluid via f:cObject
(TypoScript hack). That's working for now but I guess there's a better solution to that, right?
For disabled double-opt-in mode EXT:powermail's RedirectFinisher
is creating a proper HTTP 303 redirect for the separate thx page (settings.flexform.thx.redirect
) and not a JSON response like other headless redirects.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.