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
<settings.galleryFolder> | |
<TCEforms> | |
<label>Galerie-Ordner wählen</label> | |
<config> | |
<type>group</type> | |
<minItems>1</minItems> | |
<internal_type>folder</internal_type> | |
</config> | |
</TCEforms> | |
</settings.galleryFolder> |
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
########################################################################## | |
# KONTAKTFORMULAR | |
########################################################################## | |
plugin.Tx_Formhandler.settings.predef.contact { | |
name = Terminwunsch | |
addErrorAnchors = 0 | |
formValuesPrefix = formhandler | |
isErrorMarker.default = error_class |
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
/** | |
* Dispatches magic methods (findBy[Property]()) | |
* http://etobi.de/blog/2011/10/multi-property-magic-finder/ | |
* @param string $methodName The name of the magic method | |
* @param string $arguments The arguments of the magic method | |
* @throws \TYPO3\CMS\Extbase\Persistence\Generic\Exception\UnsupportedMethodException | |
* @return void | |
* @api | |
*/ | |
public function __call($methodName, $arguments) { |
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:form.select property="sichtbarfuergruppe" | |
options="{ | |
0: { | |
'uid': '{settings.whatEver}', | |
'label': 'Vorlesungsplaner und Dozenten' | |
}, | |
1: { | |
'uid': '{settings.adminUserGroupId}', | |
'label': 'Nur Vorlesungsplaner' | |
}}" optionLabelField="label" optionValueField="uid"/> |
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 Netzmagnet\SubscribeEverything\ViewHelpers; | |
use TYPO3\CMS\Core\Utility\ExtensionManagementUtility; | |
use TYPO3\CMS\Core\Utility\GeneralUtility; | |
use TYPO3\CMS\Frontend\Utility\EidUtility; | |
use \TYPO3\CMS\Backend\Utility\BackendUtility; | |
abstract class AbstrastFrontendLinkViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractTagBasedViewHelper |
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 Vendor\YourExt\ViewHelpers; | |
/* | |
* This file is part of the TYPO3 CMS project. | |
* | |
* It is free software; you can redistribute it and/or modify it under | |
* the terms of the GNU General Public License, either version 2 | |
* of the License, or any later version. | |
* |
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
define(['jquery'], function($) { | |
$(document).on('t3-formengine-postfieldvalidation',function() { | |
validateReferenceFields(); | |
}); | |
$(document).on('change','.t3js-form-field-eval-null-placeholder-checkbox input', function() { | |
validateReferenceFields(); | |
}); |
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
$queryParser = $this->objectManager->get(\TYPO3\CMS\Extbase\Persistence\Generic\Storage\Typo3DbQueryParser::class); | |
$sql = $queryParser->convertQueryToDoctrineQueryBuilder($query)->getSQL(); | |
$paramters = $queryParser->convertQueryToDoctrineQueryBuilder($query)->getParameters(); | |
$search = array(); | |
$replace = array(); | |
foreach ($paramters as $k => $v) { | |
$search[] = ':' . $k; | |
$replace[] = '\'' . $v . '\''; | |
} | |
$sql = str_replace($search, $replace, $sql); |
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
lib.contentElement { | |
templateRootPaths { | |
100 = EXT:bruening_website/Resources/Private/Templates/FluidStyledContent/ | |
} | |
partialRootPaths { | |
100 = EXT:bruening_website/Resources/Private/Partials/FluidStyledContent/ | |
} | |
layoutRootPaths { | |
100 = EXT:bruening_website/Resources/Private/Layouts/FluidStyledContent/ | |
} |
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
/** @var \TYPO3\CMS\Core\Database\Query\QueryBuilder $queryBuilder */ | |
$queryBuilder = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Database\ConnectionPool::class) | |
->getQueryBuilderForTable('tt_content'); | |
$elements = $queryBuilder->select('*')->from('tt_content') | |
->where( | |
$queryBuilder->expr()->andX( | |
$queryBuilder->expr()->eq('CType', $queryBuilder->createNamedParameter('dce_dceuid1')), | |
$queryBuilder->expr()->eq('deleted', $queryBuilder->createNamedParameter('0')) | |
) |
OlderNewer