Skip to content

Instantly share code, notes, and snippets.

@sebastianschrama
sebastianschrama / ImagesInside100PercentCol.html
Last active March 15, 2019 12:18
Responsive Images mit TYPO3 7.6 und Fluid Styled Content (FSC) unter Berücksichtigung mehrspaltiger Layouts
{namespace v=FluidTYPO3\Vhs\ViewHelpers}
<f:if condition="{verticalPosition} == 'intext'">
<f:then>
<f:if condition="{columnCount} == '1'">
<f:then>
<f:comment>1 col</f:comment>
<v:media.image
src="{column.media}"
width="400"
@sebastianschrama
sebastianschrama / breadcrumb.ts
Created February 8, 2016 14:03
Breadcrumb Navigation for TYPO3
//breadcrumb navigation
lib.breadcrumb = HMENU
lib.breadcrumb {
special = rootline
special.range = 0|-1
includeNotInMenu = 1
1 = TMENU
1 {
wrap = <ul class="breadcrumb__list" xmlns:v="http://rdf.data-vocabulary.org/#">|</ul>
@sebastianschrama
sebastianschrama / photoswipe.ts
Created January 28, 2016 15:42
Photoswipe Integration for TYPO3
//photoswipe
tt_content.image.20.1.imageLinkWrap {
JSwindow = 0
directImageLink = 1
linkParams.ATagParams {
dataWrap = data-size="{TSFE:lastImgResourceInfo|0}x{TSFE:lastImgResourceInfo|1}" class="photoswipe"
}
height =
width =
}