jambagecom/div2007

Static Methods since 2007 for TYPO3 CMS. It offers many functions for Front End extensions. You can replace t3lib_div and tslib_pibase by div2007.

Installs: 1 711

Dependents: 10

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 1

Open Issues: 0

Type:typo3-cms-extension

v1.12.1 2021-11-30 07:32 UTC

README

What is does

This library offers functions for TYPO3 extensions. tx_div2007_div provides a modified t3lib_div of TYPO3 4.7.10 and backwards compatibility to TYPO3 6.2 and 4.5. It replaces most of the tslib_pibase methods. You find the migration classes for TYPO3 6.x, 7.x and 8.x inside of the extension migration_core. Sinve version 1.10.30 a middleware to store the request is provided for Ajax calls. This is required for Ajax calls since TYPO3 9.5. With this you can use the method FrontendUtility::getPageId() to get the current page id out of the speaking url of the routing enhancer.

Requirements

1.11.8 has been the last version which supports PHP < 7.2 .

1.11.6 has been the last version which supports TYPO3 6.2 .

1.7.20 has been the last version which supports TYPO3 4.5 - 6.1 and PHP < 5.5 .

Starting with version 1.12.0 TYPO3 7.6 and PHP 7.2.0 are the minimum requirements to use the extension div2007.

If you run TYPO3 7 oder 8 and older versions of extensions like tt_products, then you might consider to install also the extension migration_core, if older TYPO3 class names are still used in extensions which did rely on div2007.

Setup

Some texts which are used in multiple extensions are added to the local language files of div2007. You can simply reuse them in your own extensions.

Use this setup to overwrite the privacy policy conditions:

example:

lib.div2007 {
  _LOCAL_LANG.default {
    privacy_policy.acknowledged = I agree and confirm to have read the privacy policy.
    privacy_policy.hint_1 = A telephone call or an email sent to us is enough to be deleted from our database. You can do this at any time.
  }
}