Giter VIP home page Giter VIP logo

headless_powermail's People

Contributors

ducrot avatar kitzberger avatar lukaszuznanski avatar oskardydo avatar tmotyl avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

headless_powermail's Issues

Links in fields still remain typolinks

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?

Validating / Processing of required fields fails

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

Missing the package: composer req friendsoftypo3/headless_powermail

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).
image

TYPO3 11

Hi,

is there a plan to make headless_powermail 11 compatible?

Regards,
Andi

PHP Warning: Undefined array key in PrefillMultiFieldViewHelper.php line 209

@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 PrefillMultiFieldViewHelper

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

Submit Page Link not outputted in JSON

Hello
thanks for this awesome extension :)

When i set a redirection page link for the submit page, i don't get any information about this in the JSON. Is it possible to set this?

Thank you for your help

Bildschirmfoto 2021-11-15 um 13 15 16

Redirect to separate thx page not working properly

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.