Correction to plugin registration
authorstan <stan@735d13b6-9817-0410-8766-e36946ffe9aa>
Thu, 19 Nov 2015 01:03:58 +0000 (01:03 +0000)
committerstan <stan@735d13b6-9817-0410-8766-e36946ffe9aa>
Thu, 19 Nov 2015 01:03:58 +0000 (01:03 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/sr_email_subscribe/trunk@90250 735d13b6-9817-0410-8766-e36946ffe9aa

ChangeLog
Configuration/TypoScript/PluginSetup/setup.txt
ext_localconf.php

index a20f002..27e7c5a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
        * Resolves #71661: [!!!] Refactor, streamline and cleanup all scripts: all API changed
        * Fix error regarding salutation in static TS template
        * Correction to composer.json
+       * Correction to plugin registration
 
 2015-10-24 Stanislas Rolland  <typo3(arobas)sjbr.ca>
        * Use configuration check utility
index a6e2479..13e2fe2 100644 (file)
@@ -182,4 +182,6 @@ plugin.tx_sremailsubscribe_pi1 {
 }
 plugin.tx_sremailsubscribe.settings {
        salutation = {$plugin.tx_sremailsubscribe.salutation}
-}
\ No newline at end of file
+}
+
+tt_content.list.20.sr_email_subscribe_pi1 = < plugin.tx_sremailsubscribe_pi1
\ No newline at end of file
index 78cbe19..2623dba 100644 (file)
@@ -1,8 +1,6 @@
 <?php
 defined('TYPO3_MODE') or die();
 
-\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPItoST43($_EXTKEY, 'Classes/Controller/SubscribePluginController.php', '_pi1', 'list_type', 0);
-
 $_EXTCONF = unserialize($_EXTCONF);    // unserializing the configuration so we can use it here:
 $GLOBALS['TYPO3_CONF_VARS']['EXTCONF'][$_EXTKEY]['imagefolder'] = $_EXTCONF['imageFolder'] ? $_EXTCONF['imageFolder'] : 'uploads/tx_sremailsubscribe';
 $GLOBALS['TYPO3_CONF_VARS']['EXTCONF'][$_EXTKEY]['useImageFolder'] = !empty($_EXTCONF['useImageFolder']) ? $_EXTCONF['useImageFolder'] : '0';