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=Tx_Flux_ViewHelpers} | |
<f:layout name="Content"/> | |
<f:section name="Configuration"> | |
<flux:flexform wizardTab="PRISMA" id="dynamicgrid" label="Dynamisches Grid"> | |
<flux:flexform.section name="columns" label="Spalten"> | |
<flux:flexform.object name="column" label="Spalte"> | |
<flux:flexform.field.select name="columnClass" label="Spaltenbreite" items="span1,span2,span3,span4,span5,span6,span7,span8,span9,span10,span11,span12" maxItems="1" /> | |
</flux:flexform.object> | |
</flux:flexform.section> | |
<flux:flexform.grid> |
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=Tx_Flux_ViewHelpers} | |
{namespace v=Tx_Vhs_ViewHelpers} | |
{namespace w=Tx_Fluidwidget_ViewHelpers} | |
<f:layout name="Content"/> | |
<f:section name="Configuration"> | |
<flux:flexform id="appendixes" label="Appendixes" wizardTab="PRISMA"> | |
<flux:flexform.section name="appendixes" label="Anhänge / Verweise"> | |
<flux:flexform.object name="appendix" label="Anhang / Verweis"> | |
<flux:flexform.field.select name="linkType" label="Verweistyp" items="{page:'Interner Verweis',url:'Externer Verweis beginnend mit http://',filereference:'Dateianhang'}"></flux:flexform.field.select> | |
<flux:flexform.field.select name="linkIcon" label="Link Icon" items="{0:'kein Icon',calendar:'Kalender',bubble:'Sprechblase'}"></flux:flexform.field.select> |
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
Create a Hidden Form Field named recipient | |
Define Recipient Email as: {f:cObject(typoscriptObjectPath:'lib.receiveremail')} | |
Define Recipient Name as: {f:cObject(typoscriptObjectPath:'lib.receivername')} |
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
/** | |
* Init ICalendar Action | |
* Set Format to ICS | |
*/ | |
public function initializeICalendarAction() { | |
$this->request->setFormat('ics'); | |
} | |
/** | |
* action iCalendar |
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
$declaredInterfaces = get_declared_interfaces(); | |
if (FALSE === array_search('TYPO3\CMS\Core\SingletonInterface', $declaredInterfaces)) { | |
interface SingletonInterface { | |
} | |
} |
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
$objectStorage = $this->fillOjectStorageFromQueryResult($this->myRepository->findAll())); | |
/** | |
* Fill objectStorage from QueryResult | |
* | |
* @param \TYPO3\CMS\Extbase\Persistence\QueryResultInterface $queryResult | |
* @return \TYPO3\CMS\Extbase\Persistence\ObjectStorage | |
*/ | |
protected function fillOjectStorageFromQueryResult(\TYPO3\CMS\Extbase\Persistence\QueryResultInterface $queryResult=NULL) { |
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 p=Codearts\Prisma\ViewHelpers} | |
{p:transformToType(value:settings.vpimage,dataType:'Codearts\Vpimages\Domain\Model\Image')->v:var.set(name:'vpimage')} |
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
$query = $this->createQuery(); | |
$results = $query->matching($query->in('objectProfile.geoLocation', $geoLocations)); | |
# Sort by distance | |
if($geoLocations) { | |
foreach($geoLocations AS $geoLoc) { | |
$key = 'objectProfile.geoLocation = '.$geoLoc->getUid(); | |
$orderings[$key] = Tx_Extbase_Persistence_QueryInterface::ORDER_ASCENDING; | |
} | |
$results = $results->setOrderings($orderings); |
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
{v:page.info()->v:var.set(name:'currentPage')} | |
{settings.pagesToExclude->v:iterator.explode()->v:var.set(name:'pagesToExcludeArr')} | |
<f:if condition="{v:if.iterator.contains(needle:currentPage.uid,haystack:pagesToExcludeArr)->v:if.var.isNull()}"> | |
<v:asset.script name="test"></v:asset.script> | |
</f:if> |
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
Expected html markup: | |
<div class="container1"> | |
<a>1. Link</a> | |
<a>2. Link</a> | |
<a>3. Link</a> | |
<a>4. Link</a> | |
<a>5. Link</a> | |
</div> | |
<div class="container2"> | |
<a>6. Link</a> |