Skip to content

Instantly share code, notes, and snippets.

I’m sweet and fuzzy, like a lollipop on the carpet.

Tim Filler elricco

I’m sweet and fuzzy, like a lollipop on the carpet.
Block or report user

Report or block elricco

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
elricco / redaxo-ooops-page.html
Created Nov 3, 2018
Responsive layout for OOOPS Page for REDAXO
View redaxo-ooops-page.html
<!doctype html>
<html lang="en">
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Ooops, something went wrong!</title>
<style type="text/css">
View placeElementsinFullinContainer.js
$(function() {
function fullpageElement($indicator, $selector) {
let indicatorHeight = $indicator.height();
let indicatorWidth = $indicator.width();
let indicator = indicatorHeight;
let $selectedElement = $selector;
if((100 * indicatorHeight) / indicatorWidth < 56.25) {
indicator = indicatorWidth;
View tablesaw-bar-sticky.jquery.js
//this is specific for sonata admin - but can be tweaked for other purposes
//was to lazy to write a class
$(function () {
window.setTimeout(function () {
var elementExists = !!document.getElementsByClassName('.tablesaw-bar');
if(elementExists) {
}, 100);

Braucht das Bild eine Transparenz? Ja => PNG / Nein => JPG

Bildgröße dem Verwendungszweck anpassen (optimalstens nur so groß, wie es maximal benötigt wird)

  • Dateinamen IMMER beschreibend und mit Projektname versehen für Google

  • Dateinamen IMMER klein

  • Umlaute ersetzen - also ß = ss, ä = ae, etc.

  • Leerstellen durch _ oder - ersetzen (- "verbinden" _ "trennen")

  • Ich nutze immer NameChanger um Sequenzen von Bildern umzubenennen

elricco / JS
Last active Mar 30, 2017
View JS
View Sammeln der JavaScript Ausgabe.js
var elricco = {};
elricco.funcs = [];
<?php if (!rex::isBackend()): ?>
elricco / Markup.html
Last active Apr 8, 2017
Transform Bookatable Booking Table
View Markup.html
<div class="reservierung-kalender" id="bookingTableWrapper">
<!-- Start Bookatable Code -->
<script type="text/javascript" src=""></script>
<script type="text/javascript">
language: "de-DE",
jQuery(function () {
setTimeout(transformLBD, 10);
elricco / ckeditor.preview-action.js
Last active Nov 2, 2015
Aktion für den CKEditor - das JavaScript auslagern // Action for the CKEditor - outsource the JavaScript // REDAXO 4.6.1 // Bootstrap Typography Styles
View ckeditor.preview-action.js
<script type="text/javascript">
//Diesen Code als PREVIEW-ACTION ADD+EDIT an Textmodule hängen, die mit dem CK-Texteditor arbeiten:
//This Code as PREVIEW-ACTION ADD+EDIT linked to modules using the CKEDitor
jQuery(document).ready(function($) {
$('.editors').each(function() {
var id = $(this).attr('id');
CKEDITOR.replace(id, {
height: 400,
fillEmptyBlocks: false,
forcePasteAsPlainText: false,
elricco / module.rexnames.input-output.php
Last active Nov 2, 2015
REXNames zum erweitern der VALUES von REDAXO // REXNames to enhance the VALUES of REDAXO // REDAXO 4.6.1
View module.rexnames.input-output.php
//Im zu verwenden Modul dann folgenden Code in die Eingabe UND die Ausgabe ganz oben integrieren:
//Put this code on top of the used module - INPUT and OUTPUT
// REXNames zur Erweiterung der Values - REX_VALUE[20] blockiert
// REXNames to enhance the Values - REX_VALUE[20] blocked
$rexname = unserialize (urldecode ("REX_VALUE[20]"));
You can’t perform that action at this time.