Skip to content

Instantly share code, notes, and snippets.

View h3nn3s's full-sized avatar

Henrik Ziegenhain h3nn3s

View GitHub Profile
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<T3DataStructure>
<meta type="array">
<langDisable>1</langDisable>
</meta>
<sheets>
<general>
<ROOT type="array">
<TCEforms>
<sheetTitle>Spalten (normal)</sheetTitle>
@h3nn3s
h3nn3s / Modal.js
Last active March 31, 2016 08:39 — forked from ahoffmeyer/Modal.js
TYPO3 Modalbox with single content or full page selection using jQuery (working example for TYPO3 7 LTS)
(function(window, document, $) {
"use strict"
// Just for testing purposes this function triggers on all links
$('a').on('click', function(event) {
event.preventDefault();
// remove all existing modalboxes in DOM
@h3nn3s
h3nn3s / installTypo3.sh
Last active January 2, 2017 09:15
Bash-Script for installing latest TYPO3 sources and fetching things from github
#!/bin/bash
url="http://get.typo3.org/7"
target="t3latest.tar.gz"
workingdirectory=${PWD}
clear
echo "Getting the TYPO3 Sources from ${url}, writing to ${target}"
# get the sourcec
@h3nn3s
h3nn3s / lib.hreflang
Last active August 29, 2015 14:04
TYPO3 hreflang-Links via Sprach-Menü
lib.hreflang = HMENU
lib.hreflang {
special = language
special.value = 0,1,2
1 = TMENU
1 {
# Link zu nicht-aktiven Sprachen anzeigen
NO = 1
NO {
stdWrap.cObject = TEXT
@h3nn3s
h3nn3s / gist:d0c2015ff7fc4a7c438a
Created July 16, 2014 05:59
TYPO3 Gridelements with Flexform-Image
/*
* TypoScript
*/
# render headline
#tt_content.gridelements_pi1.10 = < lib.stdheader
tt_content.gridelements_pi1.20.10.setup {
1 < lib.gridelements.defaultGridSetup
1 {
columns {
1 < .default
@h3nn3s
h3nn3s / gist:728113b0a81975bd5449
Last active June 12, 2018 09:11
TYPO3 Gridelements with FLUIDTEMPLATE (3 columns)
/*
* TypoScript
*/
# render headline
#tt_content.gridelements_pi1.10 = < lib.stdheader
tt_content.gridelements_pi1.20.10.setup {
1 < lib.gridelements.defaultGridSetup
1 {
cObject = FLUIDTEMPLATE
cObject {