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
http://wiki.typo3.org/Pagetree#Context_menu | |
options.contextMenu { | |
table.pages.items { | |
710 = ITEM | |
710 { | |
name = notInMenu | |
label = Hide in menu | |
icon = ' . t3lib_div::locationHeaderUrl(t3lib_extMgm::extRelPath($_EXTKEY) . 'ext_icon.gif') . ' | |
spriteIcon = |
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
# Plugins schema | |
{ | |
"TYPO3.Blog:BlogPlugin": { | |
"pluginViews": { | |
"PostDetails": { | |
"controllerActions": { | |
"CommentController": [ | |
"create", | |
"delete" | |
], |
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 Teamwork\Teamwork\Domain\Model; | |
/* * | |
* This script belongs to the TYPO3 Flow package "Teamwork.Teamwork". * | |
* * | |
* */ | |
use TYPO3\Flow\Annotations as Flow; | |
use Doctrine\ORM\Mapping as ORM; |
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
<form action="save.php" method="POST"> | |
<input type="hidden" name="element-uid" value="[tt_content_uid]" /> | |
<textarea>Here goes comment - this could be a RTE</textarea> | |
</form> |
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
10 = COA | |
10 { | |
10 = TEXT | |
10 { | |
value = http://www.gravatar.com/avatar/ | |
} | |
20 = TEXT | |
20 { | |
value = [email protected] | |
hash = md5 |
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
renderObj = COA | |
renderObj { | |
wrap = <ul>|</ul> | |
1 = TEXT | |
1 { | |
wrap = <li>|</li> | |
typolink { | |
parameter.field = link | |
} | |
field = title |
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
➜ Desktop ls -l CenterSjaelland | |
total 416 | |
-rw-r--r--@ 1 sorenmalling staff 1866 29 Maj 08:10 README.md | |
-rw-r--r--@ 1 sorenmalling staff 55364 29 Maj 08:10 apple-touch-icon-precomposed.png | |
-rw-r--r--@ 1 sorenmalling staff 55364 29 Maj 08:10 apple-touch-icon.png | |
-rw-r--r--@ 1 sorenmalling staff 102 29 Maj 08:10 bower.json | |
-rw-r--r--@ 1 sorenmalling staff 1205 29 Maj 08:10 config.rb | |
drwxr-xr-x 4 sorenmalling staff 136 29 Maj 08:10 css | |
-rwxr-xr-x@ 1 sorenmalling staff 25848 29 Maj 08:10 demo.html | |
-rw-r--r--@ 1 sorenmalling staff 39096 29 Maj 08:10 facebook.jpg |
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
$uploadFolder = $GLOBALS['TCA'][$table]['columns']['fileupload']['config']['uploadfolder']; | |
$uploadedImages = explode(',', $fieldArray['fileupload']); | |
/** @var $fileCollectionRepository TYPO3\CMS\Core\Resource\FileCollectionRepository */ | |
// $fileCollectionRepository = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Resource\\FileCollectionRepository'); | |
// $fileCollectionObject = $fileCollectionRepository->findByUid($id); | |
/** @var $fileFactory \TYPO3\CMS\Core\Resource\ResourceFactory */ | |
$fileFactory = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Resource\\ResourceFactory'); | |
/** @var $indexerService \TYPO3\CMS\Core\Resource\Service\IndexerService */ | |
$indexerService = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Resource\\Service\\IndexerService'); |
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
function processDatamap_postProcessFieldArray ($status, $table, $id, &$fieldArray, $parentObject) { | |
if($table == 'sys_file_collection' && in_array($status, array('update', 'new'))) { | |
if(array_key_exists('uploadfile', $fieldArray)) { | |
$uploadFolder = $GLOBALS['TCA'][$table]['columns']['uploadfile']['config']['uploadfolder']; | |
$uploadedImages = explode(',', $fieldArray['uploadfile']); | |
unset($fieldArray['uploadfile']); // Don't want it to get persistsed as it serves a dummy | |
/** @var $fileCollectionRepository TYPO3\CMS\Core\Resource\FileCollectionRepository */ | |
$fileCollectionRepository = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Resource\\FileCollectionRepository'); | |
$fileCollectionObject = $fileCollectionRepository->findByUid($id); |
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 | |
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['realurl']=array ( | |
'_DEFAULT' => | |
array ( | |
'init' => | |
array ( | |
'enableCHashCache' => true, | |
'appendMissingSlash' => 'ifNotFile,redirect', | |
'adminJumpToBackend' => true, | |
'enableUrlDecodeCache' => true, |
OlderNewer