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
/** @var Site $site */ | |
$site = $this->siteRepository->findOnline()->getFirst(); | |
/** @var ContentContext $context */ | |
$context = $this->contentContextFactory->create(array("currentSite" => $site)); | |
$eelEvaluator = $this->objectManager->get('TYPO3\Eel\EelEvaluatorInterface'); | |
$result = \TYPO3\Eel\Utility::evaluateEelExpression('${q(site).find("myQuery").get()}', $eelEvauator, array("site" => $context->getCurrentSiteNode())); |
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
class AbstractProductConverter extends AbstractTypeConverter { | |
/** | |
* @var PropertyMapper | |
* @Flow\Inject | |
*/ | |
protected $propertyMapper; | |
/** | |
* {@inheritDoc} |
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
/** | |
* @var SiteRepository | |
* @Flow\Inject | |
*/ | |
protected $siteRepository; | |
/** | |
* @var \TYPO3\Neos\Domain\Service\ContentContextFactory | |
* @Flow\Inject | |
*/ |
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
docker pull johannessteu/typo3neos | |
docker run --name neos-mysql -e MYSQL_ROOT_PASSWORD=YOUR_PASSWORD -d mysql | |
docker run --name neos -d -p 8080:80 --link neos-mysql:db -e VERSION=1.2 johannessteu/typo3neos | |
Wait 1-2 minutes and you will be able to see neos runnting under port 8080 on your server/ip/domain. | |
You can use docker logs -f neos to see the installation process | |
For further informations check this out: | |
https://registry.hub.docker.com/u/johannessteu/typo3neos/ |
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(TYPO3.Neos:PluginView) { | |
@cache { | |
mode = 'uncached' | |
context { | |
1 = 'node' | |
2 = 'documentNode' | |
} | |
} | |
} |
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
URL: | |
http://example.com/nodename.html? | |
--vendor_name-fooplugin[package]=vendor.name& | |
--vendor_name-fooplugin[controller]=standard& | |
--vendor_name-fooplugin[action]=index& | |
--vendor_name-fooplugin[object][__identity]=4de2cc9c-79c0-55e7-310e-91c5ae2fea19 | |
should result in | |
http://example.com/nodename/custom-part/objectname.html |
NewerOlder