[BUGFIX] Install css_styled_content by default 58/27858/4
authorNicole Cordes <typo3@cordes.co>
Tue, 25 Feb 2014 22:36:57 +0000 (23:36 +0100)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Tue, 4 Mar 2014 08:05:46 +0000 (09:05 +0100)
As felogin and some other extensions don't work without
css_styled_content it should be enabled by default as well. This patch
adds the Package class to install the extension by default.

Resolves: #56292
Releases: 6.2
Change-Id: I9aad88966c0c292cdff865276dc131f358a52697
Reviewed-on: https://review.typo3.org/27858
Reviewed-by: Dmitry Dulepov
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Nicole Cordes
Tested-by: Nicole Cordes
Reviewed-by: Christian Kuhn
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
typo3/sysext/core/Configuration/DefaultConfiguration.php
typo3/sysext/css_styled_content/Classes/Package.php [new file with mode: 0644]

index 3f5ab3d..b0a7fbf 100644 (file)
@@ -276,6 +276,7 @@ return array(
                        'opendocs',
                        'install',
                        't3editor',
+                       'css_styled_content',
                        'felogin',
                        'feedit',
                        'recycler',
diff --git a/typo3/sysext/css_styled_content/Classes/Package.php b/typo3/sysext/css_styled_content/Classes/Package.php
new file mode 100644 (file)
index 0000000..1d2d30c
--- /dev/null
@@ -0,0 +1,41 @@
+<?php
+namespace TYPO3\CMS\CssStyledContent;
+
+/***************************************************************
+ *  Copyright notice
+ *
+ *  (c) 2014 Nicole Cordes <typo3@cordes.co>
+ *  All rights reserved
+ *
+ *  This script is part of the TYPO3 project. The TYPO3 project is
+ *  free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  The GNU General Public License can be found at
+ *  http://www.gnu.org/copyleft/gpl.html.
+ *  A copy is found in the text file GPL.txt and important notices to the license
+ *  from the author is found in LICENSE.txt distributed with these scripts.
+ *
+ *
+ *  This script is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  This copyright notice MUST APPEAR in all copies of the script!
+ ***************************************************************/
+
+use TYPO3\CMS\Core\Package\Package as BasePackage;
+
+/**
+ * This is the CssStyledContent package
+ */
+class Package extends BasePackage {
+
+       /**
+        * @var bool
+        */
+       protected $partOfFactoryDefault = TRUE;
+}