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 TYPO3\Expose\TypoScriptObjects; | |
| /* * | |
| * This script belongs to the TYPO3 Flow package "TYPO3.Expose". * | |
| * * | |
| * It is free software; you can redistribute it and/or modify it under * | |
| * the terms of the GNU Lesser General Public License, either version 3 * | |
| * of the License, or (at your option) any later version. * | |
| * * |
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
| <f:for each="{results}" as="result"> | |
| {result.foo} | |
| <f:else>No results found</f:else> | |
| </f:for> | |
| vs | |
| <f:if condition="{results}"> | |
| <f:then> | |
| No results found |
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 Company\ExtensionName\Controller; | |
| /*************************************************************** | |
| * Copyright notice | |
| * | |
| * (c) 2013 Marc Neuhaus <apocalip@gmail.com>, Famelo OHG | |
| * | |
| * All rights reserved | |
| * |
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
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
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
| alias ..='cd ../../' | |
| alias ...='cd ../../../' | |
| alias ....='cd ../../../../' | |
| alias .....='cd ../../../../../' | |
| alias ......='cd ../../../../../../' |
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
| <ul class="list-group"> | |
| <f:for each="{files}" as="file"> | |
| <li class="list-group-item"> | |
| <a href="{file.publicUrl}" > | |
| <img src="typo3/gfx/fileicons/{file.extension}.gif" /> | |
| {file.name} | |
| </a> | |
| </li> | |
| </f:for> | |
| </ul> |
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 | |
| /** | |
| * @Flow\Inject | |
| * @var \TYPO3\Flow\Mvc\Routing\Router | |
| */ | |
| protected $router; | |
| function getRoute($request) { | |
| $this->router->route($request->getHttpRequest()); | |
| $route = $this->router->getLastMatchedRoute(); |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title></title> | |
| <script type="text/javascript"> | |
| window.onresize = function(){ | |
| var agent = navigator.userAgent; | |
| var current_width = window.innerWidth; | |
| var html = document.getElementsByTagName('html')[0]; | |
| if (agent.match(/Android.*Mobile|BlackBerry|iPhone|iPod|Opera Mini|IEMobile/i)) { |
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
| - | |
| requestFilter: 'isPackage("Package1.Features")' | |
| options: | |
| layoutRootPathPattern: resource://Famelo.ADU/Private/Layouts/ | |
| templatePathAndFilename: resource://Famelo.ADU/Private/Templates/Features/Index.html |
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
| - | |
| name: 'Home' | |
| uriPattern: '' | |
| defaults: | |
| '@package': 'Famelo.Brain' | |
| '@controller': 'Standard' | |
| '@action': 'index' | |
| '@format': 'html' | |
| appendExceedingArguments: true |