Skip to content

Commit

Permalink
Merge pull request #1 from t3solution/4.4.0
Browse files Browse the repository at this point in the history
4.4.0
  • Loading branch information
t3solution authored Dec 30, 2019
2 parents 024c67e + 6517d2b commit 3d1a99c
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 18 deletions.
14 changes: 7 additions & 7 deletions Classes/ViewHelpers/SplitFileRefViewHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,16 +69,16 @@ public static function renderStatic(array $arguments, \Closure $renderChildrenCl
if (!($file instanceof FileInterface || $file instanceof AbstractFileFolder)) {
throw new \UnexpectedValueException('Supplied file object type ' . get_class($file) . ' must be FileInterface or AbstractFileFolder.', 1563891998);
}

$fileParts = GeneralUtility::split_fileref($file->getPublicUrl());

$image= $fileParts['path'].$fileParts['filebody'].'.jpg';
$fileParts['imgext'] = 'jpg';
$image= $fileParts['path'].$fileParts['filebody'].'.jpg';
$fileParts['imgext'] = 'jpg';

if (!file_exists($image)) {
$image= $fileParts['path'].$fileParts['filebody'].'.png';
$fileParts['imgext'] = 'png';
}
if (!file_exists($image)) {
$image= $fileParts['path'].$fileParts['filebody'].'.png';
$fileParts['imgext'] = 'png';
}

$templateVariableContainer->add($arguments['as'], $fileParts);
$content = $renderChildrenClosure();
Expand Down
11 changes: 0 additions & 11 deletions Resources/Public/Contrib/Fontawesome/css/fontawesomeProLink.css
Original file line number Diff line number Diff line change
Expand Up @@ -84,17 +84,6 @@
src: url("../../../../../../../../../fileadmin/T3SB/FA5Pro/webfonts/fa-duotone-900.eot?#iefix") format("embedded-opentype"), url("../../../../../../../../../fileadmin/T3SB/FA5Pro/webfonts/fa-duotone-900.woff2") format("woff2"), url("../../../../../../../../../fileadmin/T3SB/FA5Pro/webfonts/fa-duotone-900.woff") format("woff"), url("../../../../../../../../../fileadmin/T3SB/FA5Pro/webfonts/fa-duotone-900.ttf") format("truetype"), url("../../../../../../../../../fileadmin/T3SB/FA5Pro/webfonts/fa-duotone-900.svg#fontawesome") format("svg"); }



.fad::before {
--fa-primary-color: var(--primary);
--fa-primary-opacity: 1;
}
.fad::after {
--fa-secondary-color: var(--secondary);
--fa-secondary-opacity: 0.3;
}


.fad {
position: relative;
font-family: 'Font Awesome 5 Duotone';
Expand Down
30 changes: 30 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# TYPO3 Extension ``t3sbootstrap``

[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.me/t3sbootstrap)
[![Latest Stable Version](https://poser.pugx.org/t3sbs/t3sbootstrap/v/stable)](https://packagist.org/packages/t3sbs/t3sbootstrap)
[![Monthly Downloads](https://poser.pugx.org/t3sbs/t3sbootstrap/d/monthly)](https://packagist.org/packages/t3sbs/t3sbootstrap)
[![License](https://poser.pugx.org/t3sbs/t3sbootstrap/license)](https://packagist.org/packages/t3sbs/t3sbootstrap)

> Startup extension to use bootstrap 4 classes, components and more out of the box.
## 1. Usage


### 1) Installation

#### Installation using Composer

The recommended way to install the extension is by using Composer. In your Composer based TYPO3 project root, just do `composer require t3sbs/t3sbootstrap`.

#### Installation as extension from TYPO3 Extension Repository (TER)

Download and install the extension with the extension manager module.
The following extensions must be installed before: gridelements min. v.9.3.0 & ws_scss min. v.1.1.12

### 2) Minimal setup

1) Include the static TypoScript of the extension.
2) Delete the default PAGE object from your Setup.
3) Create a configuration with the BE-Modul "T3SB Config" on the root page.

More infos & demos (german only): https://www.t3sbootstrap.de/

0 comments on commit 3d1a99c

Please sign in to comment.