View helper usage:
{a=Aertmann\Acme\ViewHelpers}
<div id="{node.properties.title -> a:slugify()}"></div>
Eel helper usage:
slug = ${String.slugify(q(node).property('title'))}
<?php | |
namespace Moc\Net\TypoScript\FlowQueryOperations; | |
use TYPO3\Flow\Annotations as Flow; | |
use TYPO3\Eel\FlowQuery\FlowQuery; | |
use TYPO3\TYPO3CR\Domain\Repository\NodeDataRepository; | |
/** | |
* Override the built in Neos PropertyOperation so the operation can take a default value | |
*/ |
contentDimensions: | |
dimensions: | |
locales: | |
defaultPreset: all | |
icon: 'icon-language' | |
presets: | |
all: | |
routePart: 'intl' | |
label: 'All languages' | |
values: [mul_ZZ] |
TYPO3: | |
Neos: | |
contentDimensions: | |
dimensions: | |
'locales': | |
defaultPreset: 'all' | |
label: 'Locale' | |
icon: 'icon-language' | |
position: 100 | |
presets: |
You can do it with a simple template object. Here's an example: | |
contentMenu = TYPO3.TypoScript:Template { | |
templatePath = 'resource://Moc.Net/Private/Templates/TypoScriptObjects/ContentMenu.html' | |
items = ${q(node).children('[instanceof TYPO3.Neos:ContentCollection]').children('[instanceof Moc.Net:SectionGrid][showInContentMenu = true]')} | |
} | |
{namespace moc=Moc\Net\ViewHelpers} | |
<f:if condition="{items}"> | |
<ul> |
# If object | |
page.htmlTag.attributes.style = TYPO3.TypoScript:If { | |
condition = ${q(node).property('image')} | |
then = TYPO3.TypoScript:ResourceUri { | |
resource = ${q(node).property('image').resource} | |
@process.wrap = ${"background-image: url('" + value + "');"} | |
} | |
} |
/Build/Behat/* | |
/Build/BuildEssentials | |
/Build/Reports | |
/Build/Resources | |
/Data/ | |
/Packages/ | |
/Web/ | |
/bin/ | |
/Readme.txt | |
/Upgrading.txt |
static protected $blacklistedClassNames = '/ | |
(TYPO3\\\\Flow\\\\Aop.*) | |
(TYPO3\\\\Flow\\\\Cac.*) | | |
(TYPO3\\\\Flow\\\\Core\\\\.*) | | |
(TYPO3\\\\Flow\\\\Con.*) | | |
(TYPO3\\\\Flow\\\\Http\\\\RequestHandler) | | |
(TYPO3\\\\Flow\\\\Uti.*) | | |
(TYPO3\\\\Flow\\\\Mvc\\\\Routing.*) | | |
(TYPO3\\\\Flow\\\\Log.*) | | |
(TYPO3\\\\Flow\\\\Obj.*) | |
<?php | |
namespace MOC\...\ViewHelpers\Form; | |
/** | |
* The form checkbox select view helper | |
* | |
* @scope prototype | |
*/ | |
class CheckboxSelectViewHelper extends \TYPO3\CMS\Fluid\ViewHelpers\Form\AbstractFormFieldViewHelper { |
### | |
# RSS Feed for articles | |
### | |
- | |
name: 'RSS Feed (page)' | |
uriPattern: '{node}/rss.xml' | |
routeParts: | |
'node': | |
handler: 'TYPO3\Neos\Routing\FrontendNodeRoutePartHandlerInterface' | |
defaults: |
View helper usage:
{a=Aertmann\Acme\ViewHelpers}
<div id="{node.properties.title -> a:slugify()}"></div>
Eel helper usage:
slug = ${String.slugify(q(node).property('title'))}