-
-
Save pumatertion/c8223b815b7b2b02132c to your computer and use it in GitHub Desktop.
BUG: Plugins by TS acting both on get params
This file contains 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 Acme\Foo\Controller; | |
/** | |
* Class BarController | |
* | |
* @package Acme\Foo\Controller | |
*/ | |
class BarController extends \TYPO3\Flow\Mvc\Controller\ActionController { | |
/** | |
* @return void | |
*/ | |
public function indexAction(){ | |
} | |
/** | |
* @return void | |
*/ | |
public function showAction(){ | |
} | |
} |
This file contains 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> | |
{namespace neos=TYPO3\Neos\ViewHelpers} | |
{namespace ts=TYPO3\TypoScript\ViewHelpers} | |
<html> | |
<body> | |
<f:section name="body"> | |
{parts.foo -> f:format.raw()} | |
{parts.bar -> f:format.raw()} | |
</f:section> | |
</body> | |
</html> |
This file contains 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(Acme.Foo:Foo) < prototype(TYPO3.Neos:Plugin) | |
prototype(Acme.Foo:Foo) { | |
package = 'Acme.Foo' | |
controller = 'Foo' | |
action = 'index' | |
} | |
prototype(Acme.Foo:Bar) < prototype(TYPO3.Neos:Plugin) | |
prototype(Acme.Foo:Bar) { | |
package = 'Acme.Foo' | |
controller = 'Bar' | |
action = 'index' | |
} |
This file contains 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 PIPEU\Site\Controller; | |
/** | |
* Class FooController | |
* | |
* @package Acme\Foo\Controller | |
*/ | |
class FooController extends \TYPO3\Flow\Mvc\Controller\ActionController { | |
/** | |
* @return void | |
*/ | |
public function indexAction(){ | |
} | |
/** | |
* @return void | |
*/ | |
public function showAction(){ | |
} | |
} |
This file contains 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
<h1>FooController->indexAction()</h1> | |
<f:link.action action="show" controller="Foo" package="Acme.Foo">Click to call <strong>FooController</strong>->showAction()</f:link.action> | |
<hr/> |
This file contains 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
namespace: TypoScript=TYPO3.TypoScript | |
include: NodeTypes/FooAndBar.ts2 | |
page = Page { | |
body { | |
templatePath = 'resource://Acme.Foo/Private/Templates/Page/Default.html' | |
partialRootPath = 'resource://Acme.Foo/Private/Partials' | |
sectionName = 'body' | |
parts { | |
foo = Acme.Foo:Foo | |
bar = Acme.Foo:Bar | |
} | |
} | |
} | |
This file contains 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
<h1>FooController->showAction()</h1> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment