Skip to content

Instantly share code, notes, and snippets.

@misterboe
misterboe / MainViewHelper.php
Last active August 2, 2023 06:44
Using Vite in typo3 provider
<?php
declare(strict_types=1);
namespace Bo\Bvhs\ViewHelpers\Vite;
use B13\Assetcollector\AssetCollector;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Core\Utility\PathUtility;
use TYPO3Fluid\Fluid\Core\ViewHelper\AbstractViewHelper;
@misterboe
misterboe / Slickcarousel.html
Created September 26, 2016 08:25
Override Slickcarousel
<div xmlns="http://www.w3.org/1999/xhtml" lang="en"
xmlns:v="http://typo3.org/ns/FluidTYPO3/Vhs/ViewHelpers"
xmlns:f="http://xsd.helhum.io/ns/typo3/cms-fluid/master/ViewHelpers"
data-namespace-typo3-fluid="true">
<f:layout name="Default" />
<f:section name="Main">
<div class="slick-container">
<f:if condition="{v:variable.typoscript(path: 'plugin.tx_slickcarousel.slick_progressbar_expert')}">