- ssh (generate key and put on server)
- make sure
rsync
is available on both servers
- deploy directory
- repository URL
- database name
# bootstrap.yml | |
--- | |
- hosts: newservers | |
vars: | |
- ubuntu_release: raring | |
- logwatch_email: <your email addy> | |
# crypted passwords, generated on a Linux box using: | |
# echo 'import crypt,getpass; print crypt.crypt(getpass.getpass(), "$6$YOURSALT")' | python - | |
- root_password: '' |
When your table has more than 1 field with relations to sys_category you will run into problems because the MM relation table sys_category_record_mm will only store which table a category belongs to - but not the specific field.
You need to extend sys_category_record_mm like this:
Add the following to your extension's ext_tables.sql:
CREATE TABLE sys_category_record_mm (
tt_content.gridelements_pi1 { | |
# Display Headline above each grid element | |
//10 = < lib.stdheader | |
10 = CASE | |
10 { | |
key.field = tx_gridelements_backend_layout | |
default =< lib.stdheader | |
# Hide header on Tab ELEMENT | |
7 = TEXT |
SQL: | |
images int(11) unsigned DEFAULT '0', | |
======================================================= | |
TCA | |
.... | |
'images' => array( | |
'exclude' => 0, | |
'label' => 'images', | |
# 'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig('images'), | |
'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig( |