Skip to content

Instantly share code, notes, and snippets.

<?php
namespace Bk2k\Client\Slots;
/**
* 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.
*
@birger-fuehne
birger-fuehne / RteHtmlParser.php
Created July 14, 2016 17:15 — forked from spoonerWeb/RteHtmlParser.php
Use wildcard in allowedClasses RTE
<?php
namespace Vendor\ExtensionKey\Html;
/**
* 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.
*
* For the full copyright and license information, please read the
@birger-fuehne
birger-fuehne / MenuUtility.php
Created January 13, 2017 08:20 — forked from mhuber84/MenuUtility.php
Set USERDEF1 (or USERDEF2) in a language menu on record detail pages if the record is not translated. #TYPO3
<?php
namespace BGM\BgmTheme\Utility;
/*
* 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.
*
@birger-fuehne
birger-fuehne / FluidTemplate.html
Created January 25, 2017 10:06 — forked from helhum/FluidTemplate.html
Focus area View Helper
<a href="#"
class="lazyload fullscreen random-gallery"
id="js-random-image"
data-random-images="{h:homePageTeaserImages(
images: object.images,
breakPointConfiguration: {
300: '{maxWidth: \'300\', maxHeight: \'300\'}',
1000: '{maxWidth: \'1000\', maxHeight: \'1000\'}',
1900: '{maxWidth: \'1900\', maxHeight: \'1900\'}'}
) -> f:format.htmlspecialchars()}"