Skip to content

Instantly share code, notes, and snippets.

<?php
namespace Test\News\Controller;
/* *
* This script belongs to the TYPO3 Flow package "Test.News". *
* *
* */
use TYPO3\Flow\Annotations as Flow;
use TYPO3\Flow\Mvc\Controller\ActionController;
prototype(Test.News:Plugin) < prototype(TYPO3.Neos.ContentTypes:Plugin)
prototype(Test.News:Plugin) {
package = 'Test.News'
controller = 'News'
action = 'listNews'
argumentNamespace = 'news'
}
<?php
namespace My\Demo\Command;
/* *
* This script belongs to the TYPO3 Flow package "My.Demo". *
* *
* */
use TYPO3\Flow\Error\Exception;
/**
* Root TypoScript template for the Site
*/
page = Page
page.headerData {
metatags = TYPO3.TypoScript:Template
metatags {
templatePath = 'resource://MyPackage/Private/Templates/Page/Default.html'