Skip to content

Instantly share code, notes, and snippets.

View friggingee's full-sized avatar

Grigori Prokhorov friggingee

View GitHub Profile
[default] Running provisioner: puppet...
Running Puppet with graylog2.pp...
stdin: is not a tty
Warning: Config file /etc/puppet/hiera.yaml not found, using Hiera defaults
Warning: Scope(Class[Apt::Update]): Could not look up qualified variable 'apt::update_timeout'; class apt has not been evaluated
Notice: /Stage[first]/Apt_update/Exec[update_sources_list]/returns: executed successfully
Error: Could not update: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install openjdk-7-jre-headless' returned 100: Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
rewriteActionItems: {
newRecordSelect: {
selector: 'select[onchange^="return inline.importNewRecord"]',
eventName: 'onchange',
eventValue: 'DS.VariantManager.createVariant()'
}
}
rewriteActions: function() {
$.each(this.config.rewriteActionItems, function(index, config) {
<?
/*
* 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',
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
<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">
<?
$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');
<?
class tx_myext {
protected $extKey = 'myext';
/**
* @param $aParams
* @param $oTemplate TYPO3\CMS\Backend\Template\DocumentTemplate
*/
public function imageCropperHook(&$aParams, $oTemplate) {
global $SOBE;
<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>
<?php
if (!defined ('TYPO3_MODE')) {
die ('Access denied.');
}
// If your extension contains fluidcontent FCE templates:
Tx_Flux_Core::registerProviderExtensionKey('my_ext', 'Content');
plugin {
tx_my_ext {
view {
label = My label
extensionKey = my_ext
templateRootPath = typo3conf/ext/my_ext/res/projectname/assets/html/fluidCE/Templates/
}
}
}