Log in to your Managed Hosting Server via SSH
Add these two lines to .bashrc:
(function(w, $) { | |
var F = w.parent.F; | |
w.parent.F.dropGridCe = dropGridCe; | |
w.parent.F.moveRecordInGrid = moveRecordInGrid; | |
w.parent.F.dragCeInsideGridStart = dragCeInsideGridStart; | |
// Custom function for grid elements | |
// Only for move action | |
function dropGridCe(ev) { |
<?php | |
declare(strict_types=1); | |
namespace Pixelant\PxaMedaT3kit\Hooks; | |
use TYPO3\CMS\Core\Utility\GeneralUtility; | |
use TYPO3\CMS\FrontendEditing\EditingPanel\FrontendEditingDropzoneModifier; | |
use Pixelant\PxaMedaT3kit\Xclass\FrontendEditing\Service\ContentEditableWrapperService; | |
/** |
<?php | |
class Double2With4DecimalsFormat { | |
function returnFieldJS() { | |
return ' | |
return value.replace(",", "."); | |
'; | |
} | |
function evaluateFieldValue($value, $is_in, &$set) { | |
if ('' == $value) { | |
return NULL; |
<?php | |
// TYPO3 Surf script to deploy and update TYPO3 Neos at your uberspace.de account | |
// before of after the initial deployment, you have to setup some things manually at your host (e.g. DB credentials in Settings.yaml) | |
// Note: replace placeholders such as [PLACEHOLDER] with the correct information | |
// Create a simple workflow based on the predefined 'SimpleWorkflow'. | |
$workflow = new \TYPO3\Surf\Domain\Model\SimpleWorkflow(); |
<neos:contentElement.wrap node="{node}"> | |
<header> | |
<neos:contentElement.editable property="title" tag="h1" /> | |
</header> | |
</neos:contentElement.wrap> |