Created
October 29, 2014 16:22
-
-
Save tv-schulz/75f30b42c1090fcf1e10 to your computer and use it in GitHub Desktop.
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 | |
if (!defined('TYPO3_MODE')) { | |
die ('Access denied.'); | |
} | |
TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'My provider extension'); | |
\FluidTYPO3\Flux\Core::registerProviderExtensionKey('myprovider', 'Page'); | |
\FluidTYPO3\Flux\Core::registerProviderExtensionKey('myprovider', 'Content'); | |
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
<f:layout name="Content" /> | |
<f:render section="Main" /> |
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 flux=FluidTYPO3\Flux\ViewHelpers} | |
<f:layout name="Content" /> | |
<f:section name="Configuration"> | |
<flux:form id="fluidfluxcontent" label="Fluid/FluxContent" options="{icon: 'Icons/Content/Example.gif'}"> | |
<!-- Insert fields, sheets, grid, form section objects etc. here, in this flux:flexform tag --> | |
</flux:form> | |
</f:section> | |
<f:section name="Preview"> | |
<!-- uncomment this to use a grid for nested content elements --> | |
<!-- <flux:widget.grid /> --> | |
</f:section> | |
<f:section name="Main"> | |
<h3>I am a content element!</h3> | |
<p> | |
My template file is EXT:myprovider/Resources/Private/Content/Example.html. | |
</p> | |
</f:section> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment