This file contains hidden or 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
<flux:flexform.field.group | |
label="Bild" | |
name="image" | |
internalType="file" | |
showThumbs="1" | |
size="1" | |
uploadFolder="fileadmin/uploads/tx_meinfce/" | |
maxItems="1" | |
allowed="jpg,jpeg,png,gif,pdf" | |
required="1" |
This file contains hidden or 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
plugin { | |
tx_my_ext { | |
view { | |
label = My label | |
extensionKey = my_ext | |
templateRootPath = typo3conf/ext/my_ext/res/projectname/assets/html/fluidCE/Templates/ | |
} | |
} | |
} |
This file contains hidden or 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.'); | |
} | |
// If your extension contains fluidcontent FCE templates: | |
Tx_Flux_Core::registerProviderExtensionKey('my_ext', 'Content'); |
This file contains hidden or 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
<flux:flexform.field.select name="editableRelations" label="Dummy" maxItems="5" size="5" multiple="TRUE" table="pages"> | |
<flux:flexform.field.wizard:add table="pages" /> | |
<flux:flexform.field.wizard:edit /> | |
<flux:flexform.field.wizard:list table="tt_content" /> | |
</flux:flexform.field.select> |
This file contains hidden or 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
<? | |
class tx_myext { | |
protected $extKey = 'myext'; | |
/** | |
* @param $aParams | |
* @param $oTemplate TYPO3\CMS\Backend\Template\DocumentTemplate | |
*/ | |
public function imageCropperHook(&$aParams, $oTemplate) { | |
global $SOBE; |
This file contains hidden or 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
<? | |
$referencedRecordData = $TYPO3_DB->exec_SELECTgetSingleRow( | |
'*', | |
'tt_content', | |
'uid = ' . $referencedRecordUid | |
. ' AND pid = ' . $referencedRecordPid | |
); | |
/** @var \TYPO3\CMS\Backend\Form\FormEngine $TYPO3BackendFormEngine */ | |
$TYPO3BackendFormEngine = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\CMS\Backend\Form\FormEngine'); |
This file contains hidden or 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
<strong></strong><br /><hr /> | |
<strong></strong><br /><hr /> | |
<strong></strong><br /><hr /> | |
<strong></strong><br /><hr /> | |
<strong> | |
<span class="t3-help-link" href="#" data-table="tt_content" data-field="bodytext"> | |
<abbr class="t3-help-teaser">Text</abbr> | |
</span> | |
</strong><br /> | |
<table border="0" cellpadding="0" cellspacing="0"> |
This file contains hidden or 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
vagrant@precise32:/vagrant/temp/TYPO3_CodingStandard-master/scripts$ php ./PearPackageCreator.php make --TYPO3SniffPool 0.0.5 beta | |
PHP Warning: require_once(PEAR/PackageFileManager2.php): failed to open stream: No such file or directory in /vagrant/temp/TYPO3_CodingStandard-master/scripts/PearPackageCreator.php on line 2 | |
PHP Fatal error: require_once(): Failed opening required 'PEAR/PackageFileManager2.php' (include_path='.:/usr/share/php:/usr/share/pear') in /vagrant/temp/TYPO3_CodingStandard-master/scripts/PearPackageCreator.php on line 2 |
This file contains hidden or 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
<? | |
/* | |
* add color select field to the pages table | |
*/ | |
$tempColumns = array( | |
'section_color' => array ( | |
'exclude' => 0, | |
'label' => 'LLL:EXT:media/Resources/Private/Language/locallang_db.xlf:pages.section_color', | |
'config' => array ( | |
'type' => 'select', |
This file contains hidden or 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
rewriteActionItems: { | |
newRecordSelect: { | |
selector: 'select[onchange^="return inline.importNewRecord"]', | |
eventName: 'onchange', | |
eventValue: 'DS.VariantManager.createVariant()' | |
} | |
} | |
rewriteActions: function() { | |
$.each(this.config.rewriteActionItems, function(index, config) { |
OlderNewer