This file contains 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
commit 316ce38b479321c0227a74b545786ac256f5d13b | |
Author: Jonas Renggli <[email protected]> | |
Date: Mon Feb 12 16:48:09 2018 +0100 | |
[FEATURE] Add migration for recordLinks from legacy EXT:linkhandler | |
[FEATURE] Add migration for language links from legacy EXT:cabag_langlink | |
diff --git a/typo3/sysext/core/Classes/LinkHandling/LegacyLinkNotationConverter.php b/typo3/sysext/core/Classes/LinkHandling/LegacyLinkNotationConverter.php | |
index a89b67813e..0539cc6d4f 100644 | |
--- a/typo3/sysext/core/Classes/LinkHandling/LegacyLinkNotationConverter.php |
This file contains 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 | |
namespace Visol\Foo\Controller; | |
/* | |
* This file is part of the Visol.Foo package. | |
*/ | |
use TYPO3\Flow\Annotations as Flow; | |
use TYPO3\Flow\Mvc\Controller\ActionController; | |
use TYPO3\Flow\Mvc\View\JsonView; |
This file contains 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
# In this example, I want to render the same <select> box as a filter in the frontend I use to categorize a Node in the backend | |
@context.offerTypeSettings = ${Visol.NodeTypeConfigurationHelper.setting('My.FoobarCom:Document.Offer', 'properties.offerType.ui.inspector.editorOptions.values')} | |
offerTypes = Neos.Fusion:Collection { | |
collection = ${offerTypeSettings} | |
itemRenderer = ${'<option value="' + itemKey + '">' + item.label + '</option>'} | |
} |
This file contains 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 | |
namespace Visol\FoobarCom\FlowQuery\Operation; | |
use Neos\ContentRepository\Domain\Model\NodeInterface; | |
use Neos\Eel\FlowQuery\FlowQuery; | |
use Neos\Eel\FlowQuery\Operations\AbstractOperation; | |
class ContainsReferenceToNodeOperation extends AbstractOperation | |
{ |
This file contains 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 | |
namespace Visol\Foobar\Command; | |
use TYPO3\CMS\Core\Database\ConnectionPool; | |
use TYPO3\CMS\Core\Database\Query\QueryBuilder; | |
use TYPO3\CMS\Core\Database\Query\Restriction\DeletedRestriction; | |
use TYPO3\CMS\Core\DataHandling\DataHandler; | |
use TYPO3\CMS\Core\Resource\File; | |
use TYPO3\CMS\Core\Resource\OnlineMedia\Helpers\OnlineMediaHelperRegistry; | |
use TYPO3\CMS\Core\Resource\ResourceFactory; |
This file contains 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
#!/bin/bash | |
MUSER="$1" | |
MPASS="$2" | |
MDB="$3" | |
# Detect paths | |
MYSQL=$(which mysql) | |
AWK=$(which awk) | |
GREP=$(which grep) |
This file contains 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
TYPO3: | |
Flow: | |
security: | |
cryptography: | |
hashingStrategies: | |
typo3md5salted: Vendor\Package\Security\Cryptography\Typo3Md5SaltedHashingStrategy | |
This file contains 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 | |
namespace Acme\Demo\ViewHelpers; | |
/** | |
* ResourceBuiltVersion | |
* | |
* ViewHelper used to return a version number of a resource based on the MD5 hash of a file. | |
* | |
* Useful to prevent caching issues with static resources. | |
* |
This file contains 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
<f:flashMessages severity="OK" as="flashMessagesOK"> | |
<ul class="alert alert-success list-unstyled"> | |
<f:for each="{flashMessagesOK}" as="flashMessage"> | |
<li>{flashMessage}</li> | |
</f:for> | |
</ul> | |
</f:flashMessages> | |
<f:flashMessages severity="Notice" as="flashMessagesNotice"> | |
<ul class="alert alert-info list-unstyled"> | |
<f:for each="{flashMessagesNotice}" as="flashMessage"> |
This file contains 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
page { | |
bodyTagCObject = COA | |
bodyTagCObject { | |
wrap = <body|> | |
20 = TEXT | |
20.value.field = uid | |
20.stdWrap.noTrimWrap = | data-uid="|"| | |
30 = HMENU |