2017 © Pedro Peláez
 

typo3-cms-extension powermail_cond

Add conditions (via AJAX) to powermail forms for fields and pages

image

in2code/powermail_cond

Add conditions (via AJAX) to powermail forms for fields and pages

  • Thursday, May 24, 2018
  • by in2code
  • Repository
  • 4 Watchers
  • 1 Stars
  • 4,139 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 6 Forks
  • 4 Open issues
  • 15 Versions
  • 46 % Grown

The README.md

TYPO3 Extension powermail_cond

Conditions for TYPO3 extension powermail. While a user fills out a form, some fields should disappear, while others should be visible., (*1)

:warning: TYPO3 12 compatibility\ See EAP page (DE) or EAP page (EN) for more information how to get access to a TYPO3 12 version, (*2)

Screenshots

Example form with conditions, (*3)

Backend view to records, (*4)

Backend view to records with rule, (*5)

List of Conditions you can apply on the powermail form fields

  • is set
  • is not set
  • contains value
  • contains value not
  • is
  • is not
  • is greater than (numbers only)
  • is less than (numbers only)
  • contains value from field
  • contains not value from field

Quick installation

Quick guide: - Just install this extension - e.g. composer require in2code/powermail_cond - Clear caches - Add a powermail form to any page - Add a new record from type "condition container" to a sysfolder and configure it - Don't forget to include the static template from powermail_cond - Don't forget to add jQuery to your frontend (if not yet installed), (*6)

Example routing configuration for TypeNum 3132:, (*7)

...
rootPageId: 1
routes:
  -
    route: robots.txt
    type: staticText
    content: "Disallow: /typo3/\r\n"
routeEnhancers:
  PageTypeSuffix:
    type: PageType
    default: /
    index: ''
    suffix: /
    map:
      condition.json: 3132
...

Local Development and Contribution

There is a docker based local development environment available. See Readme.md for more information., (*8)

Early Access Programm (EAP)

You can support the development via our EAP on https://www.in2code.de/en/agency/typo3-extensions/early-access-program/ Also official (fee-based) support is possible within the EAP., (*9)

This is the current status of the EAP features:, (*10)

Version TYPO3 PHP Support/Development Status
10 11 LTS 7.4, 8.0, 8.1 Support for TYPO3 11 and Powermail 10 available
11 12 LTS 8.0, 8.1 Support for TYPO3 12 and Powermail 11 / 12 available

Changelog

Version Date State Description
11.2.3 2024-09-20 Bugfix Some small bugfixes
11.2.2 2024-10-16 TASK Adjust autodeployment
11.2.1 2024-10-16 Bugfix Fix autodeployment
11.2.0 2024-02-15 Feature Move public repository, adjust deployment, fix error in multivalue checkboxes
11.1.0 2023-10-16 Feature Support Powermail 11 & 12
11.0.0 2023-07-05 Feature Support Powermail 11
10.1.1 2023-03-23 Bugfix Fix possible undefined array key error
10.1.0 2023-03-14 Task Support all kind of powermail fields as with jQuery before (e.g. submit, text, etc...)
10.0.0 2022-10-10 Feature Support for Powermail 10 and remove of jQuery support
9.0.4 2022-10-10 Bugfix Allow multilanguage conditions
9.0.3 2022-07-05 Bugfix Fix ext_emconf.php for TER upload via REST API (another change)
9.0.2 2022-07-05 Bugfix Fix ext_emconf.php for TER upload via REST API
9.0.1 2022-07-04 Bugfix Fix page fieldset conditions not being applied correctly
9.0.0 2022-02-23 Feature Support for TYPO3 11 and Powermail 9
8.2.2 2021-11-22 Bugfix Reverted type change for field condition.target_field and updated index configuration for this field
8.2.1 2021-11-22 Bugfix Use integer field for condition.target_field
8.2.0 2021-11-22 Task Add mysql indices, hide children tables in list view, add code linting tests
8.1.1 2021-08-04 Task Simplify TCA to also fix the start/endtime bug in TYPO3 (last regression)
8.1.0 2021-03-18 Feature Add TER autodeployment, add extension key to composer.json, small doc fix
8.0.3 2020-04-30 Bugfix Enforce content-type in TypoScript
8.0.2 2020-04-30 Bugfix Also support checkboxes (array values) in powermail 8
8.0.1 2020-04-29 Task Add useless dependency to TYPO3 for TER upload
8.0.0 2020-04-29 Task Update extension for powermail 8 and TYPO3 10.4
7.0.0 2018-11-16 Task Update dependencies for powermail 7
6.1.0 2018-10-21 Task Remove deprecation warnings in TYPO3 9.5
6.0.0 2018-10-16 Task Support powermail 6.1
5.0.0 2018-05-24 Task Support powermail 6.0
4.1.1 2018-03-28 Bugfix Prevent exceptions in log
4.1.0 2018-01-29 Task Remove dependencies for TYPO3 7.6
4.0.0 2018-01-15 Task Update dependencies for powermail 5.0
3.5.2 2017-12-05 Bugfix Turn of ConditionAwareValitor on fields without page relations
3.5.1 2017-12-13 Bugfix Prevent exceptions in backend for MySQL strict mode
3.5.0 2017-11-13 Task Update dependencies for powermail 4.x
3.4.0 2017-08-14 Feature Allow all fieldtypes for target, add JS compression
3.3.4 2017-07-25 Bugfix Reduce unneeded calls in frontend
3.3.3 2017-06-12 Bugfix Small change for MySQL strict mode
3.3.2 2017-05-20 Bugfix TCA update for TYPO3 8.7
3.3.1 2017-04-25 Bugfix Fix package name in composer.json
3.3.0 2017-04-23 Task Move ext to github, make it fit for TYPO3 8.7 LTS

More to come soon?

  • Use vanilla JS instead of jQuery

Conflicts

  • It's not possible to use powermail multistep forms with powermail_cond

The Versions

24/05 2018

dev-develop

dev-develop https://github.com/einpraegsam/powermail_cond

Add conditions (via AJAX) to powermail forms for fields and pages

  Sources   Download

GPL-3.0 GPL-2.0-or-later

The Requires

 

form typo3 mailform spamprevention

24/05 2018

dev-master

9999999-dev https://github.com/einpraegsam/powermail_cond

Add conditions (via AJAX) to powermail forms for fields and pages

  Sources   Download

GPL-3.0 GPL-2.0-or-later

The Requires

 

form typo3 mailform spamprevention

24/05 2018

5.0.0

5.0.0.0 https://github.com/einpraegsam/powermail_cond

Add conditions (via AJAX) to powermail forms for fields and pages

  Sources   Download

GPL-2.0-or-later

The Requires

 

form typo3 mailform spamprevention

28/03 2018

4.1.1

4.1.1.0 https://github.com/einpraegsam/powermail_cond

Add conditions (via AJAX) to powermail forms for fields and pages

  Sources   Download

GPL-2.0-or-later

The Requires

 

form typo3 mailform spamprevention

29/01 2018

4.1.0

4.1.0.0 https://github.com/einpraegsam/powermail_cond

Add conditions (via AJAX) to powermail forms for fields and pages

  Sources   Download

GPL-2.0-or-later

The Requires

 

form typo3 mailform spamprevention

15/01 2018

4.0.0

4.0.0.0 https://github.com/einpraegsam/powermail_cond

Add conditions (via AJAX) to powermail forms for fields and pages

  Sources   Download

GPL-3.0

The Requires

 

form typo3 mailform spamprevention

13/12 2017

3.5.2

3.5.2.0 https://github.com/einpraegsam/powermail_cond

Add conditions (via AJAX) to powermail forms for fields and pages

  Sources   Download

GPL-3.0

The Requires

 

form typo3 mailform spamprevention

05/12 2017

3.5.1

3.5.1.0 https://github.com/einpraegsam/powermail_cond

Add conditions (via AJAX) to powermail forms for fields and pages

  Sources   Download

GPL-3.0

The Requires

 

form typo3 mailform spamprevention

13/11 2017

3.5.0

3.5.0.0 https://github.com/einpraegsam/powermail_cond

Add conditions (via AJAX) to powermail forms for fields and pages

  Sources   Download

GPL-3.0

The Requires

 

form typo3 mailform spamprevention

14/08 2017

3.4.0

3.4.0.0 https://github.com/einpraegsam/powermail_cond

Add conditions (via AJAX) to powermail forms for fields and pages

  Sources   Download

GPL-3.0

The Requires

 

form typo3 mailform spamprevention

25/07 2017

3.3.4

3.3.4.0 https://github.com/einpraegsam/powermail_cond

Add conditions (via AJAX) to powermail forms for fields and pages

  Sources   Download

GPL-3.0

The Requires

 

form typo3 mailform spamprevention

12/06 2017

3.3.3

3.3.3.0 https://github.com/einpraegsam/powermail_cond

Add conditions (via AJAX) to powermail forms for fields and pages

  Sources   Download

GPL-3.0

The Requires

 

form typo3 mailform spamprevention

20/05 2017

3.3.2

3.3.2.0 https://github.com/einpraegsam/powermail_cond

Add conditions (via AJAX) to powermail forms for fields and pages

  Sources   Download

GPL-3.0

The Requires

 

form typo3 mailform spamprevention

25/04 2017

3.3.1

3.3.1.0 https://github.com/einpraegsam/powermail_cond

Add conditions (via AJAX) to powermail forms for fields and pages

  Sources   Download

GPL-3.0

The Requires

 

form typo3 mailform spamprevention

23/04 2017

3.3.0

3.3.0.0 https://github.com/einpraegsam/powermail_cond

Add conditions (via AJAX) to powermail forms for fields and pages

  Sources   Download

GPL-3.0

The Requires

 

form typo3 mailform spamprevention