View SiteLanguageRedirect.php
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 PaulBeck\TueSitetemplate; | |
use Psr\Http\Message\ResponseInterface; | |
use Psr\Http\Message\ServerRequestInterface; | |
use Psr\Http\Server\MiddlewareInterface; | |
use Psr\Http\Server\RequestHandlerInterface; | |
use TYPO3\CMS\Core\Utility\GeneralUtility; |
View BranchenbuchCommand.php
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')) | |
) |
View 15_content.typoscript
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/ | |
} |
View ProduktRepository.php
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); |
View RequiredFileReferenceFields.js
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(); | |
}); |
View EditLinkViewHelper.php
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. | |
* |
View ViewHelpers_AbstrastFrontendLinkViewHelper.php
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 |
View TYPO3 Fluid Select Value From Variable List.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
<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"/> |
View OrganisationRepository.php
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) { |
View 15_formhandler.ts
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 |
NewerOlder