I hereby claim:
- I am cedricziel on github.
- I am cedricziel (https://keybase.io/cedricziel) on keybase.
- I have a public key ASAfgwH_iPnBRuetEupEV-aAKQeFZyvkiw-Rop-5rRCSogo
To claim this, I am signing this object:
<?php | |
namespace Websight\MyExt\Validation; | |
/*************************************************************** | |
* Copyright notice | |
* | |
* (c) 2015 Cedric Ziel <cedric@cedric-ziel.com> | |
* (c) 2014 Carsten Bleicker <carsten@bleicker.de> | |
* All rights reserved |
<?php | |
/** | |
* Custom Doktypes | |
*/ | |
// Define a new doktype | |
$customShortlinkDoktype = 120; | |
$customPageIcon = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/Shortlink.png'; | |
// Add the new doktype to the list of page types | |
$GLOBALS['PAGES_TYPES'][$customShortlinkDoktype] = array( |
I hereby claim:
To claim this, I am signing this object:
<!-- place plugin configuration on rather the "slimScrollConfig" global value | |
or override it when needed --> | |
<div slim-scroll="{height: '500px'}"></div> |
<?php | |
namespace My\Ext\Hooks; | |
use TYPO3\CMS\Backend\Utility\BackendUtility; | |
class RealUrlAutoconfHook { | |
/** | |
* @param array $params |
{ | |
"require": { | |
"tm/tooly-composer-script": "^1.2" | |
}, | |
"require-dev": { | |
"escapestudios/symfony2-coding-standard": "~2.0" | |
}, | |
"scripts": { | |
"post-install-cmd": [ |
config.tx_extbase { | |
persistence { | |
classes { | |
Vendor\MyExt\Domain\Model\Address { | |
mapping { | |
tableName = tt_address | |
# optional. if you have added additional fields f.e. | |
columns { | |
tx_foo_description.mapOnProperty = description | |
tx_foo_my_other_column.mapOnProperty = unusualPropertyName |
<?php | |
namespace AppBundle\Routing; | |
use AppBundle\Entity\RoutableEntityInterface; | |
use JMS\I18nRoutingBundle\Router\I18nRouter; | |
/** | |
* Class Router | |
* Overrides the I18n router to be able to resolve objects by route |
fooapp@srv:~$ cat app/env/PLAY_OPTS | |
export DATABASE_URL="jdbc:postgresql://127.0.0.1/foobar" | |
# We could wire a different configuration file here | |
# or set up a different database on the fly | |
export PLAY_OPTS="-DapplyEvolutions.default=true -DapplyDownEvolutions.default=true -Ddb.default.url="$DATABASE_URL" -Ddb.default.user=fooapp -Ddb.default.password=fooapppw -Ddb.default.driver=org.postgresql.Driver" |
# Configuration/Production/Settings.yaml | |
# ... | |
TYPO3: | |
Flow: | |
core: | |
phpBinaryPathAndFilename: '/usr/local/bin/php7-70STABLE-CLI' |