Skip to content

Instantly share code, notes, and snippets.

View tbal's full-sized avatar

Tilo Baller tbal

  • CosmoCode GmbH
  • Berlin, Germany
View GitHub Profile
@sascha-egerer
sascha-egerer / ExtensionCommandController.php
Created June 25, 2015 08:56
Extension Command to install activated TYPO3 Extensions
<?php
namespace Syzygy\SyzygyBase\Command;
/***************************************************************
* Copyright notice
*
* (c) 2015 Sascha Egerer <sascha.egerer@gmail.com>
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@SventB
SventB / GoogleMaps.html
Last active April 17, 2016 08:49
Google Maps with Flux/Fluidcontent (TYPO3 CMS)
<div xmlns="http://www.w3.org/1999/xhtml" lang="en"
xmlns:v="http://typo3.org/ns/FluidTYPO3/Vhs/ViewHelpers"
xmlns:flux="http://typo3.org/ns/FluidTYPO3/Flux/ViewHelpers"
xmlns:f="http://typo3.org/ns/fluid/ViewHelpers"
xmlns:base="http://typo3.org/ns/MRM/T3base/ViewHelpers">
<f:layout name="Content"/>
<f:section name="Configuration">
<flux:form id="googlemaps" wizardTab="T3Base_example" options="{icon: 'EXT:t3base_example/Resources/Public/Icons/Content/GoogleMaps.png'}">
@htuscher
htuscher / Sections.html
Created November 7, 2015 14:44
FluidTYPO3 one-pager with sections
<div xmlns="http://www.w3.org/1999/xhtml" lang="en"
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
xmlns:v="http://typo3.org/ns/FluidTYPO3/Vhs/ViewHelpers"
xmlns:flux="http://typo3.org/ns/FluidTYPO3/Flux/ViewHelpers">
<f:layout name="Page" />
<f:section name="Configuration">
<!-- Make this page type configurable -->
@pgampe
pgampe / menu.ts
Last active August 4, 2020 12:51
Fully cached menu with TypoScript
page.10 >
page.10 = COA
page.10 {
cache {
key = main-menu
}
10 = TEXT
10 {
@htuscher
htuscher / ExtbaseForceLanguage.php
Last active August 29, 2023 11:04
TYPO3 Extbase get record with language different than FE or 0
<?php
namespace Onedrop\Common\Service;
/***************************************************************
* Copyright notice
*
* (c) 2015 Hans Höchtl <hhoechtl@1drop.de>
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
* free software; you can redistribute it and/or modify
@stmllr
stmllr / RemoveUnreferencedFilesMarkedAsMissing.php
Created October 24, 2016 10:52
TYPO3 scheduler task to delete rows from sys_file without 1) a corresponding file and 2) a reference in sys_file_reference
<?php
namespace My\Ext\Scheduler\Task;
/**
* This file is part of the TYPO3 CMS project.
*
* It is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, either version 2
* of the License, or any later version.
*
@njam
njam / arch-linux
Last active July 13, 2023 06:54
Install Arch Linux on XPS 13 9360
# Installation on Dell XPS
# Please also consult official documentation:
# https://wiki.archlinux.org/index.php/Installation_Guide
# https://wiki.archlinux.org/index.php/Dell_XPS_13_(9360)
# https://wiki.archlinux.org/index.php/Dell_XPS_15_(9550)
# Enter BIOS with F2 and configure:
# - "System Configuration" > "SATA Operation": "AHCI"
# - "Secure Boot" > "Secure Boot Enable": "Disabled"
@spoonerWeb
spoonerWeb / .gitlab-ci.yml
Last active February 12, 2024 10:54
GitLab CI (version >= 9) configuration for testing and TER uploading TYPO3 extensions
cache:
key: "$CI_COMMIT_REF_NAME/$CI_JOB_STAGE"
paths:
- .composer/
before_script:
# Install git on machine
- apk add git --update
stages:
@xperseguers
xperseguers / MyCustomActionBackend.yaml
Last active May 19, 2020 15:41
Custom finisher for EXT:form in TYPO3 v8
# File EXT:your_ext/Configuration/Yaml/MyCustomActionBackend.yaml
TYPO3:
CMS:
Form:
prototypes:
# add our finisher to the 'standard' form prototype
standard:
formElementsDefinition:
Form:
formEditor:
@t3easy
t3easy / .gitlab-ci.yml
Last active January 22, 2020 18:36
GitLab CI
cache:
# Use a cache for every branch and every stage
key: "$CI_COMMIT_REF_NAME/$CI_JOB_STAGE"
# Cache the path .cache within the project workspace
paths:
- .cache/
variables:
# Tell composer to save and load it's cache within the .cache folder
COMPOSER_CACHE_DIR: "$CI_PROJECT_DIR/.cache/composer"