Skip to content

Commit

Permalink
Release 2.0.4 seems to be stable
Browse files Browse the repository at this point in the history
Hopefully it'll be activated soon in the language server
  • Loading branch information
thucke committed Dec 8, 2017
1 parent 66a3240 commit 02c81c3
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 12 deletions.
5 changes: 5 additions & 0 deletions Configuration/TCA/Overrides/sys_template.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php
call_user_func(function() {
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile('timezones', 'Configuration/TypoScript', 'Timezones');
});
?>
7 changes: 3 additions & 4 deletions Configuration/TCA/Overrides/tt_content.php
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
<?php
if (!defined ('TYPO3_MODE')) die ('Access denied.');
call_user_func(function() {
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'Thucke.Timezones', // The extension name (in UpperCamelCase) or the extension key (in lower_underscore)
'Pi1', // A unique name of the plugin in UpperCamelCase
'Timezones' // A title shown in the backend dropdown field
);

\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile('timezones', 'Configuration/TypoScript', 'Timezones');

$pluginSignature = 'timezones_pi1';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist'][$pluginSignature] = 'layout,select_key,recursive,pages';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue($pluginSignature, 'FILE:EXT:timezones/Configuration/Flexforms/flexform_pi1.xml');
});
?>
Binary file added Documentation/Images/typo3-200px-transparent.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion Documentation/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
.. |img-1| image:: Images/hr.gif
.. :align: left
.. |img-2| image:: Images/TYPO3.png
.. |img-2| image:: Images/typo3-200px-transparent.png
:height: 21
:width: 87
.. :border: 0
Expand Down
8 changes: 4 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
.. |img-1| image:: Documentation/Images/hr.gif
.. :align: left
.. |img-2| image:: Documentation/Images/TYPO3.png
:height: 21
:width: 87
.. |img-2| image:: Documentation/Images/typo3-200px-transparent.png
.. :height: 21
.. :width: 87
.. :border: 0
.. :hspace: 9
.. :name: Grafik2
.. :name: TYPO3Logo
.. _readme:

Expand Down
4 changes: 2 additions & 2 deletions ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
'title' => 'Timezones',
'description' => 'Manages timezones and datetime conversion in your website',
'category' => 'plugin',
'version' => '2.0.3',
'state' => 'beta',
'version' => '2.0.4',
'state' => 'stable',
'uploadfolder' => false,
'createDirs' => '',
'clearcacheonload' => true,
Expand Down
2 changes: 1 addition & 1 deletion ext_localconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* the user input (default settings, FlexForm, URL etc.)
*/
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'Thucke.' . $_EXTKEY, // The extension name (in UpperCamelCase) or the extension key (in lower_underscore)
'Thucke.Timezones', // The extension name (in UpperCamelCase) or the extension key (in lower_underscore)
'Pi1', // A unique name of the plugin in UpperCamelCase
array( // An array holding the controller-action-combinations that are accessible
'Timezones' => 'index,show,select,tzset', // The first controller and its first action will be the default
Expand Down

0 comments on commit 02c81c3

Please sign in to comment.