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
listImageUid_intS = CONTENT | |
listImageUid_intS { | |
table = sys_file_reference | |
select { | |
selectFields = sys_file_reference.uid | |
max = 1 | |
where = 1=1 | |
pidInList = 1 | |
recursive = 10 | |
andWhere = sys_file_reference.tablenames = "myTable" AND sys_file_reference.fieldname = "myField" AND sys_file_reference.uid_foreign = {field:uid} |
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 Jhoechtl\MySite\Domain\Model; | |
/* * | |
* This script belongs to the TYPO3 Flow package "Jhoechtl.MySite". * | |
* * | |
* */ | |
use TYPO3\Flow\Annotations as Flow; | |
use Doctrine\ORM\Mapping as ORM; |
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 | |
/*************************************************************** | |
* Copyright notice | |
* | |
* (c) 2015 Hans Höchtl <[email protected]> | |
* All rights reserved | |
* | |
* This script is part of the TYPO3 project. The TYPO3 project is | |
* free software; you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by |
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
<!-- This is the HTML that is loaded by the TS AjaxForm object --> | |
<div{attributes -> f:format.raw()}> | |
<f:if condition="{formIdentifier}"> | |
<f:then> | |
<div data-ajax="ajax-loaded-form" data-identifier="{formIdentifier}" data-presetName="{presetName}"> | |
<p>Loading form please wait</p> | |
</div> | |
</f:then> | |
<f:else> | |
<p>Please select a valid Form identifier in the inspector</p> |
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 | |
/*************************************************************** | |
* Copyright notice | |
* | |
* (c) 2015 Hans Höchtl <[email protected]> | |
* All rights reserved | |
* | |
* This script is part of the TYPO3 project. The TYPO3 project is | |
* free software; you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by |
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
# Inside the property 'pageWithSections' Neos stores a node URI like node://185e33e0-02a7-4fb9-26ab-8078d5c146fd | |
# But to select a node with FlowQuery you need an identifier like #185e33e0-02a7-4fb9-26ab-8078d5c146fd | |
navNode = ${q(site).find('#' + String.substr(q(node).property('pageWithSections'), 7)).get(0)} | |
[email protected] = ${q(node).property('pageWithSections') != NULL} |
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
TYPO3: | |
Neos: | |
userInterface: | |
navigateComponent: | |
nodeTree: | |
loadingDepth: 1 |
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 Jhoechtl\MySite\Controller; | |
/* * | |
* This script belongs to the TYPO3 Flow package "Jhoechtl.MySite". * | |
* * | |
* */ | |
use TYPO3\Flow\Annotations as Flow; | |
use TYPO3\Flow\Mvc\Controller\ActionController; |
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\Package\Servlets\MyServlet; | |
use ...; | |
/** | |
* @Route(name="stylecardsearch", urlPattern={"/foo/bar.do", "/foo/bar.do*"}, initParams={}) | |
*/ |
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\MyExtension\Service; | |
class Caching { | |
const DEFAULT_CACHE_EXTENSIONKEY = 'my_cache'; | |
/** |