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 | |
namespace MyVendor\ImportExport\Command; | |
use Neos\ContentRepository\Domain\Service\ContextFactoryInterface; | |
use Neos\ContentRepository\Domain\Service\ImportExport\NodeExportService; | |
use Neos\ContentRepository\Domain\Service\ImportExport\NodeImportService; | |
use Neos\Flow\Annotations as Flow; | |
use Neos\Flow\Cli\CommandController; | |
use Neos\Neos\Domain\Repository\SiteRepository; | |
use Neos\Neos\Domain\Service\ContentContext; |
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
prototype(Sfi.Site:ImageUri) < prototype(TYPO3.TypoScript:Case) { | |
image { | |
condition = ${asset} | |
renderer = ImageUri { | |
asset = ${asset} | |
width = ${width} | |
height = ${height} | |
maximumWidth = ${maximumWidth} | |
maximumHeight = ${maximumHeight} | |
allowCropping = ${allowCropping} |
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
prototype(Neos.Neos:Content) { | |
@process.contentDimensions { | |
expression = Foo.Bar:ShowContentDimensions | |
@position = 'end' | |
} | |
} | |
prototype(Neos.Neos:ContentComponent) { | |
@process.contentDimensions { | |
expression = Foo.Bar:ShowContentDimensions |
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 | |
namespace Your\Package\ViewHelpers\Link; | |
use TYPO3\Flow\Annotations as Flow; | |
use TYPO3\Flow\Aop\JoinPoint; | |
use TYPO3\Flow\Mvc\ActionRequest; | |
use TYPO3\Flow\Security\Authorization\Privilege\Method\MethodPrivilegeInterface; | |
use TYPO3\Flow\Security\Authorization\Privilege\Method\MethodPrivilegeSubject; | |
use TYPO3\Flow\Security\Authorization\PrivilegeManagerInterface; | |
use TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper; |
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 | |
class user_pageNotFound { | |
function pageNotFound($params,$tsfeObj) { | |
global $TYPO3_CONF_VARS; | |
$url = \TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_SITE_URL').'index.php?id='.$TYPO3_CONF_VARS['EXTCONF']['realurl'][\TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('HTTP_HOST')]['errorPage']; | |
$_buffer = $this->loadPage($url); | |
echo $_buffer; |
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 | |
declare(strict_types=1); | |
namespace Your\Package\Security\Authentication; | |
use Neos\Flow\Annotations as Flow; | |
use Neos\Flow\Mvc\ActionRequest; | |
use Neos\Flow\Security\Authentication\Token\AbstractToken; | |
use Neos\Flow\Security\Authentication\Token\SessionlessTokenInterface; | |
/** |
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 | |
namespace Onedrop\Common\Service; | |
/*************************************************************** | |
* Copyright notice | |
* | |
* (c) 2015 Hans Höchtl <hhoechtl@1drop.de> | |
* All rights reserved | |
* | |
* This script is part of the TYPO3 project. The TYPO3 project is | |
* free software; you can redistribute it and/or modify |
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 | |
namespace Vendor\Site\Command; | |
use Vendor\Site\Service\SocialSharesService; | |
use TYPO3\Eel\FlowQuery\FlowQuery; | |
use TYPO3\Flow\Annotations as Flow; | |
use TYPO3\Flow\Cli\CommandController; | |
use TYPO3\Flow\Configuration\ConfigurationManager; | |
use TYPO3\Flow\Http\Request; |
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
# Flow 3.0+ | |
Flow_Session_Storage: | |
persistent: TRUE | |
Flow_Session_MetaData: | |
persistent: TRUE | |
# Flow 2.0-2.3 (only works with Surf deployment – not flow:cache:flush command) | |
Flow_Session_Storage: | |
backendOptions: |
NewerOlder