Skip to content

Instantly share code, notes, and snippets.

View MattiasNilsson's full-sized avatar

Mattias Nilsson MattiasNilsson

View GitHub Profile
<html>
<head>
<title>TEST</title>
<script type="text/javascript" src="//code.jquery.com/jquery-1.11.1.min.js"></script>
</head>
<body>
<h1>TEST</h1>
<div id="myDiv">
PLAYER JONNAN!
<?php
declare(strict_types=1);
namespace Pixelant\PxaMedaT3kit\Hooks;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\FrontendEditing\EditingPanel\FrontendEditingDropzoneModifier;
use Pixelant\PxaMedaT3kit\Xclass\FrontendEditing\Service\ContentEditableWrapperService;
/**
(function(w, $) {
var F = w.parent.F;
w.parent.F.dropGridCe = dropGridCe;
w.parent.F.moveRecordInGrid = moveRecordInGrid;
w.parent.F.dragCeInsideGridStart = dragCeInsideGridStart;
// Custom function for grid elements
// Only for move action
function dropGridCe(ev) {
public function lazyListAction() {
$options = array(
'cachePolicy' => $this->cachePolicy,
'cache' => $this->cache
);
$this->qbankApiCredentials = new \QBNK\QBank\API\Credentials(
$this->settings['qbank']['api_key'],
$args['user'],
@MattiasNilsson
MattiasNilsson / gateway-billmate.php
Created March 27, 2020 09:39
gateway-billmate.php
<?php
/*
Plugin Name: Billmate Payment Gateway for WooCommerce
Plugin URI: http://woothemes.com/woocommerce
Description: Receive payments on your WooCommerce store via Billmate. Invoice, partpayment, credit/debit card and direct bank transfers. Secure and 100&#37; free plugin.
Version: __STABLE_TAG__
Author: Billmate
Text Domain: billmate
Author URI: https://billmate.se
Domain Path: /languages/
@MattiasNilsson
MattiasNilsson / Detail.html
Created February 24, 2021 10:57
Content editable view for News Detail in Frontend Editing for TYPO3 (news/Resources/Private/Templates/News/Detail.html)
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
xmlns:n="http://typo3.org/ns/GeorgRinger/News/ViewHelpers"
xmlns:rx="http://typo3.org/ns/Reelworx/RxShariff/ViewHelper"
data-namespace-typo3-fluid="true">
<f:layout name="Detail" />
<!--
=====================
News/Detail.html