Git Product home page Git Product logo

form_double_opt_in's People

Contributors

danielkestler avatar froemken avatar linawolf avatar lochmueller avatar medarob avatar rathch avatar sbusemann avatar spoonerweb avatar t3brightside avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

form_double_opt_in's Issues

Error after sending form

Hello,

with TYPO3 and form both version 10.4.36 and form_double_opt_in 3.0.0 i get following error:

Core: Exception handler (WEB): Uncaught TYPO3 Exception: Too few arguments to function TYPO3\CMS\Form\Domain\Finishers\EmailFinisher::getRecipients(), 1 passed in /usr/../typo3conf/ext/form_double_opt_in/Classes/Domain/Finishers/DoubleOptInFormFinisher.php on line 162 and at least 2 expected | ArgumentCountError thrown in file /usr/../typo3/sysext/form/Classes/Domain/Finishers/EmailFinisher.php in line 335. Requested URL: https:/xxxxxx.de/testform?tx_form_formframework%%5Baction%%5D=perform&tx_form_formframework%%5Bcontroller%%5D=FormFrontend&cHash=7c922fc6ac81df12c8d566a25661a865

Class path maybe wrong?

With TYPO3 8.7 I get error messages like Medienreaktor\FormDoubleoptin\Controller\FormDoubleOptInController is not found. They disappeared after renaming the class path from FormDoubleOptIn to FormDoubleoptin in all files. The naming conventions in Extbase are IMHO that the extension directory is changed to CamelCase: form_doubleoptin -> FormDoubleoptin.

404 caused by ampersand being escaped in confirmation link

Had to add f:format.raw tags around the uri builder because fluid automatically escapes inline rendered variables, could also just add {escaping off} to beginning of email templates.

Here was my solution:
<f:format.raw>{f:uri.action(pageUid: validationPid, extensionName: 'formdoubleoptin', pluginName: 'doubleoptin', controller: 'DoubleOptIn', action: 'validation', absolute: 1, arguments: {hash: optIn.validationHash})}</f:format.raw>

Override of template location and and language in TypoScript not working

I'm using version 1.1.2 with TYPO3 version 9.5.28 and try to override some extension settings:

plugin.tx_formdoubleoptin_doubleoptin {
	view {
		templateRootPaths.10 = EXT:my-new-path/Resources/Private/Templates
		partialRootPaths.10 = EXT:my-new-path/Resources/Private/Partials
		layoutRootPaths.10 = EXT:my-new-path/Resources/Private/Layouts
	}
	persistence {
		storagePid = {$plugin.tx_formdoubleoptin_doubleoptin.persistence.storagePid}
	}
	settings {

	}

	_LOCAL_LANG {
		default {
			email.text = Some new text for default language.
		}
	}

	_LOCAL_LANG {
		de {
			email.text = Ein wenig neuer Text für deutsch.
		}
	}
}

Both, template location and language strings are not working.

Mail to receiver looks weird

The mail to the receiver appears weird to me. There is a leading 0 to every email, and the form element labels are not shown at all.

image

E-mail to recipient is not sent.

I can set the recipient in the finisher, but unfortunately I do not receive an e-mail with the form data after successful confirmation. Any Ideas?

[Question] TYPO3 11 support?

Hi,
is it planned to releases a version for TYPO3 11?
(and maybe integrate the features from the open pull-request, too?)

Thank you

send notification mail to user when a double opt-in was completed

Right now you don't know when a double opt-in was successfully completed other than checking the TYPO3 BE.

So, if someone would register for a newsletter you would have to check the TYPO3 BE for new entries.

It would be great to have an option which sends automatically an email to an in-house user/employee whenever a double opt-in was successfully completed.

There is an open pull request which already seems to have this feature integrated. Maybe it's possible to merge this into the extension?

Change target database table

I suggest to use a different database table as a persistence target, as usually an integrator wants to use this sort of extension for e.g. a newsletter system and these are usually using fe_users or tt_address. Maybe it should just be sort of configurable?

make TYPO3 ce default variables available in templates

Use Case:
You have multiple opt-in forms and based on the form, the validation text should be different/customized.

So, I wanted to use the layout field {data.layout} in the Validation.html template to change the text and created another option for the {layout} field.

        <f:if condition="{success}">
            <f:then>
                <f:if condition="{data.layout} == 20">
                    <f:then>
                        <f:comment><!-- customizations --></f:comment>
                        <h2>Custom Headline</h2>
                        <p>Custom text</p>
                    </f:then>
                    <f:else>
                        <f:comment><!-- Default --></f:comment>
                        <h2><f:translate key="LLL:EXT:form_double_opt_in/Resources/Private/Language/locallang.xlf:text.success.title" /></h2>
                        <p><f:translate key="LLL:EXT:form_double_opt_in/Resources/Private/Language/locallang.xlf:text.success" /></p>
                    </f:else>
                </f:if>
            </f:then>
            <f:else>
                <h2><f:translate key="LLL:EXT:form_double_opt_in/Resources/Private/Language/locallang.xlf:text.error.title" /></h2>
                <p><f:translate key="LLL:EXT:form_double_opt_in/Resources/Private/Language/locallang.xlf:text.error" /></p>
            </f:else>
        </f:if>

But it seems that {data} is not available in the template

array(3 items)
   settings => array(empty)
   success => FALSE
   validated => FALSE

Is it possible to make {data} available in this context?

notificationMailReceiverMail seems to be not working

I added the following email in the constants.typoscript

plugin.tx_formdoubleoptin_doubleoptin {
  settings {
    notificationMailReceiverMail = [email protected]
  }
}

but there was no email sent to this address, once the double opt-in registration process has finished.
Furthermore I don't think that this setting as any effect at all. Is that possible? (I tested it with various emails to see if the email will get a notification).

In the constant settings this field is marked as mendatory.
grafik

The only way I could get an email sent after the double opt-in process has finished was via the settings in the form.

grafik

If I leave the constant unused/empty, no email will be sent but as the field is mendatory I would have expected an error or a warning in the form settings?

grafik

get error

Hello,

I am not able to install extension. I get error:

Oops, an error occurred!
Class Medienreaktor\FormDoubleoptin\Controller\DoubleOptInController does not exist. Reflection failed.

All caches and autoload were cleared. Also class can be found in autoload_classmap.php

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.