It's a bundle of documentation of languages, projects and other stuff. Easily searchable and can be used offline.
Download: https://devdocs.io
<?php | |
declare(strict_types=1); | |
namespace VendorName\Sitepackage\Event\Listener; | |
use TYPO3\CMS\Core\Attribute\AsEventListener; | |
use TYPO3\CMS\Core\Resource\Event\BeforeFileProcessingEvent; | |
use TYPO3\CMS\Core\Resource\File; | |
use TYPO3\CMS\Core\Resource\FileInterface; |
# Additions to existing Apache's .htaccess rules | |
# Security: Enforce file types matching at end of filename only | |
# see https://docs.typo3.org/m/typo3/reference-coreapi/10.4/en-us/Security/GuidelinesAdministrators/Index.html#file-extension-handling | |
# see https://httpd.apache.org/docs/2.4/mod/mod_mime.html#multipleext | |
<IfModule mod_mime.c> | |
RemoveType .html .htm | |
<FilesMatch ".+\.html?$"> | |
AddType text/html .html | |
AddType text/html .htm |
It's a bundle of documentation of languages, projects and other stuff. Easily searchable and can be used offline.
Download: https://devdocs.io
git --no-pager log --date=short --no-merges --pretty="%<(12)%ad%<(9)%h%s" `git describe --abbrev=0 --tags`..HEAD
--no-pager Do not pipe Git output into a pager.
--date=short Show only the date, but not the time, in YYYY-MM-DD
format.
composer create-project typo3/cms-base-distribution='^7.6.0' my-test-typo3 --no-interaction | |
cd my-test-typo3/ | |
composer require helhum/typo3-console | |
# This will only work with PHP < 7 as realurl need PHP 5.x | |
composer require typo3-ter/introduction | |
cp web/typo3conf/ext/typo3_console/Scripts/typo3cms . | |
cp web/typo3conf/ext/bootstrap_package/Configuration/Apache/.htaccess web/ | |
chmod +x typo3cms | |
./typo3cms install:setup --non-interactive --database-user-name="root" --database-user-password="root" --database-host-name="localhost" --database-port="3306" --database-name="t3_my_test" --admin-user-name="admin" --admin-password="password" --site-name="Auto Install" | |
./typo3cms database:updateschema '*.*' |
#!/usr/bin/env bash | |
if [ -n "$1" ] | |
then | |
if grep "ide.mac.useNativeClipboard=" "$1"/Contents/bin/idea.properties > /dev/null | |
then | |
if grep "ide.mac.useNativeClipboard=false" "$1"/Contents/bin/idea.properties > /dev/null | |
then | |
echo "ide.mac.useNativeClipboard=false found -> change to true" |
# wrap layout, language and tt_content uid around | |
tt_content.stdWrap.innerWrap.cObject.default.20.stdWrap.noTrimWrap = | class="| layout-{field:layout} language-{field:sys_language_uid} uid-{field:uid}"| | |
tt_content.stdWrap.innerWrap.cObject.default.20.stdWrap.insertData = 1 | |
# wrap content category around | |
tt_content.stdWrap.innerWrap.cObject.default.20 = COA | |
tt_content.stdWrap.innerWrap.cObject.default.20 { | |
10 = CONTENT | |
10 { | |
wrap =| |
<?php | |
$GLOBALS['TYPO3_CONF_VARS']['BE']['installToolPassword'] = '$P$CEF2NP3kCoIHwDupr8RiYUMQ7/Rp.j.'; | |
$GLOBALS['TYPO3_CONF_VARS']['DB']['database'] = 'projects_my_multiplenodes'; | |
$GLOBALS['TYPO3_CONF_VARS']['DB']['username'] = 'user'; | |
$GLOBALS['TYPO3_CONF_VARS']['DB']['password'] = 'secret'; | |
$GLOBALS['TYPO3_CONF_VARS']['SYS']['sitename'] = 'My MultipleNodes'; |
<?php | |
$GLOBALS['TYPO3_CONF_VARS']['BE']['installToolPassword'] = '$P$CEF2NP3kCoIHwDupr8RiYUMQ7/Rp.j.'; | |
$GLOBALS['TYPO3_CONF_VARS']['DB']['database'] = 'projects_my_onenode'; | |
$GLOBALS['TYPO3_CONF_VARS']['DB']['username'] = 'user'; | |
$GLOBALS['TYPO3_CONF_VARS']['DB']['password'] = 'secret'; | |
$GLOBALS['TYPO3_CONF_VARS']['SYS']['sitename'] = 'My OneNode'; |