This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # File EXT:your_ext/Configuration/Yaml/MyCustomActionBackend.yaml | |
| TYPO3: | |
| CMS: | |
| Form: | |
| prototypes: | |
| # add our finisher to the 'standard' form prototype | |
| standard: | |
| formElementsDefinition: | |
| Form: | |
| formEditor: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git branch --format="%(refname:lstrip=2)" --merged | xargs git branch -d |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| //MIT License | |
| //Copyright (c) 2018 Markus Gehrig | |
| // | |
| //Permission is hereby granted, free of charge, to any person obtaining a copy | |
| //of this software and associated documentation files (the "Software"), to deal | |
| //in the Software without restriction, including without limitation the rights | |
| //to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| //copies of the Software, and to permit persons to whom the Software is |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # By default, TYPO3 will not allow you to mix translated content and independent content in the page module. Content elements violating this behavior will be marked in the Page Module and there is no UI control allowing you to create independent content elements in a given language. | |
| # If you want to go back to the old, inconsistent behavior, you can toggle it back on via this switch. | |
| # PageTS: | |
| mod.web_layout.allowInconsistentLanguageHandling = 1 | |
| # The system will report an error if the requested translation does not exist. Basically this means that all pages with gray background in the Web > Info / Localization overview module will fail (they would otherwise fall back to default language in one way or another). | |
| # TypoScript Setup: | |
| config.sys_language_mode = strict | |
| # TypoScript Setup: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Index: cms/typo3/sysext/backend/Classes/Form/FormDataProvider/TcaSelectItems.php | |
| IDEA additional info: | |
| Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | |
| <+>UTF-8 | |
| =================================================================== | |
| --- cms/typo3/sysext/backend/Classes/Form/FormDataProvider/TcaSelectItems.php (revision ) | |
| +++ cms/typo3/sysext/backend/Classes/Form/FormDataProvider/TcaSelectItems.php (revision ) | |
| @@ -43,6 +43,11 @@ | |
| continue; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // Every line in this strin is a new key | |
| $stringKey = "1. Key | |
| 2. Key | |
| "; | |
| // Explode the string to a array. Separate by EOL (enf of line) | |
| $stringKeyArray = explode(PHP_EOL, $stringKey); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # HREFLANG Tag for Google | |
| tmp.hreflang = HMENU | |
| tmp.hreflang { | |
| special = language | |
| special.value = 0, 1, 2 | |
| special.normalWhenNoLanguage = 0 | |
| 1 = TMENU | |
| 1 { | |
| NO = 1 | |
| NO { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SELECT sys_category_translated.title FROM sys_category AS sys_category_translated | |
| INNER JOIN sys_category AS sys_category ON (sys_category_translated.uid = sys_category.uid OR sys_category_translated.l10n_parent = sys_category.uid) | |
| INNER JOIN sys_category_record_mm ON sys_category.uid = sys_category_record_mm.uid_local | |
| WHERE sys_category_translated.sys_language_uid = 1 | |
| AND sys_category_record_mm.uid_foreign = 627; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SQL: | |
| images int(11) unsigned DEFAULT '0', | |
| ======================================================= | |
| TCA | |
| .... | |
| 'images' => array( | |
| 'exclude' => 0, | |
| 'label' => 'images', | |
| 'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig( | |
| 'images', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SELECT @new_mails := `list` FROM `sys_dmail_group` WHERE `uid` = '34'; | |
| UPDATE `sys_dmail_group` SET `list` = CONCAT(`list`, @new_mails) WHERE `uid` = '33'; | |
| SELECT @number_of_mails := LENGTH(`list`) - LENGTH(REPLACE(`list`, ',', '')) FROM `sys_dmail_group` WHERE `uid` = '33'; | |
| UPDATE `sys_dmail_group` SET `static_list` = @number_of_mails WHERE `uid` = '33'; |
NewerOlder