Imagine you have a list of elements. E.g. some DIV's (or something else) and you want to surround or wrap blocks or chunks of 3 with an <li> element.
<li>
foo
| <image type="array"> | |
| <TCEforms type="array"> | |
| <label>Bild (Pflichtfeld)</label> | |
| <config> | |
| <type>inline</type> | |
| <minitems>1</minitems> | |
| <maxitems>1</maxitems> | |
| <appearance type="array"> | |
| <createNewRelationLinkTitle>LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference</createNewRelationLinkTitle> |
| <?php | |
| namespace Vendor\ExtensionKey\Helpers; | |
| /** | |
| * This file is part of the TYPO3 CMS project. | |
| * | |
| * It is free software; you can redistribute it and/or modify it under | |
| * the terms of the GNU General Public License, either version 2 | |
| * of the License, or any later version. | |
| * |
It's now here, in The Programmer's Compendium. The content is the same as before, but being part of the compendium means that it's actively maintained.
| /* | |
| If you blind a menu item (e.g. let an editor edit translations, but dont show him tsconfig), | |
| then check for all currently registered keys in the configuration module. | |
| Open the configuration module in TYPO3 backend and select the option »BE Modules Extensions«. | |
| This will show a tree. Just copy the key names and adjust the following snippet to your needs. | |
| Warning: This will just blind the option, it is not an access check. | |
| */ |
| package main | |
| import ( | |
| "context" | |
| "crypto/tls" | |
| "fmt" | |
| "log" | |
| "net/http" | |
| "net/url" | |
| "time" |
| plugins { | |
| id "org.jetbrains.intellij" version "0.2.15" | |
| id "maven" | |
| id "de.undercouch.download" version "3.2.0" | |
| } | |
| task setupPycharm() { | |
| if (!new File('.gradle/ide').exists()){ | |
| download { | |
| src 'https://download.jetbrains.com/python/pycharm-professional-2017.2.tar.gz' | |
| dest '.gradle/downloads/py.tar.gz' |