View gist:9d052880af64d00793a619ad32c68c87
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"formtabs":"", | |
"contextmenus":"", | |
"actionbuttons":"", | |
"columnbuttons":"", | |
"filters":[ | |
{ | |
"MIGX_id":1, | |
"name":"categorie", | |
"label":"Kategorie", |
View custom-js.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Custom HTML at bottom --> | |
<script> | |
window.laytheme.on( "newpageshown", function( layoutObj, type, obj ) { | |
var akkordeonActiveClassName = "akkordeon--active", | |
akkordeonBtnEls = document.querySelectorAll("[href^='#akkordeon_']"); | |
akkordeonBtnEls.forEach( function( akkordeonBtnEl, i ) { | |
var akkordeonChildClass = akkordeonBtnEl.getAttribute("href").replace("#", ""), | |
akkordeonChildEls = document.querySelectorAll( "." + akkordeonChildClass ); | |
akkordeonBtnEl.addEventListener( "click", function( e ) { |
View dateconvert.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* dateConvert | |
* | |
* DESCRIPTION | |
* | |
* This Snippet convert DD.MM.YYYY to YYYY-MM-DD | |
* | |
* PROPERTIES: | |
* |
View csvparse.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* csvParse | |
* | |
* DESCRIPTION | |
* | |
* This Snippet parse CSV Data and return it to chunk | |
* | |
* PROPERTIES: | |
* |
View alphabeticalLetters.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* alphabeticalLetters | |
* | |
* DESCRIPTION | |
* | |
* This Snippet return alphabetical Letters from Collection | |
* | |
* PROPERTIES: | |
* |
View functions.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* embed SVG | |
* Example: <span>{{ "logo"|svg }}</span> | |
* | |
* @param \Twig\Environment $twig The Twig environment. | |
* @return \Twig\Environment | |
*/ | |
function twig_svg_embed($twig) | |
{ | |
$twig->addFilter( |
View .gitify
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data_directory: _gitify/ | |
backup_directory: _backup/ | |
packages: | |
modx.com: | |
service_url: http://rest.modx.com/extras/ | |
packages: | |
- pthumb | |
- pdotools | |
- collections | |
modmore.com: |
View instagramLatestPosts.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* instagramLatestPosts | |
* | |
* DESCRIPTION | |
* | |
* This Snippet return latest posts from Instagram as iframe embed. | |
* | |
* PROPERTIES: | |
* |
View aria-helper.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// hide tab focus if not needed | |
* { | |
&:focus, | |
&:-moz-focusring { | |
outline: 0 !important; | |
} | |
} | |
.focus-outline { |
View loopjson.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* loopJSON | |
* | |
* DESCRIPTION | |
* | |
* This Snippet loop a JSON Array. | |
* | |
* PROPERTIES: | |
* |
NewerOlder