Download the PHP package madj2k/t3-fe-register without Composer

On this page you can find all versions of the php package madj2k/t3-fe-register. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package t3-fe-register

fe_register

Features

Usage in your own extension

Opt-In

1. Generate Opt-In in your controller

For a registration with opt-in simple use the example-code below in your controller. Please ensure to always load FrontendUserRegistration via ObjectManager Explanation:

If you want to be able to update the data of the frontendUser after the successful opt-in you can use the method setFrontendUserUpdate. This will update the frontendUser-object as soon as the user accepts the opt-in. This way you can be sure that changes to the frontendUser-object only happen if authorized.

2. Define MailService for Opt-In-Mail

No you need a MailService class with a defined action for Opt-Ins

3. Set Signal-Slot

Now we need a signal-slot that refers to the defined method for sending mails (ext_localconf.php)

4. Set Template for Opt-In-Mail

The opt-in-email may look like this:

5. Check Opt-In

To check the opt-in you can use the following example-code in your contoller:

6. Signal-Slot for extension specific action after opt-in

We need a second signal-slot in order to do whatever we need to do after the opt-in

7. Method for the specific action

Then we need to define the corresponding method:

Another use-cases

Consent (Privacy, Terms, Marketing)

The extension has a ViewHelper and validators to obtain consent to privacy, terms of use and advanced marketing. In order to obtain the consents, only the corresponding ViewHelper must be used in the own extension. As soon as an opt-in is carried out, the corresponding consents are automatically documented and stored in the database. The consents granted are recorded accordingly with the associated data (IP address, browser, etc.). In addition, the consent to the terms of use and to marketing is stored in the FrontendUser, as these consents are usually page-wide and independent of the respective context of the consent.

1. In Fluid

The following code can be used to obtain the appropriate consent. It is important that the ViewHelper is used within a form and that the FormErrors are also returned via Fluid.

You can also use a dummy, if you have no real object to send

2. In the controller

Only the corresponding validators are included here. They always refer to the form object.

Or when using a dummy:

An opt-in procedure is usually not carried out for logged-in frontend users. If you still want to record the time of consent for a registration, you can achieve this with the following code:

When migrating from rkw_registration to fe_register

Execute the following MySQL-queries BEFORE install!

Execute the following MySQL-queries AFTER install!


All versions of t3-fe-register with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
ext-openssl Version *
typo3/cms-core Version ~10.4.0
madj2k/t3-accelerator Version ~10.4.0 || ~11.5.0 || ~12.4.0
madj2k/t3-ajax-api Version ~10.4.0 || ~11.5.0 || ~12.4.0
madj2k/t3-core-extended Version ~10.4.0 || ~11.5.0 || ~12.4.0
madj2k/t3-postmaster Version ~10.4.0 || ~11.5.0 || ~12.4.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package madj2k/t3-fe-register contains the following files

Loading the files please wait ....